File: colorbutton.h

package info (click to toggle)
lxqt-panel 2.2.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 16,076 kB
  • sloc: cpp: 27,654; xml: 798; makefile: 19
file content (23 lines) | stat: -rw-r--r-- 306 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef COLORBUTTON_H
#define COLORBUTTON_H

#include <QToolButton>


class QColor;
class QPaintEvent;


class ColorButton : public QToolButton
{
    public:

        void paintEvent(QPaintEvent* event);
        void setColor(QColor color);

    private:

        QColor color;
};

#endif // COLORBUTTON_H