• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kde-runtime API Reference
  • KDE Home
  • Contact Us
 

PlasmaCore

Signals | Public Member Functions | Properties | List of all members
ThemeProxy Class Reference

#include <theme.h>

Inheritance diagram for ThemeProxy:
Inheritance graph
[legend]

Signals

void defaultIconSizeChanged ()
 
void iconSizesChanged ()
 
void themeChanged ()
 

Public Member Functions

 ThemeProxy (QObject *parent=0)
 
 ~ThemeProxy ()
 
QColor backgroundColor () const
 
QColor buttonBackgroundColor () const
 
QColor buttonFocusColor () const
 
QColor buttonHoverColor () const
 
QColor buttonTextColor () const
 
QObject * defaultFont () const
 
int defaultIconSize () const
 
QObject * desktopFont () const
 
int enormousIconSize () const
 
QColor highlightColor () const
 
KUrl homepage () const
 
int hugeIconSize () const
 
QDeclarativePropertyMap * iconSizes () const
 
int largeIconSize () const
 
QColor linkColor () const
 
int mediumIconSize () const
 
QObject * smallestFont () const
 
int smallIconSize () const
 
int smallMediumIconSize () const
 
QString styleSheet () const
 
QColor textColor () const
 
QString themeName () const
 
bool useGlobalSettings () const
 
QColor viewBackgroundColor () const
 
QColor viewFocusColor () const
 
QColor viewHoverColor () const
 
QColor viewTextColor () const
 
QColor visitedLinkColor () const
 
QString wallpaperPath () const
 
Q_INVOKABLE QString wallpaperPathForSize (int width=-1, int height=-1) const
 
bool windowTranslucencyEnabled () const
 
- Public Member Functions inherited from QObject
 QObject (QObject *parent)
 
 QObject (QObject *parent, const char *name)
 
virtual  ~QObject ()
 
bool blockSignals (bool block)
 
QObject * child (const char *objName, const char *inheritsClass, bool recursiveSearch) const
 
const QObjectList & children () const
 
const char * className () const
 
bool connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const
 
void deleteLater ()
 
void destroyed (QObject *obj)
 
bool disconnect (const QObject *receiver, const char *method)
 
bool disconnect (const char *signal, const QObject *receiver, const char *method)
 
void dumpObjectInfo ()
 
void dumpObjectTree ()
 
QList< QByteArray > dynamicPropertyNames () const
 
virtual bool event (QEvent *e)
 
virtual bool eventFilter (QObject *watched, QEvent *event)
 
T findChild (const QString &name) const
 
QList< T > findChildren (const QRegExp &regExp) const
 
QList< T > findChildren (const QString &name) const
 
bool inherits (const char *className) const
 
void insertChild (QObject *object)
 
void installEventFilter (QObject *filterObj)
 
bool isA (const char *className) const
 
bool isWidgetType () const
 
void killTimer (int id)
 
virtual const QMetaObject * metaObject () const
 
void moveToThread (QThread *targetThread)
 
const char * name () const
 
const char * name (const char *defaultName) const
 
QString objectName () const
 
QObject * parent () const
 
QVariant property (const char *name) const
 
void removeChild (QObject *object)
 
void removeEventFilter (QObject *obj)
 
void setName (const char *name)
 
void setObjectName (const QString &name)
 
void setParent (QObject *parent)
 
bool setProperty (const char *name, const QVariant &value)
 
bool signalsBlocked () const
 
int startTimer (int interval)
 
QThread * thread () const
 

Properties

QColor backgroundColor
 
QColor buttonBackgroundColor
 
QColor buttonFocusColor
 
QColor buttonHoverColor
 
QColor buttonTextColor
 
QObject defaultFont
 
int defaultIconSize
 
QObject desktopFont
 
int enormousIconSize
 
QColor highlightColor
 
KUrl homepage
 
int hugeIconSize
 
QDeclarativePropertyMap iconSizes
 
int largeIconSize
 
QColor linkColor
 
int mediumIconSize
 
QObject smallestFont
 
int smallIconSize
 
int smallMediumIconSize
 
QString styleSheet
 
QColor textColor
 
QString themeName
 
bool useGlobalSettings
 
QColor viewBackgroundColor
 
QColor viewFocusColor
 
QColor viewHoverColor
 
QColor viewTextColor
 
QColor visitedLinkColor
 
QString wallpaperPath
 
bool windowTranslucentEnabled
 
- Properties inherited from QObject
 objectName
 

Additional Inherited Members

- Static Public Member Functions inherited from QObject
bool connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
 
bool connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type)
 
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)
 
QString tr (const char *sourceText, const char *disambiguation, int n)
 
QString trUtf8 (const char *sourceText, const char *disambiguation, int n)
 
- Protected Member Functions inherited from QObject
bool checkConnectArgs (const char *signal, const QObject *object, const char *method)
 
virtual void childEvent (QChildEvent *event)
 
virtual void connectNotify (const char *signal)
 
virtual void customEvent (QEvent *event)
 
virtual void disconnectNotify (const char *signal)
 
int receivers (const char *signal) const
 
QObject * sender () const
 
int senderSignalIndex () const
 
virtual void timerEvent (QTimerEvent *event)
 
- Static Protected Member Functions inherited from QObject
QByteArray normalizeSignalSlot (const char *signalSlot)
 

Detailed Description

QML wrapper for kdelibs Plasma::Theme.

Exposed as Theme in QML.

Definition at line 174 of file theme.h.

Constructor & Destructor Documentation

ThemeProxy::ThemeProxy ( QObject *  parent = 0)

Definition at line 155 of file theme.cpp.

ThemeProxy::~ThemeProxy ( )

Definition at line 171 of file theme.cpp.

Member Function Documentation

QColor ThemeProxy::backgroundColor ( ) const
QColor ThemeProxy::buttonBackgroundColor ( ) const
QColor ThemeProxy::buttonFocusColor ( ) const
QColor ThemeProxy::buttonHoverColor ( ) const
QColor ThemeProxy::buttonTextColor ( ) const
QObject* ThemeProxy::defaultFont ( ) const
int ThemeProxy::defaultIconSize ( ) const
void ThemeProxy::defaultIconSizeChanged ( )
signal
QObject* ThemeProxy::desktopFont ( ) const
int ThemeProxy::enormousIconSize ( ) const
QColor ThemeProxy::highlightColor ( ) const
KUrl ThemeProxy::homepage ( ) const
int ThemeProxy::hugeIconSize ( ) const
QDeclarativePropertyMap* ThemeProxy::iconSizes ( ) const
void ThemeProxy::iconSizesChanged ( )
signal
int ThemeProxy::largeIconSize ( ) const
QColor ThemeProxy::linkColor ( ) const
int ThemeProxy::mediumIconSize ( ) const
QObject* ThemeProxy::smallestFont ( ) const
int ThemeProxy::smallIconSize ( ) const
int ThemeProxy::smallMediumIconSize ( ) const
QString ThemeProxy::styleSheet ( ) const
QColor ThemeProxy::textColor ( ) const
void ThemeProxy::themeChanged ( )
signal
QString ThemeProxy::themeName ( ) const
bool ThemeProxy::useGlobalSettings ( ) const
QColor ThemeProxy::viewBackgroundColor ( ) const
QColor ThemeProxy::viewFocusColor ( ) const
QColor ThemeProxy::viewHoverColor ( ) const
QColor ThemeProxy::viewTextColor ( ) const
QColor ThemeProxy::visitedLinkColor ( ) const
QString ThemeProxy::wallpaperPath ( ) const
QString ThemeProxy::wallpaperPathForSize ( int  width = -1,
int  height = -1 
) const

Definition at line 215 of file theme.cpp.

bool ThemeProxy::windowTranslucencyEnabled ( ) const

Definition at line 195 of file theme.cpp.

Property Documentation

QColor ThemeProxy::backgroundColor
read

Definition at line 192 of file theme.h.

QColor ThemeProxy::buttonBackgroundColor
read

Definition at line 194 of file theme.h.

QColor ThemeProxy::buttonFocusColor
read

Definition at line 199 of file theme.h.

QColor ThemeProxy::buttonHoverColor
read

Definition at line 198 of file theme.h.

QColor ThemeProxy::buttonTextColor
read

Definition at line 193 of file theme.h.

QObject * ThemeProxy::defaultFont
read

Definition at line 185 of file theme.h.

int ThemeProxy::defaultIconSize
read

Definition at line 213 of file theme.h.

QObject * ThemeProxy::desktopFont
read

Definition at line 186 of file theme.h.

int ThemeProxy::enormousIconSize
read

Definition at line 212 of file theme.h.

QColor ThemeProxy::highlightColor
read

Definition at line 191 of file theme.h.

KUrl ThemeProxy::homepage
read

Definition at line 180 of file theme.h.

int ThemeProxy::hugeIconSize
read

Definition at line 211 of file theme.h.

QDeclarativePropertyMap * ThemeProxy::iconSizes
read

icon sizes depending from the context: use those if possible Access with theme.iconSizes.desktop theme.iconSizes.small etc.

available keys are:

  • desktop
  • toolbar
  • small
  • dialog

Definition at line 224 of file theme.h.

int ThemeProxy::largeIconSize
read

Definition at line 210 of file theme.h.

QColor ThemeProxy::linkColor
read

Definition at line 195 of file theme.h.

int ThemeProxy::mediumIconSize
read

Definition at line 209 of file theme.h.

QObject * ThemeProxy::smallestFont
read

Definition at line 187 of file theme.h.

int ThemeProxy::smallIconSize
read

Definition at line 207 of file theme.h.

int ThemeProxy::smallMediumIconSize
read

Definition at line 208 of file theme.h.

QString ThemeProxy::styleSheet
read

Definition at line 204 of file theme.h.

QColor ThemeProxy::textColor
read

Definition at line 190 of file theme.h.

QString ThemeProxy::themeName
read

Definition at line 178 of file theme.h.

bool ThemeProxy::useGlobalSettings
read

Definition at line 181 of file theme.h.

QColor ThemeProxy::viewBackgroundColor
read

Definition at line 201 of file theme.h.

QColor ThemeProxy::viewFocusColor
read

Definition at line 203 of file theme.h.

QColor ThemeProxy::viewHoverColor
read

Definition at line 202 of file theme.h.

QColor ThemeProxy::viewTextColor
read

Definition at line 200 of file theme.h.

QColor ThemeProxy::visitedLinkColor
read

Definition at line 196 of file theme.h.

QString ThemeProxy::wallpaperPath
read

Definition at line 182 of file theme.h.

bool ThemeProxy::windowTranslucentEnabled
read

Definition at line 179 of file theme.h.


The documentation for this class was generated from the following files:
  • theme.h
  • theme.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:08:28 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

PlasmaCore

Skip menu "PlasmaCore"
  • Main Page
  • Namespace List
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kde-runtime API Reference

Skip menu "kde-runtime API Reference"
  • KCMShell
  • KNotify
  • Plasma Runtime
  •     PlasmaCore
  •     DragAndDrop
  •     PlasmaComponents
  •     PlasmaExtraComponents
  •     QtExtraComponents

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal