1 #ifndef WIDGETS_COLORBUTTON_H 2 #define WIDGETS_COLORBUTTON_H 17 Q_PROPERTY(
bool backgroundCheckered READ isBackgroundCheckered WRITE setBackgroundCheckered)
22 bool isBackgroundCheckered()
const;
23 void setBackgroundCheckered(
bool checkered);
28 void setColor(
const QColor &color);
31 void colorChanged(
const QColor &color);
34 void paintEvent(QPaintEvent *event);
35 void mousePressEvent(QMouseEvent *event);
36 void mouseMoveEvent(QMouseEvent *event);
37 #ifndef QT_NO_DRAGANDDROP 38 void dragEnterEvent(QDragEnterEvent *event);
39 void dragLeaveEvent(QDragLeaveEvent *event);
40 void dropEvent(QDropEvent *event);
44 QScopedPointer<class ColorButtonPrivate> d_ptr;
47 Q_PRIVATE_SLOT(d_func(),
void slotEditColor())
51 #endif // WIDGETS_COLORBUTTON_H
#define QT_UTILITIES_EXPORT
Marks the symbol to be exported by the qtutilities library.