#include <kprefsdialog.h>
Public Member Functions | |
KPrefsWidFont (TDEConfigSkeleton::ItemFont *item, TQWidget *parent, const TQString &sampleText) | |
~KPrefsWidFont () | |
TQLabel * | label () |
TQFrame * | preview () |
TQPushButton * | button () |
void | readConfig () |
void | writeConfig () |
Public Member Functions inherited from KPrefsWid | |
virtual TQValueList< TQWidget * > | widgets () const |
Protected Slots | |
void | selectFont () |
Additional Inherited Members | |
Signals inherited from KPrefsWid | |
void | changed () |
Detailed Description
Widgets for font settings in KPrefsDialog.
This class provides a control element for configuring font values. It is meant to be used by KPrefsDialog. The user is responsible for the layout management.
Definition at line 322 of file kprefsdialog.h.
Constructor & Destructor Documentation
◆ KPrefsWidFont()
KPrefsWidFont::KPrefsWidFont | ( | TDEConfigSkeleton::ItemFont * | item, |
TQWidget * | parent, | ||
const TQString & | sampleText | ||
) |
Create a font value control element consisting of a test field and a button for opening a font dialog.
- Parameters
-
item The TDEConfigSkeletonItem representing the preferences entry. parent Parent widget. sampleText Sample text for previewing the selected font.
Definition at line 225 of file kprefsdialog.cpp.
◆ ~KPrefsWidFont()
KPrefsWidFont::~KPrefsWidFont | ( | ) |
Destruct font setting widget.
Definition at line 243 of file kprefsdialog.cpp.
Member Function Documentation
◆ button()
TQPushButton * KPrefsWidFont::button | ( | ) |
Return button opening the font dialog.
Definition at line 267 of file kprefsdialog.cpp.
◆ label()
TQLabel * KPrefsWidFont::label | ( | ) |
Return TQLabel.
Definition at line 257 of file kprefsdialog.cpp.
◆ preview()
TQFrame * KPrefsWidFont::preview | ( | ) |
Return TQFrame used as preview field.
Definition at line 262 of file kprefsdialog.cpp.
◆ readConfig()
|
virtual |
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 247 of file kprefsdialog.cpp.
◆ writeConfig()
|
virtual |
This function is called to write the current setting of the widget to the stored configuration.
Implements KPrefsWid.
Definition at line 252 of file kprefsdialog.cpp.
The documentation for this class was generated from the following files: