A widget for editing themes.
More...
#include <theme_editor.h>
|
| void | themeChanged (const oclero::qlementine::Theme &theme) |
| | Emitted when the theme is changed.
|
| void | themeSaved (const QString &path, const oclero::qlementine::Theme &theme) |
| | Emitted when a theme is saved.
|
| void | themeLoaded (const QString &path, const oclero::qlementine::Theme &theme) |
| | Emitted when a theme is loaded.
|
A widget for editing themes.
◆ ThemeEditorWidget()
| oclero::qlementine::ThemeEditorWidget::ThemeEditorWidget |
( |
QWidget * | parent = nullptr | ) |
|
|
explicit |
◆ setDefaultPath()
| void oclero::qlementine::ThemeEditorWidget::setDefaultPath |
( |
const QString & | savePath | ) |
|
Sets the default save path for themes.
- Parameters
-
| savePath | The default save path. |
◆ setTheme()
| void oclero::qlementine::ThemeEditorWidget::setTheme |
( |
const Theme & | theme | ) |
|
Sets a new theme.
- Parameters
-
| theme | The new theme to set. |
◆ theme()
| const Theme & oclero::qlementine::ThemeEditorWidget::theme |
( |
| ) |
const |
Gets the current theme.
- Returns
- const Theme& The current theme.
◆ themeChanged
| void oclero::qlementine::ThemeEditorWidget::themeChanged |
( |
const oclero::qlementine::Theme & | theme | ) |
|
|
signal |
Emitted when the theme is changed.
- Parameters
-
◆ themeLoaded
| void oclero::qlementine::ThemeEditorWidget::themeLoaded |
( |
const QString & | path, |
|
|
const oclero::qlementine::Theme & | theme ) |
|
signal |
Emitted when a theme is loaded.
- Parameters
-
| path | The load path. |
| theme | The loaded theme. |
◆ themeSaved
| void oclero::qlementine::ThemeEditorWidget::themeSaved |
( |
const QString & | path, |
|
|
const oclero::qlementine::Theme & | theme ) |
|
signal |
Emitted when a theme is saved.
- Parameters
-
| path | The save path. |
| theme | The saved theme. |
The documentation for this class was generated from the following files:
- /__w/maki/maki/app/widgets/theme_editor.h
- /__w/maki/maki/app/widgets/theme_editor.cpp