26 explicit SAColorMenu(
const QString& title, QWidget* parent =
nullptr);
32 QWidgetAction* themeColorsPaletteAction()
const;
34 QWidgetAction* getCustomColorsWidgetAction()
const;
36 QAction* customColorAction()
const;
42 void enableNoneColorAction(
bool on =
true);
44 QAction* noneColorAction()
const;
47 void emitSelectedColor(
const QColor& c);
62 void onCustomColorActionTriggered(
bool on);
63 void onNoneColorActionTriggered(
bool on);
66 void init(
const QList< QColor >& themeCls);