Public Functions
QLThemeComboBox(QWidget* parent = nullptr) | |
void | add_theme(LTheme* theme, bool set_as_current_index = false) |
void | clear() |
Protected Functions
virtual bool | eventFilter(QObject* object, QEvent* event) override |
virtual void | paintEvent(QPaintEvent* event) override |
Detailed Description
A QLThemeComboBox is a QLComboBox that displays a list of LTheme items for the user to switch between.
Each item displays two pieces of theme metadata: the theme's name and its UUID. The default Layers themes, Dark and Light, do not display a UUID.
QLThemeComboBoxItemDelegate was created to serve as the default item delegate for QLThemeComboBox.