KPrefsWidColor Class Reference
Widgets for color settings in KPrefsDialog. More...
#include <kprefsdialog.h>
Inheritance diagram for KPrefsWidColor:

Public Methods | |
KPrefsWidColor (KConfigSkeleton::ItemColor *item, QWidget *parent) | |
~KPrefsWidColor () | |
QLabel * | label () |
KColorButton * | button () |
void | readConfig () |
void | writeConfig () |
Detailed Description
Widgets for color settings in KPrefsDialog.This class provides a control element for configuring color values. It is meant to be used by KPrefsDialog. The user is responsible for the layout management.
Definition at line 192 of file kprefsdialog.h.
Constructor & Destructor Documentation
|
Create a color value control element consisting of a test field and a button for opening a color dialog.
Definition at line 173 of file kprefsdialog.cpp. References QWhatsThis::add(), KPrefsWid::changed(), QObject::connect(), QString::isNull(), and QObject::parent(). |
|
Destruct color setting widget.
Definition at line 186 of file kprefsdialog.cpp. |
Member Function Documentation
|
Return QLabel for the button.
Definition at line 201 of file kprefsdialog.cpp. |
|
Return button opening the color dialog.
Definition at line 206 of file kprefsdialog.cpp. |
|
This function is called to read value of the setting from the stored configuration and display it in the widget.
Implements KPrefsWid. Definition at line 191 of file kprefsdialog.cpp. |
|
This function is called to write the current setting of the widget to the stored configuration.
Implements KPrefsWid. Definition at line 196 of file kprefsdialog.cpp. |
The documentation for this class was generated from the following files: