ColorThemeComboBox¶
-
class
ColorThemeComboBox
: public QComboBox¶ The ColorThemeComboBox class provides combobox with Cutter color themes.
Public Functions
-
ColorThemeComboBox
(QWidget *parent = nullptr)¶
-
void
setShowOnlyCustom
(bool value)¶ setShowOnlyCustom sets whether or not combobox should contain only custom themes (created by user or imported) or custom and srandard rizin themes.
Public Slots
-
void
updateFromConfig
(bool interfaceThemeChanged = false)¶ updateFromConfig updates list of themes to be shown.
- Parameters
interfaceThemeChanged
: should be set to true if the interface theme of Cutter was changed since the last call to the function. This will preserve the selected item in the combo box.
-