Konsole
Konsole::ColorSchemeEditor Class Reference
#include <ColorSchemeEditor.h>

Detailed Description
A dialog for editing color schemes.After creation, the dialog can be initialised 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 53 of file ColorSchemeEditor.h.
Public Slots | |
void | setDescription (const QString &description) |
Signals | |
void | colorsChanged (ColorScheme *scheme) |
Public Member Functions | |
ColorScheme * | colorScheme () const |
ColorSchemeEditor (QWidget *parent=0) | |
void | setup (const ColorScheme *scheme) |
virtual | ~ColorSchemeEditor () |
Constructor & Destructor Documentation
ColorSchemeEditor::ColorSchemeEditor | ( | QWidget * | parent = 0 |
) |
Constructs a new color scheme editor with the specified parent.
Definition at line 56 of file ColorSchemeEditor.cpp.
ColorSchemeEditor::~ColorSchemeEditor | ( | ) | [virtual] |
Definition at line 111 of file ColorSchemeEditor.cpp.
Member Function Documentation
void Konsole::ColorSchemeEditor::colorsChanged | ( | ColorScheme * | scheme | ) | [signal] |
Emitted when the colors in the color scheme change.
ColorScheme * ColorSchemeEditor::colorScheme | ( | ) | const |
void ColorSchemeEditor::setDescription | ( | const QString & | description | ) | [slot] |
Sets the text displayed in the description edit field.
Definition at line 135 of file ColorSchemeEditor.cpp.
void ColorSchemeEditor::setup | ( | const ColorScheme * | scheme | ) |
Initialises the dialog with the properties of the specified color scheme.
Definition at line 150 of file ColorSchemeEditor.cpp.
The documentation for this class was generated from the following files: