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