Konsole
#include <ColorSchemeEditor.h>
Public Slots | |
void | setDescription (const QString &description) |
Signals | |
void | colorsChanged (ColorScheme *scheme) |
void | colorSchemeSaveRequested (const ColorScheme &scheme, bool isNewScheme) |
Public Member Functions | |
ColorSchemeEditor (QWidget *parent=0) | |
virtual | ~ColorSchemeEditor () |
ColorScheme & | colorScheme () const |
bool | isNewScheme () const |
void | setup (const ColorScheme *scheme, bool isNewScheme) |
Detailed Description
A dialog for editing color schemes.
After creation, the dialog can be initialized with the settings of a color scheme using the setup() method.
The dialog creates a copy of the supplied color scheme to which any changes made are applied. The modified color scheme can be retrieved using the colorScheme() method.
When changes are made the colorsChanged() signal is emitted.
Definition at line 55 of file ColorSchemeEditor.h.
Constructor & Destructor Documentation
|
explicit |
Constructs a new color scheme editor with the specified parent.
Definition at line 48 of file ColorSchemeEditor.cpp.
|
virtual |
Definition at line 126 of file ColorSchemeEditor.cpp.
Member Function Documentation
|
signal |
Emitted when the colors in the color scheme change.
ColorScheme & ColorSchemeEditor::colorScheme | ( | ) | const |
Returns the modified color scheme.
Definition at line 258 of file ColorSchemeEditor.cpp.
|
signal |
Used to send back colorscheme changes into the profile edited.
bool ColorSchemeEditor::isNewScheme | ( | ) | const |
Definition at line 262 of file ColorSchemeEditor.cpp.
|
slot |
Sets the text displayed in the description edit field.
Definition at line 177 of file ColorSchemeEditor.cpp.
void ColorSchemeEditor::setup | ( | const ColorScheme * | scheme, |
bool | isNewScheme | ||
) |
Initializes the dialog with the properties of the specified color scheme.
Definition at line 196 of file ColorSchemeEditor.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat May 9 2020 03:56:27 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.