Changeset View
Changeset View
Standalone View
Standalone View
src/widgets/colorselectors/colorselector.h
Show All 14 Lines | |||||
15 | * along with this program; if not, write to the * | 15 | * along with this program; if not, write to the * | ||
16 | * Free Software Foundation, Inc., * | 16 | * Free Software Foundation, Inc., * | ||
17 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * | 17 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * | ||
18 | *********************************************************************************/ | 18 | *********************************************************************************/ | ||
19 | 19 | | |||
20 | #ifndef COLOR_SELECTOR_H | 20 | #ifndef COLOR_SELECTOR_H | ||
21 | #define COLOR_SELECTOR_H | 21 | #define COLOR_SELECTOR_H | ||
22 | 22 | | |||
23 | #include <QtGui/QWidget> | 23 | #include <QWidget> | ||
24 | 24 | | |||
25 | class ColorSelector : public QWidget | 25 | class ColorSelector : public QWidget | ||
26 | { | 26 | { | ||
27 | Q_OBJECT | 27 | Q_OBJECT | ||
28 | 28 | | |||
29 | public: | 29 | public: | ||
30 | ColorSelector(QWidget * parent = 0); | 30 | ColorSelector(QWidget * parent = 0); | ||
31 | 31 | | |||
32 | public slots: | 32 | public slots: | ||
33 | virtual void setColor(const QColor & color); | 33 | virtual void setColor(const QColor & color); | ||
34 | 34 | | |||
35 | signals: | 35 | signals: | ||
36 | void colorSelected(const QColor & color); | 36 | void colorSelected(const QColor & color); | ||
37 | }; | 37 | }; | ||
38 | 38 | | |||
39 | #endif // COLOR_SELECTOR_H | 39 | #endif // COLOR_SELECTOR_H |