LeechCraft  0.6.70-3565-g2d86529
Modular cross-platform feature rich live environment.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
IColorThemeManager Class Referenceabstract

Proxy class to the color theme management engine. More...

#include "icolorthememanager.h"

Public Member Functions

virtual ~IColorThemeManager ()
 
virtual QColor GetQMLColor (const QString &section, const QString &key)=0
 Returns the color for the given QML section and key. More...
 
virtual QObject * GetQObject ()=0
 Returns the manager as a QObject. More...
 

Protected Member Functions

virtual void themeChanged ()=0
 Emitted after the color theme changes. More...
 

Detailed Description

Proxy class to the color theme management engine.

See Also
LeechCraft::Util::ColorThemeProxy.

Definition at line 38 of file icolorthememanager.h.

Constructor & Destructor Documentation

virtual IColorThemeManager::~IColorThemeManager ( )
inlinevirtual

Definition at line 41 of file icolorthememanager.h.

Member Function Documentation

virtual QColor IColorThemeManager::GetQMLColor ( const QString &  section,
const QString &  key 
)
pure virtual

Returns the color for the given QML section and key.

See the LeechCraft::Util::ColorThemeProxy for the list of available color sections and their keys. See the documentation for that class for the list of possible sections and keys (they are separated by the _ sign).

Parameters
[in]sectionThe color section like ToolButton or Panel.
[in]keyThe key in the section like TopColor in a ToolButton.
Returns
The given color for the section and key, or an invalid color if the combination is invalid.
virtual QObject* IColorThemeManager::GetQObject ( )
pure virtual

Returns the manager as a QObject.

Use this function to connect to the themeChanged() signal.

See Also
themeChanged()

Referenced by LeechCraft::Util::ColorThemeProxy::ColorThemeProxy().

+ Here is the caller graph for this function:

virtual void IColorThemeManager::themeChanged ( )
protectedpure virtual

Emitted after the color theme changes.

Use the GetQObject() method to get a QObject that emits this signal.

See Also
GetQObject()

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