Plasma::QuickTheme
#include <quicktheme.h>
Signals | |
void | themeChangedProxy () |
Signals inherited from Plasma::Theme | |
void | defaultFontChanged () |
void | smallestFontChanged () |
void | themeChanged () |
Additional Inherited Members | |
Public Types inherited from Plasma::Theme | |
enum | ColorGroup { NormalColorGroup = 0 , ButtonColorGroup = 1 , ViewColorGroup = 2 , ComplementaryColorGroup = 3 , HeaderColorGroup , ToolTipColorGroup } |
enum | ColorRole { TextColor = 0 , BackgroundColor = 1 , HighlightColor = 2 , HoverColor = 3 , FocusColor = 4 , LinkColor = 5 , VisitedLinkColor = 6 , HighlightedTextColor = 7 , PositiveTextColor = 8 , NeutralTextColor = 9 , NegativeTextColor = 10 , DisabledTextColor = 11 } |
Public Types inherited from QObject | |
typedef | QObjectList |
Static Public Member Functions inherited from Plasma::Theme | |
static KSharedConfigPtr | globalColorScheme () |
static QPalette | globalPalette () |
Static Public Member Functions inherited from QObject | |
QMetaObject::Connection | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type) |
QMetaObject::Connection | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type) |
QMetaObject::Connection | connect (const QObject *sender, PointerToMemberFunction signal, const QObject *context, Functor functor, Qt::ConnectionType type) |
QMetaObject::Connection | connect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method, Qt::ConnectionType type) |
QMetaObject::Connection | connect (const QObject *sender, PointerToMemberFunction signal, Functor functor) |
bool | disconnect (const QMetaObject::Connection &connection) |
bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method) |
bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method) |
bool | disconnect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method) |
QString | tr (const char *sourceText, const char *disambiguation, int n) |
Protected Member Functions inherited from QObject | |
virtual void | childEvent (QChildEvent *event) |
virtual void | connectNotify (const QMetaMethod &signal) |
virtual void | customEvent (QEvent *event) |
virtual void | disconnectNotify (const QMetaMethod &signal) |
bool | isSignalConnected (const QMetaMethod &signal) const const |
int | receivers (const char *signal) const const |
QObject * | sender () const const |
int | senderSignalIndex () const const |
virtual void | timerEvent (QTimerEvent *event) |
Detailed Description
Interface to the Plasma theme.
Plasma::Theme provides access to a common and standardized set of graphic elements stored in SVG format. This allows artists to create single packages of SVGs that will affect the look and feel of all workspace components.
Plasma::Svg uses Plasma::Theme internally to locate and load the appropriate SVG data. Alternatively, Plasma::Theme can be used directly to retrieve file system paths to SVGs by name.
Import Statement
- Version
- 2.0
Definition at line 34 of file quicktheme.h.
Property Documentation
◆ backgroundColor
|
read |
Definition at line 44 of file quicktheme.h.
◆ buttonBackgroundColor
|
read |
Definition at line 53 of file quicktheme.h.
◆ buttonFocusColor
|
read |
Definition at line 55 of file quicktheme.h.
◆ buttonHighlightedTextColor
|
read |
Definition at line 56 of file quicktheme.h.
◆ buttonHoverColor
|
read |
Definition at line 54 of file quicktheme.h.
◆ buttonNegativeTextColor
|
read |
Definition at line 59 of file quicktheme.h.
◆ buttonNeutralTextColor
|
read |
Definition at line 58 of file quicktheme.h.
◆ buttonPositiveTextColor
|
read |
Definition at line 57 of file quicktheme.h.
◆ buttonTextColor
|
read |
Definition at line 52 of file quicktheme.h.
◆ complementaryBackgroundColor
|
read |
Definition at line 71 of file quicktheme.h.
◆ complementaryFocusColor
|
read |
Definition at line 73 of file quicktheme.h.
◆ complementaryHighlightedTextColor
|
read |
Definition at line 74 of file quicktheme.h.
◆ complementaryHoverColor
|
read |
Definition at line 72 of file quicktheme.h.
◆ complementaryNegativeTextColor
|
read |
Definition at line 77 of file quicktheme.h.
◆ complementaryNeutralTextColor
|
read |
Definition at line 76 of file quicktheme.h.
◆ complementaryPositiveTextColor
|
read |
Definition at line 75 of file quicktheme.h.
◆ complementaryTextColor
|
read |
Definition at line 70 of file quicktheme.h.
◆ disabledTextColor
|
read |
Definition at line 50 of file quicktheme.h.
◆ headerBackgroundColor
|
read |
Definition at line 80 of file quicktheme.h.
◆ headerFocusColor
|
read |
Definition at line 82 of file quicktheme.h.
◆ headerHighlightedTextColor
|
read |
Definition at line 83 of file quicktheme.h.
◆ headerHoverColor
|
read |
Definition at line 81 of file quicktheme.h.
◆ headerNegativeTextColor
|
read |
Definition at line 86 of file quicktheme.h.
◆ headerNeutralTextColor
|
read |
Definition at line 85 of file quicktheme.h.
◆ headerPositiveTextColor
|
read |
Definition at line 84 of file quicktheme.h.
◆ headerTextColor
|
read |
Definition at line 79 of file quicktheme.h.
◆ highlightColor
|
read |
Definition at line 42 of file quicktheme.h.
◆ highlightedTextColor
|
read |
Definition at line 43 of file quicktheme.h.
◆ linkColor
|
read |
Definition at line 45 of file quicktheme.h.
◆ negativeTextColor
|
read |
Definition at line 49 of file quicktheme.h.
◆ neutralTextColor
|
read |
Definition at line 48 of file quicktheme.h.
◆ positiveTextColor
|
read |
Definition at line 47 of file quicktheme.h.
◆ textColor
|
read |
Definition at line 41 of file quicktheme.h.
◆ viewBackgroundColor
|
read |
Definition at line 62 of file quicktheme.h.
◆ viewFocusColor
|
read |
Definition at line 64 of file quicktheme.h.
◆ viewHighlightedTextColor
|
read |
Definition at line 65 of file quicktheme.h.
◆ viewHoverColor
|
read |
Definition at line 63 of file quicktheme.h.
◆ viewNegativeTextColor
|
read |
Definition at line 68 of file quicktheme.h.
◆ viewNeutralTextColor
|
read |
Definition at line 67 of file quicktheme.h.
◆ viewPositiveTextColor
|
read |
Definition at line 66 of file quicktheme.h.
◆ viewTextColor
|
read |
Definition at line 61 of file quicktheme.h.
◆ visitedLinkColor
|
read |
Definition at line 46 of file quicktheme.h.
Constructor & Destructor Documentation
◆ QuickTheme()
|
explicit |
Definition at line 11 of file quicktheme.cpp.
◆ ~QuickTheme()
|
override |
Definition at line 17 of file quicktheme.cpp.
Member Function Documentation
◆ backgroundColor()
QColor Plasma::QuickTheme::backgroundColor | ( | ) | const |
- Returns
- The theme's colorscheme's background color
- Since
- 5.0
Definition at line 56 of file quicktheme.cpp.
◆ buttonBackgroundColor()
QColor Plasma::QuickTheme::buttonBackgroundColor | ( | ) | const |
- Returns
- The theme's colorscheme's background color color of buttons
- Since
- 5.0
Definition at line 66 of file quicktheme.cpp.
◆ buttonFocusColor()
QColor Plasma::QuickTheme::buttonFocusColor | ( | ) | const |
- Returns
- The theme's colorscheme's color of focused buttons
- Since
- 5.0
Definition at line 101 of file quicktheme.cpp.
◆ buttonHighlightedTextColor()
QColor Plasma::QuickTheme::buttonHighlightedTextColor | ( | ) | const |
- Returns
- The theme's colorscheme's highlighted text color for buttons
- Since
- 5.22
Definition at line 106 of file quicktheme.cpp.
◆ buttonHoverColor()
QColor Plasma::QuickTheme::buttonHoverColor | ( | ) | const |
- Returns
- The theme's colorscheme's color of hovered buttons
- Since
- 5.0
Definition at line 96 of file quicktheme.cpp.
◆ buttonNegativeTextColor()
QColor Plasma::QuickTheme::buttonNegativeTextColor | ( | ) | const |
- Returns
- The theme's colorscheme's negative text color of buttons
- Since
- 5.22
Definition at line 81 of file quicktheme.cpp.
◆ buttonNeutralTextColor()
QColor Plasma::QuickTheme::buttonNeutralTextColor | ( | ) | const |
- Returns
- The theme's colorscheme's neutral text color of buttons
- Since
- 5.22
Definition at line 76 of file quicktheme.cpp.
◆ buttonPositiveTextColor()
QColor Plasma::QuickTheme::buttonPositiveTextColor | ( | ) | const |
- Returns
- The theme's colorscheme's positive text color of buttons
- Since
- 5.22
Definition at line 71 of file quicktheme.cpp.
◆ buttonTextColor()
QColor Plasma::QuickTheme::buttonTextColor | ( | ) | const |
- Returns
- The theme's colorscheme's color for text on buttons
- Since
- 5.0
Definition at line 61 of file quicktheme.cpp.
◆ complementaryBackgroundColor()
QColor Plasma::QuickTheme::complementaryBackgroundColor | ( | ) | const |
- Returns
- The theme's colorscheme's background color of "complementary" areas
- Since
- 5.0
Definition at line 156 of file quicktheme.cpp.
◆ complementaryFocusColor()
QColor Plasma::QuickTheme::complementaryFocusColor | ( | ) | const |
- Returns
- The theme's colorscheme's color of focused "complementary" areas
- Since
- 5.0
Definition at line 166 of file quicktheme.cpp.
◆ complementaryHighlightedTextColor()
QColor Plasma::QuickTheme::complementaryHighlightedTextColor | ( | ) | const |
- Returns
- The theme's colorscheme's highlighted text color for "complementary" areas
- Since
- 5.22
Definition at line 171 of file quicktheme.cpp.
◆ complementaryHoverColor()
QColor Plasma::QuickTheme::complementaryHoverColor | ( | ) | const |
- Returns
- The theme's colorscheme's color of hovered "complementary" areas
- Since
- 5.0
Definition at line 161 of file quicktheme.cpp.
◆ complementaryNegativeTextColor()
QColor Plasma::QuickTheme::complementaryNegativeTextColor | ( | ) | const |
- Returns
- The theme's colorscheme's negative text color of complementary
- Since
- 5.22
Definition at line 186 of file quicktheme.cpp.
◆ complementaryNeutralTextColor()
QColor Plasma::QuickTheme::complementaryNeutralTextColor | ( | ) | const |
- Returns
- The theme's colorscheme's neutral text color of complementary
- Since
- 5.22
Definition at line 181 of file quicktheme.cpp.
◆ complementaryPositiveTextColor()
QColor Plasma::QuickTheme::complementaryPositiveTextColor | ( | ) | const |
- Returns
- The theme's colorscheme's positive text color of complementary
- Since
- 5.22
Definition at line 176 of file quicktheme.cpp.
◆ complementaryTextColor()
QColor Plasma::QuickTheme::complementaryTextColor | ( | ) | const |
- Returns
- The theme's colorscheme's text color of "complementary" areas
- Since
- 5.0
Definition at line 151 of file quicktheme.cpp.
◆ disabledTextColor()
QColor Plasma::QuickTheme::disabledTextColor | ( | ) | const |
- Returns
- The theme's colorscheme's disabled text color
- Since
- 5.64
Definition at line 51 of file quicktheme.cpp.
◆ headerBackgroundColor()
QColor Plasma::QuickTheme::headerBackgroundColor | ( | ) | const |
- Returns
- The theme's colorscheme's background color of "header" areas
- Since
- 5.0
Definition at line 196 of file quicktheme.cpp.
◆ headerFocusColor()
QColor Plasma::QuickTheme::headerFocusColor | ( | ) | const |
- Returns
- The theme's colorscheme's color of focused "header" areas
- Since
- 5.0
Definition at line 206 of file quicktheme.cpp.
◆ headerHighlightedTextColor()
QColor Plasma::QuickTheme::headerHighlightedTextColor | ( | ) | const |
- Returns
- The theme's colorscheme's highlighted text color for "header" areas
- Since
- 5.22
Definition at line 211 of file quicktheme.cpp.
◆ headerHoverColor()
QColor Plasma::QuickTheme::headerHoverColor | ( | ) | const |
- Returns
- The theme's colorscheme's color of hovered "header" areas
- Since
- 5.0
Definition at line 201 of file quicktheme.cpp.
◆ headerNegativeTextColor()
QColor Plasma::QuickTheme::headerNegativeTextColor | ( | ) | const |
- Returns
- The theme's colorscheme's negative text color of header
- Since
- 5.22
Definition at line 226 of file quicktheme.cpp.
◆ headerNeutralTextColor()
QColor Plasma::QuickTheme::headerNeutralTextColor | ( | ) | const |
- Returns
- The theme's colorscheme's neutral text color of header
- Since
- 5.22
Definition at line 221 of file quicktheme.cpp.
◆ headerPositiveTextColor()
QColor Plasma::QuickTheme::headerPositiveTextColor | ( | ) | const |
- Returns
- The theme's colorscheme's positive text color of header
- Since
- 5.22
Definition at line 216 of file quicktheme.cpp.
◆ headerTextColor()
QColor Plasma::QuickTheme::headerTextColor | ( | ) | const |
- Returns
- The theme's colorscheme's text color of "header" areas
- Since
- 5.0
Definition at line 191 of file quicktheme.cpp.
◆ highlightColor()
QColor Plasma::QuickTheme::highlightColor | ( | ) | const |
- Returns
- The theme's colorscheme's highlight color
- Since
- 5.0
Definition at line 26 of file quicktheme.cpp.
◆ highlightedTextColor()
QColor Plasma::QuickTheme::highlightedTextColor | ( | ) | const |
- Returns
- The theme's colorscheme's highlighted text color
- Since
- 5.22
Definition at line 31 of file quicktheme.cpp.
◆ linkColor()
QColor Plasma::QuickTheme::linkColor | ( | ) | const |
◆ negativeTextColor()
QColor Plasma::QuickTheme::negativeTextColor | ( | ) | const |
- Returns
- The theme's colorscheme's negative text color
- Since
- 5.22
Definition at line 46 of file quicktheme.cpp.
◆ neutralTextColor()
QColor Plasma::QuickTheme::neutralTextColor | ( | ) | const |
- Returns
- The theme's colorscheme's neutral text color
- Since
- 5.22
Definition at line 41 of file quicktheme.cpp.
◆ positiveTextColor()
QColor Plasma::QuickTheme::positiveTextColor | ( | ) | const |
- Returns
- The theme's colorscheme's positive text color
- Since
- 5.22
Definition at line 36 of file quicktheme.cpp.
◆ textColor()
QColor Plasma::QuickTheme::textColor | ( | ) | const |
◆ viewBackgroundColor()
QColor Plasma::QuickTheme::viewBackgroundColor | ( | ) | const |
- Returns
- The theme's colorscheme's background color of views
- Since
- 5.0
Definition at line 116 of file quicktheme.cpp.
◆ viewFocusColor()
QColor Plasma::QuickTheme::viewFocusColor | ( | ) | const |
- Returns
- The theme's colorscheme's color of focused views
- Since
- 5.0
Definition at line 126 of file quicktheme.cpp.
◆ viewHighlightedTextColor()
QColor Plasma::QuickTheme::viewHighlightedTextColor | ( | ) | const |
- Returns
- The theme's colorscheme's highlighted text color for views
- Since
- 5.22
Definition at line 131 of file quicktheme.cpp.
◆ viewHoverColor()
QColor Plasma::QuickTheme::viewHoverColor | ( | ) | const |
- Returns
- The theme's colorscheme's color of hovered views
- Since
- 5.0
Definition at line 121 of file quicktheme.cpp.
◆ viewNegativeTextColor()
QColor Plasma::QuickTheme::viewNegativeTextColor | ( | ) | const |
- Returns
- The theme's colorscheme's negative text color of view
- Since
- 5.22
Definition at line 146 of file quicktheme.cpp.
◆ viewNeutralTextColor()
QColor Plasma::QuickTheme::viewNeutralTextColor | ( | ) | const |
- Returns
- The theme's colorscheme's neutral text color of view
- Since
- 5.22
Definition at line 141 of file quicktheme.cpp.
◆ viewPositiveTextColor()
QColor Plasma::QuickTheme::viewPositiveTextColor | ( | ) | const |
- Returns
- The theme's colorscheme's positive text color of view
- Since
- 5.22
Definition at line 136 of file quicktheme.cpp.
◆ viewTextColor()
QColor Plasma::QuickTheme::viewTextColor | ( | ) | const |
- Returns
- The theme's colorscheme's text color in views
- Since
- 5.0
Definition at line 111 of file quicktheme.cpp.
◆ visitedLinkColor()
QColor Plasma::QuickTheme::visitedLinkColor | ( | ) | const |
- Returns
- The theme's colorscheme's text color for visited links
- Since
- 5.0
Definition at line 91 of file quicktheme.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:52:43 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.