KWin
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
Aurorae::ThemeConfig Class Reference

#include <themeconfig.h>

Public Member Functions

 ThemeConfig ()
 
void load (const KConfig &conf)
 
 ~ThemeConfig ()
 
QColor activeTextColor (bool useTabs=false, bool focused=true) const
 
QColor inactiveTextColor (bool useTabs=false, bool focused=true) const
 
QColor activeTextShadowColor () const
 
QColor inactiveTextShadowColor () const
 
int textShadowOffsetX () const
 
int textShadowOffsetY () const
 
bool useTextShadow () const
 
bool haloActive () const
 
bool haloInactive () const
 
Qt::Alignment alignment () const
 
Qt::Alignment verticalAlignment () const
 
int animationTime () const
 
int borderLeft () const
 
int borderRight () const
 
int borderBottom () const
 
int borderTop () const
 
int titleEdgeTop () const
 
int titleEdgeBottom () const
 
int titleEdgeLeft () const
 
int titleEdgeRight () const
 
int titleEdgeTopMaximized () const
 
int titleEdgeBottomMaximized () const
 
int titleEdgeLeftMaximized () const
 
int titleEdgeRightMaximized () const
 
int titleBorderLeft () const
 
int titleBorderRight () const
 
int titleHeight () const
 
int buttonWidth () const
 
int buttonWidthMinimize () const
 
int buttonWidthMaximizeRestore () const
 
int buttonWidthClose () const
 
int buttonWidthAllDesktops () const
 
int buttonWidthKeepAbove () const
 
int buttonWidthKeepBelow () const
 
int buttonWidthShade () const
 
int buttonWidthHelp () const
 
int buttonWidthMenu () const
 
int buttonWidthAppMenu () const
 
int buttonHeight () const
 
int buttonSpacing () const
 
int buttonMarginTop () const
 
int explicitButtonSpacer () const
 
int paddingLeft () const
 
int paddingRight () const
 
int paddingTop () const
 
int paddingBottom () const
 
bool shadow () const
 
int decorationPosition () const
 

Static Public Member Functions

static QColor defaultActiveTextColor ()
 
static QColor defaultActiveFocusedTextColor ()
 
static QColor defaultActiveUnfocusedTextColor ()
 
static QColor defaultInactiveTextColor ()
 
static QColor defaultInactiveFocusedTextColor ()
 
static QColor defaultInactiveUnfocusedTextColor ()
 
static QColor defaultActiveTextShadowColor ()
 
static QColor defaultInactiveTextShadowColor ()
 
static int defaultTextShadowOffsetX ()
 
static int defaultTextShadowOffsetY ()
 
static bool defaultUseTextShadow ()
 
static bool defaultHaloActive ()
 
static bool defaultHaloInactive ()
 
static Qt::Alignment defaultAlignment ()
 
static Qt::Alignment defaultVerticalAlignment ()
 
static int defaultBorderLeft ()
 
static int defaultBorderRight ()
 
static int defaultBorderBottom ()
 
static int defaultBorderTop ()
 
static int defaultTitleEdgeTop ()
 
static int defaultTitleEdgeBottom ()
 
static int defaultTitleEdgeLeft ()
 
static int defaultTitleEdgeRight ()
 
static int defaultTitleEdgeTopMaximized ()
 
static int defaultTitleEdgeBottomMaximized ()
 
static int defaultTitleEdgeLeftMaximized ()
 
static int defaultTitleEdgeRightMaximized ()
 
static int defaultTitleBorderLeft ()
 
static int defaultTitleBorderRight ()
 
static int defaultTitleHeight ()
 
static int defaultButtonWidth ()
 
static int defaultButtonWidthMinimize ()
 
static int defaultButtonWidthMaximizeRestore ()
 
static int defaultButtonWidthClose ()
 
static int defaultButtonWidthAllDesktops ()
 
static int defaultButtonWidthKeepAbove ()
 
static int defaultButtonWidthKeepBelow ()
 
static int defaultButtonWidthShade ()
 
static int defaultButtonWidthHelp ()
 
static int defaultButtonWidthMenu ()
 
static int defaultButtonWidthAppMenu ()
 
static int defaultButtonHeight ()
 
static int defaultButtonSpacing ()
 
static int defaultButtonMarginTop ()
 
static int defaultExplicitButtonSpacer ()
 
static int defaultPaddingLeft ()
 
static int defaultPaddingRight ()
 
static int defaultPaddingTop ()
 
static int defaultPaddingBottom ()
 
static int defaultAnimationTime ()
 
static bool defaultShadow ()
 
static int defaultDecorationPosition ()
 

Detailed Description

Definition at line 17 of file themeconfig.h.

Constructor & Destructor Documentation

◆ ThemeConfig()

Aurorae::ThemeConfig::ThemeConfig ( )

Definition at line 17 of file themeconfig.cpp.

◆ ~ThemeConfig()

Aurorae::ThemeConfig::~ThemeConfig ( )
inline

Definition at line 22 of file themeconfig.h.

Member Function Documentation

◆ activeTextColor()

QColor Aurorae::ThemeConfig::activeTextColor ( bool useTabs = false,
bool focused = true ) const

Definition at line 162 of file themeconfig.cpp.

◆ activeTextShadowColor()

QColor Aurorae::ThemeConfig::activeTextShadowColor ( ) const
inline

Definition at line 27 of file themeconfig.h.

◆ alignment()

Qt::Alignment Aurorae::ThemeConfig::alignment ( ) const
inline

Definition at line 56 of file themeconfig.h.

◆ animationTime()

int Aurorae::ThemeConfig::animationTime ( ) const
inline

Definition at line 64 of file themeconfig.h.

◆ borderBottom()

int Aurorae::ThemeConfig::borderBottom ( ) const
inline

Definition at line 77 of file themeconfig.h.

◆ borderLeft()

int Aurorae::ThemeConfig::borderLeft ( ) const
inline

Definition at line 69 of file themeconfig.h.

◆ borderRight()

int Aurorae::ThemeConfig::borderRight ( ) const
inline

Definition at line 73 of file themeconfig.h.

◆ borderTop()

int Aurorae::ThemeConfig::borderTop ( ) const
inline

Definition at line 81 of file themeconfig.h.

◆ buttonHeight()

int Aurorae::ThemeConfig::buttonHeight ( ) const
inline

Definition at line 175 of file themeconfig.h.

◆ buttonMarginTop()

int Aurorae::ThemeConfig::buttonMarginTop ( ) const
inline

Definition at line 183 of file themeconfig.h.

◆ buttonSpacing()

int Aurorae::ThemeConfig::buttonSpacing ( ) const
inline

Definition at line 179 of file themeconfig.h.

◆ buttonWidth()

int Aurorae::ThemeConfig::buttonWidth ( ) const
inline

Definition at line 131 of file themeconfig.h.

◆ buttonWidthAllDesktops()

int Aurorae::ThemeConfig::buttonWidthAllDesktops ( ) const
inline

Definition at line 147 of file themeconfig.h.

◆ buttonWidthAppMenu()

int Aurorae::ThemeConfig::buttonWidthAppMenu ( ) const
inline

Definition at line 171 of file themeconfig.h.

◆ buttonWidthClose()

int Aurorae::ThemeConfig::buttonWidthClose ( ) const
inline

Definition at line 143 of file themeconfig.h.

◆ buttonWidthHelp()

int Aurorae::ThemeConfig::buttonWidthHelp ( ) const
inline

Definition at line 163 of file themeconfig.h.

◆ buttonWidthKeepAbove()

int Aurorae::ThemeConfig::buttonWidthKeepAbove ( ) const
inline

Definition at line 151 of file themeconfig.h.

◆ buttonWidthKeepBelow()

int Aurorae::ThemeConfig::buttonWidthKeepBelow ( ) const
inline

Definition at line 155 of file themeconfig.h.

◆ buttonWidthMaximizeRestore()

int Aurorae::ThemeConfig::buttonWidthMaximizeRestore ( ) const
inline

Definition at line 139 of file themeconfig.h.

◆ buttonWidthMenu()

int Aurorae::ThemeConfig::buttonWidthMenu ( ) const
inline

Definition at line 167 of file themeconfig.h.

◆ buttonWidthMinimize()

int Aurorae::ThemeConfig::buttonWidthMinimize ( ) const
inline

Definition at line 135 of file themeconfig.h.

◆ buttonWidthShade()

int Aurorae::ThemeConfig::buttonWidthShade ( ) const
inline

Definition at line 159 of file themeconfig.h.

◆ decorationPosition()

int Aurorae::ThemeConfig::decorationPosition ( ) const
inline

Definition at line 214 of file themeconfig.h.

◆ defaultActiveFocusedTextColor()

static QColor Aurorae::ThemeConfig::defaultActiveFocusedTextColor ( )
inlinestatic

Definition at line 223 of file themeconfig.h.

◆ defaultActiveTextColor()

static QColor Aurorae::ThemeConfig::defaultActiveTextColor ( )
inlinestatic

Definition at line 219 of file themeconfig.h.

◆ defaultActiveTextShadowColor()

static QColor Aurorae::ThemeConfig::defaultActiveTextShadowColor ( )
inlinestatic

Definition at line 243 of file themeconfig.h.

◆ defaultActiveUnfocusedTextColor()

static QColor Aurorae::ThemeConfig::defaultActiveUnfocusedTextColor ( )
inlinestatic

Definition at line 227 of file themeconfig.h.

◆ defaultAlignment()

static Qt::Alignment Aurorae::ThemeConfig::defaultAlignment ( )
inlinestatic

Definition at line 271 of file themeconfig.h.

◆ defaultAnimationTime()

static int Aurorae::ThemeConfig::defaultAnimationTime ( )
inlinestatic

Definition at line 419 of file themeconfig.h.

◆ defaultBorderBottom()

static int Aurorae::ThemeConfig::defaultBorderBottom ( )
inlinestatic

Definition at line 288 of file themeconfig.h.

◆ defaultBorderLeft()

static int Aurorae::ThemeConfig::defaultBorderLeft ( )
inlinestatic

Definition at line 280 of file themeconfig.h.

◆ defaultBorderRight()

static int Aurorae::ThemeConfig::defaultBorderRight ( )
inlinestatic

Definition at line 284 of file themeconfig.h.

◆ defaultBorderTop()

static int Aurorae::ThemeConfig::defaultBorderTop ( )
inlinestatic

Definition at line 292 of file themeconfig.h.

◆ defaultButtonHeight()

static int Aurorae::ThemeConfig::defaultButtonHeight ( )
inlinestatic

Definition at line 386 of file themeconfig.h.

◆ defaultButtonMarginTop()

static int Aurorae::ThemeConfig::defaultButtonMarginTop ( )
inlinestatic

Definition at line 394 of file themeconfig.h.

◆ defaultButtonSpacing()

static int Aurorae::ThemeConfig::defaultButtonSpacing ( )
inlinestatic

Definition at line 390 of file themeconfig.h.

◆ defaultButtonWidth()

static int Aurorae::ThemeConfig::defaultButtonWidth ( )
inlinestatic

Definition at line 342 of file themeconfig.h.

◆ defaultButtonWidthAllDesktops()

static int Aurorae::ThemeConfig::defaultButtonWidthAllDesktops ( )
inlinestatic

Definition at line 358 of file themeconfig.h.

◆ defaultButtonWidthAppMenu()

static int Aurorae::ThemeConfig::defaultButtonWidthAppMenu ( )
inlinestatic

Definition at line 382 of file themeconfig.h.

◆ defaultButtonWidthClose()

static int Aurorae::ThemeConfig::defaultButtonWidthClose ( )
inlinestatic

Definition at line 354 of file themeconfig.h.

◆ defaultButtonWidthHelp()

static int Aurorae::ThemeConfig::defaultButtonWidthHelp ( )
inlinestatic

Definition at line 374 of file themeconfig.h.

◆ defaultButtonWidthKeepAbove()

static int Aurorae::ThemeConfig::defaultButtonWidthKeepAbove ( )
inlinestatic

Definition at line 362 of file themeconfig.h.

◆ defaultButtonWidthKeepBelow()

static int Aurorae::ThemeConfig::defaultButtonWidthKeepBelow ( )
inlinestatic

Definition at line 366 of file themeconfig.h.

◆ defaultButtonWidthMaximizeRestore()

static int Aurorae::ThemeConfig::defaultButtonWidthMaximizeRestore ( )
inlinestatic

Definition at line 350 of file themeconfig.h.

◆ defaultButtonWidthMenu()

static int Aurorae::ThemeConfig::defaultButtonWidthMenu ( )
inlinestatic

Definition at line 378 of file themeconfig.h.

◆ defaultButtonWidthMinimize()

static int Aurorae::ThemeConfig::defaultButtonWidthMinimize ( )
inlinestatic

Definition at line 346 of file themeconfig.h.

◆ defaultButtonWidthShade()

static int Aurorae::ThemeConfig::defaultButtonWidthShade ( )
inlinestatic

Definition at line 370 of file themeconfig.h.

◆ defaultDecorationPosition()

static int Aurorae::ThemeConfig::defaultDecorationPosition ( )
inlinestatic

Definition at line 427 of file themeconfig.h.

◆ defaultExplicitButtonSpacer()

static int Aurorae::ThemeConfig::defaultExplicitButtonSpacer ( )
inlinestatic

Definition at line 398 of file themeconfig.h.

◆ defaultHaloActive()

static bool Aurorae::ThemeConfig::defaultHaloActive ( )
inlinestatic

Definition at line 263 of file themeconfig.h.

◆ defaultHaloInactive()

static bool Aurorae::ThemeConfig::defaultHaloInactive ( )
inlinestatic

Definition at line 267 of file themeconfig.h.

◆ defaultInactiveFocusedTextColor()

static QColor Aurorae::ThemeConfig::defaultInactiveFocusedTextColor ( )
inlinestatic

Definition at line 235 of file themeconfig.h.

◆ defaultInactiveTextColor()

static QColor Aurorae::ThemeConfig::defaultInactiveTextColor ( )
inlinestatic

Definition at line 231 of file themeconfig.h.

◆ defaultInactiveTextShadowColor()

static QColor Aurorae::ThemeConfig::defaultInactiveTextShadowColor ( )
inlinestatic

Definition at line 247 of file themeconfig.h.

◆ defaultInactiveUnfocusedTextColor()

static QColor Aurorae::ThemeConfig::defaultInactiveUnfocusedTextColor ( )
inlinestatic

Definition at line 239 of file themeconfig.h.

◆ defaultPaddingBottom()

static int Aurorae::ThemeConfig::defaultPaddingBottom ( )
inlinestatic

Definition at line 415 of file themeconfig.h.

◆ defaultPaddingLeft()

static int Aurorae::ThemeConfig::defaultPaddingLeft ( )
inlinestatic

Definition at line 403 of file themeconfig.h.

◆ defaultPaddingRight()

static int Aurorae::ThemeConfig::defaultPaddingRight ( )
inlinestatic

Definition at line 407 of file themeconfig.h.

◆ defaultPaddingTop()

static int Aurorae::ThemeConfig::defaultPaddingTop ( )
inlinestatic

Definition at line 411 of file themeconfig.h.

◆ defaultShadow()

static bool Aurorae::ThemeConfig::defaultShadow ( )
inlinestatic

Definition at line 423 of file themeconfig.h.

◆ defaultTextShadowOffsetX()

static int Aurorae::ThemeConfig::defaultTextShadowOffsetX ( )
inlinestatic

Definition at line 251 of file themeconfig.h.

◆ defaultTextShadowOffsetY()

static int Aurorae::ThemeConfig::defaultTextShadowOffsetY ( )
inlinestatic

Definition at line 255 of file themeconfig.h.

◆ defaultTitleBorderLeft()

static int Aurorae::ThemeConfig::defaultTitleBorderLeft ( )
inlinestatic

Definition at line 329 of file themeconfig.h.

◆ defaultTitleBorderRight()

static int Aurorae::ThemeConfig::defaultTitleBorderRight ( )
inlinestatic

Definition at line 333 of file themeconfig.h.

◆ defaultTitleEdgeBottom()

static int Aurorae::ThemeConfig::defaultTitleEdgeBottom ( )
inlinestatic

Definition at line 301 of file themeconfig.h.

◆ defaultTitleEdgeBottomMaximized()

static int Aurorae::ThemeConfig::defaultTitleEdgeBottomMaximized ( )
inlinestatic

Definition at line 317 of file themeconfig.h.

◆ defaultTitleEdgeLeft()

static int Aurorae::ThemeConfig::defaultTitleEdgeLeft ( )
inlinestatic

Definition at line 305 of file themeconfig.h.

◆ defaultTitleEdgeLeftMaximized()

static int Aurorae::ThemeConfig::defaultTitleEdgeLeftMaximized ( )
inlinestatic

Definition at line 321 of file themeconfig.h.

◆ defaultTitleEdgeRight()

static int Aurorae::ThemeConfig::defaultTitleEdgeRight ( )
inlinestatic

Definition at line 309 of file themeconfig.h.

◆ defaultTitleEdgeRightMaximized()

static int Aurorae::ThemeConfig::defaultTitleEdgeRightMaximized ( )
inlinestatic

Definition at line 325 of file themeconfig.h.

◆ defaultTitleEdgeTop()

static int Aurorae::ThemeConfig::defaultTitleEdgeTop ( )
inlinestatic

Definition at line 297 of file themeconfig.h.

◆ defaultTitleEdgeTopMaximized()

static int Aurorae::ThemeConfig::defaultTitleEdgeTopMaximized ( )
inlinestatic

Definition at line 313 of file themeconfig.h.

◆ defaultTitleHeight()

static int Aurorae::ThemeConfig::defaultTitleHeight ( )
inlinestatic

Definition at line 337 of file themeconfig.h.

◆ defaultUseTextShadow()

static bool Aurorae::ThemeConfig::defaultUseTextShadow ( )
inlinestatic

Definition at line 259 of file themeconfig.h.

◆ defaultVerticalAlignment()

static Qt::Alignment Aurorae::ThemeConfig::defaultVerticalAlignment ( )
inlinestatic

Definition at line 275 of file themeconfig.h.

◆ explicitButtonSpacer()

int Aurorae::ThemeConfig::explicitButtonSpacer ( ) const
inline

Definition at line 187 of file themeconfig.h.

◆ haloActive()

bool Aurorae::ThemeConfig::haloActive ( ) const
inline

Definition at line 47 of file themeconfig.h.

◆ haloInactive()

bool Aurorae::ThemeConfig::haloInactive ( ) const
inline

Definition at line 51 of file themeconfig.h.

◆ inactiveTextColor()

QColor Aurorae::ThemeConfig::inactiveTextColor ( bool useTabs = false,
bool focused = true ) const

Definition at line 174 of file themeconfig.cpp.

◆ inactiveTextShadowColor()

QColor Aurorae::ThemeConfig::inactiveTextShadowColor ( ) const
inline

Definition at line 31 of file themeconfig.h.

◆ load()

void Aurorae::ThemeConfig::load ( const KConfig & conf)

Definition at line 77 of file themeconfig.cpp.

◆ paddingBottom()

int Aurorae::ThemeConfig::paddingBottom ( ) const
inline

Definition at line 204 of file themeconfig.h.

◆ paddingLeft()

int Aurorae::ThemeConfig::paddingLeft ( ) const
inline

Definition at line 192 of file themeconfig.h.

◆ paddingRight()

int Aurorae::ThemeConfig::paddingRight ( ) const
inline

Definition at line 196 of file themeconfig.h.

◆ paddingTop()

int Aurorae::ThemeConfig::paddingTop ( ) const
inline

Definition at line 200 of file themeconfig.h.

◆ shadow()

bool Aurorae::ThemeConfig::shadow ( ) const
inline

Definition at line 209 of file themeconfig.h.

◆ textShadowOffsetX()

int Aurorae::ThemeConfig::textShadowOffsetX ( ) const
inline

Definition at line 35 of file themeconfig.h.

◆ textShadowOffsetY()

int Aurorae::ThemeConfig::textShadowOffsetY ( ) const
inline

Definition at line 39 of file themeconfig.h.

◆ titleBorderLeft()

int Aurorae::ThemeConfig::titleBorderLeft ( ) const
inline

Definition at line 118 of file themeconfig.h.

◆ titleBorderRight()

int Aurorae::ThemeConfig::titleBorderRight ( ) const
inline

Definition at line 122 of file themeconfig.h.

◆ titleEdgeBottom()

int Aurorae::ThemeConfig::titleEdgeBottom ( ) const
inline

Definition at line 90 of file themeconfig.h.

◆ titleEdgeBottomMaximized()

int Aurorae::ThemeConfig::titleEdgeBottomMaximized ( ) const
inline

Definition at line 106 of file themeconfig.h.

◆ titleEdgeLeft()

int Aurorae::ThemeConfig::titleEdgeLeft ( ) const
inline

Definition at line 94 of file themeconfig.h.

◆ titleEdgeLeftMaximized()

int Aurorae::ThemeConfig::titleEdgeLeftMaximized ( ) const
inline

Definition at line 110 of file themeconfig.h.

◆ titleEdgeRight()

int Aurorae::ThemeConfig::titleEdgeRight ( ) const
inline

Definition at line 98 of file themeconfig.h.

◆ titleEdgeRightMaximized()

int Aurorae::ThemeConfig::titleEdgeRightMaximized ( ) const
inline

Definition at line 114 of file themeconfig.h.

◆ titleEdgeTop()

int Aurorae::ThemeConfig::titleEdgeTop ( ) const
inline

Definition at line 86 of file themeconfig.h.

◆ titleEdgeTopMaximized()

int Aurorae::ThemeConfig::titleEdgeTopMaximized ( ) const
inline

Definition at line 102 of file themeconfig.h.

◆ titleHeight()

int Aurorae::ThemeConfig::titleHeight ( ) const
inline

Definition at line 126 of file themeconfig.h.

◆ useTextShadow()

bool Aurorae::ThemeConfig::useTextShadow ( ) const
inline

Definition at line 43 of file themeconfig.h.

◆ verticalAlignment()

Qt::Alignment Aurorae::ThemeConfig::verticalAlignment ( ) const
inline

Definition at line 60 of file themeconfig.h.


The documentation for this class was generated from the following files: