Bitcoin
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
PlatformStyle Class Reference

#include <platformstyle.h>

Public Member Functions

const QString & getName () const
 
bool getImagesOnButtons () const
 
bool getUseExtraSpacing () const
 
QColor TextColor () const
 
QColor SingleColor () const
 
QImage SingleColorImage (const QString &filename) const
 
QIcon SingleColorIcon (const QString &filename) const
 
QIcon SingleColorIcon (const QIcon &icon) const
 
QIcon TextColorIcon (const QString &filename) const
 
QIcon TextColorIcon (const QIcon &icon) const
 

Static Public Member Functions

static const PlatformStyleinstantiate (const QString &platformId)
 

Private Member Functions

 PlatformStyle (const QString &name, bool imagesOnButtons, bool colorizeIcons, bool useExtraSpacing)
 

Private Attributes

QString name
 
bool imagesOnButtons
 
bool colorizeIcons
 
bool useExtraSpacing
 
QColor singleColor
 
QColor textColor
 

Constructor & Destructor Documentation

◆ PlatformStyle()

PlatformStyle::PlatformStyle ( const QString &  name,
bool  imagesOnButtons,
bool  colorizeIcons,
bool  useExtraSpacing 
)
private

Member Function Documentation

◆ getImagesOnButtons()

bool PlatformStyle::getImagesOnButtons ( ) const
inline

◆ getName()

const QString& PlatformStyle::getName ( ) const
inline

◆ getUseExtraSpacing()

bool PlatformStyle::getUseExtraSpacing ( ) const
inline

◆ instantiate()

const PlatformStyle * PlatformStyle::instantiate ( const QString &  platformId)
static

Get style associated with provided platform name, or 0 if not known

◆ SingleColor()

QColor PlatformStyle::SingleColor ( ) const
inline

◆ SingleColorIcon() [1/2]

QIcon PlatformStyle::SingleColorIcon ( const QString &  filename) const

Colorize an icon (given filename) with the icon color

◆ SingleColorIcon() [2/2]

QIcon PlatformStyle::SingleColorIcon ( const QIcon &  icon) const

Colorize an icon (given object) with the icon color

◆ SingleColorImage()

QImage PlatformStyle::SingleColorImage ( const QString &  filename) const

Colorize an image (given filename) with the icon color

◆ TextColor()

QColor PlatformStyle::TextColor ( ) const
inline

◆ TextColorIcon() [1/2]

QIcon PlatformStyle::TextColorIcon ( const QString &  filename) const

Colorize an icon (given filename) with the text color

◆ TextColorIcon() [2/2]

QIcon PlatformStyle::TextColorIcon ( const QIcon &  icon) const

Colorize an icon (given object) with the text color

Member Data Documentation

◆ colorizeIcons

bool PlatformStyle::colorizeIcons
private

◆ imagesOnButtons

bool PlatformStyle::imagesOnButtons
private

◆ name

QString PlatformStyle::name
private

◆ singleColor

QColor PlatformStyle::singleColor
private

◆ textColor

QColor PlatformStyle::textColor
private

◆ useExtraSpacing

bool PlatformStyle::useExtraSpacing
private

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