18 explicit SAColorMenu(
const QString& title, QWidget* parent =
nullptr);
23 QWidgetAction* themeColorsPaletteAction()
const;
25 QWidgetAction* getCustomColorsWidgetAction()
const;
27 QAction* customColorAction()
const;
33 void enableNoneColorAction(
bool on =
true);
35 QAction* noneColorAction()
const;
38 void emitSelectedColor(
const QColor& c);
46 void onCustomColorActionTriggered(
bool on);
47 void onNoneColorActionTriggered(
bool on);
50 void init(
const QList< QColor >& themeCls);