23 Q_PROPERTY(
int spacing READ spacing WRITE setSpacing)
31 void setColumnCount(
int c);
32 int columnCount()
const;
34 void setColorList(
const QList< QColor >& cls);
35 QList< QColor > getColorList()
const;
38 void setSpacing(
int v);
40 int colorCount()
const;
42 void setColorIconSize(
const QSize& s);
43 QSize colorIconSize()
const;
45 void setColorCheckable(
bool on =
true);
46 bool isColorCheckable()
const;
48 QColor currentCheckedColor()
const;
52 void setVerticalSpacing(
int v);
53 int verticalSpacing()
const;
55 void setHorizontalSpacing(
int v);
56 int horizontalSpacing()
const;
58 void clearCheckedState();
60 void iterationColorBtns(FunColorBtn fn);
62 void setRowMinimumHeight(
int row,
int minSize);
64 void setHorizontalSpacerToRight(
bool on =
true);
66 void onButtonClicked(QAbstractButton* btn);
67 void onButtonPressed(QAbstractButton* btn);
68 void onButtonReleased(QAbstractButton* btn);
69 void onButtonToggled(QAbstractButton* btn,
bool on);
78 void colorPressed(
const QColor& c);
79 void colorReleased(
const QColor& c);
80 void colorToggled(
const QColor& c,
bool on);
83 virtual QSize sizeHint() const Q_DECL_OVERRIDE;