Public Functions
QLThemeCreatorDialog(QWidget* parent = nullptr) |
Slots
virtual int | exec() override |
Detailed Description
A QLThemeCreatorDialog is a QLDialog that provides an interface for creating a new LTheme.
The dialog contains a QLLineEditor for the user to enter the new theme's name. It also contains a QLThemeComboBox for the user to select the parent theme that the new theme will inherit from. The parent theme will become part of the new theme's lineage.
There is a QLButton labeled 'Create' that creates the new theme when clicked. The new theme is also set as the active theme.
Member Function Documentation
QLThemeCreatorDialog(QWidget* parent = nullptr)
Constructs a theme creator dialog.
int exec()
Virtual
Override
Slot
Shows the dialog as a modal dialog, blocking until the user closes it. The function returns a DialogCode result.
This function overrides QDialog::exec() to give the Name Editor focus before QDialog handles the call.