38 Q_PROPERTY(QBrush brush READ getBrush WRITE setBrush)
39 Q_PROPERTY(
bool showAlphaChannel READ getShowAlphaChannel WRITE setShowAlphaChannel)
46 QSize sizeHint()
const;
47 QBrush getBrush()
const;
48 bool getShowAlphaChannel()
const;
51 virtual void paintEvent(QPaintEvent* event);
54 QScopedPointer<BrushCreatorButtonPrivate> d_ptr;
56 void onToggled(
bool change =
true);
60 void setBrush(
const QBrush &brush);
62 void setShowAlphaChannel(
bool showAlphaChannel);