KDecorationOptions Class Reference
This class holds various configuration settings for the decoration. More...
#include <kdecoration.h>
Inheritance diagram for KDecorationOptions:


Public Member Functions | |
const QColor & | color (ColorType type, bool active=true) const |
const QColorGroup & | colorGroup (ColorType type, bool active=true) const |
const QFont & | font (bool active=true, bool small=false) const |
bool | customButtonPositions () const |
QString | titleButtonsLeft () const |
QString | titleButtonsRight () const |
bool | showTooltips () const |
BorderSize | preferredBorderSize (KDecorationFactory *factory) const |
bool | moveResizeMaximizedWindows () const |
virtual unsigned long | updateSettings ()=0 |
Protected Attributes | |
KDecorationOptionsPrivate * | d |
Detailed Description
This class holds various configuration settings for the decoration.It is accessible from the decorations either as KDecoration::options() or KDecorationFactory::options().
- Since:
- 3.2
Definition at line 167 of file kdecoration.h.
Member Function Documentation
|
Returns the color that should be used for the given part of the decoration. The changed flags for this setting is SettingColors.
Definition at line 374 of file kdecoration.cpp. |
|
Returns a colorgroup using the given decoration color as the background. The changed flags for this setting is SettingColors.
Definition at line 387 of file kdecoration.cpp. |
|
Returns the active or inactive decoration font. The changed flags for this setting is SettingFont.
Definition at line 379 of file kdecoration.cpp. |
|
Returns true if the style should use custom button positions The changed flags for this setting is SettingButtons.
Definition at line 399 of file kdecoration.cpp. |
|
If customButtonPositions() returns true, titleButtonsLeft returns which buttons should be on the left side of the titlebar from left to right. Characters in the returned string have this meaning :
Definition at line 404 of file kdecoration.cpp. |
|
If customButtonPositions() returns true, titleButtonsRight returns which buttons should be on the right side of the titlebar from left to right. Characters in the return string have the same meaning like in titleButtonsLeft(). The default ( which is also returned if customButtonPositions returns false ) is "HIAX". The changed flags for this setting is SettingButtons. Definition at line 409 of file kdecoration.cpp. |
|
Definition at line 414 of file kdecoration.cpp. |
|
The preferred border size selected by the user, e.g. for accessibility reasons, or when using high resolution displays. It's up to the decoration to decide which borders or if any borders at all will obey this setting. It is guaranteed that the returned value will be one of those returned by KDecorationFactory::borderSizes(), so if that one hasn't been reimplemented, BorderNormal is always returned. The changed flags for this setting is SettingBorder.
Definition at line 419 of file kdecoration.cpp. |
The documentation for this class was generated from the following files: