Fabcoin Core  0.16.2
P2P Digital Currency
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
StyleSheet Class Reference

Singleton class that manage the styles. More...

#include <styleSheet.h>

Public Member Functions

void setStyleSheet (QWidget *widget, const QString &style_name)
 
void setStyleSheet (QApplication *app, const QString &style_name)
 

Static Public Member Functions

static StyleSheetinstance ()
 

Private Member Functions

QString getStyleSheet (const QString &style_name)
 
template<typename T >
void setObjectStyleSheet (T *object, const QString &style_name)
 
 StyleSheet ()
 

Private Attributes

QMap< QString, QString > m_cacheStyles
 

Detailed Description

Singleton class that manage the styles.

Definition at line 34 of file styleSheet.h.

Constructor & Destructor Documentation

StyleSheet::StyleSheet ( )
explicitprivate

Definition at line 90 of file styleSheet.cpp.

Member Function Documentation

QString StyleSheet::getStyleSheet ( const QString &  style_name)
private

Definition at line 122 of file styleSheet.cpp.

StyleSheet & StyleSheet::instance ( )
static

Definition at line 84 of file styleSheet.cpp.

template<typename T >
void StyleSheet::setObjectStyleSheet ( T object,
const QString &  style_name 
)
private

Definition at line 135 of file styleSheet.cpp.

void StyleSheet::setStyleSheet ( QWidget *  widget,
const QString &  style_name 
)

Definition at line 93 of file styleSheet.cpp.

void StyleSheet::setStyleSheet ( QApplication *  app,
const QString &  style_name 
)

Definition at line 98 of file styleSheet.cpp.

Member Data Documentation

QMap<QString, QString> StyleSheet::m_cacheStyles
private

Definition at line 48 of file styleSheet.h.


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