Raven Core  3.0.0
P2P Digital Currency
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 ToolBarSelectedTextColor () const
 
QColor ToolBarNotSelectedTextColor () const
 
QColor SingleColor () const
 
QColor MainBackGroundColor () const
 
QColor TopWidgetBackGroundColor () const
 
QColor WidgetBackGroundColor () const
 
QColor SendEntriesBackGroundColor () const
 
QColor ShadowColor () const
 
QColor LightBlueColor () const
 
QColor DarkBlueColor () const
 
QColor LightOrangeColor () const
 
QColor DarkOrangeColor () const
 
QImage SingleColorImage (const QString &filename) const
 Colorize an image (given filename) with the icon color. More...
 
QIcon SingleColorIcon (const QString &filename) const
 Colorize an icon (given filename) with the icon color. More...
 
QIcon SingleColorIcon (const QIcon &icon) const
 Colorize an icon (given object) with the icon color. More...
 
QIcon SingleColorIcon (const QIcon &icon, const QColor &color) const
 Colorize an icon (given object) with the (given color) More...
 
QIcon SingleColorIconOnOff (const QString &filenameOn, const QString &filenameOff) const
 Set icon with two states on and off. More...
 
QIcon TextColorIcon (const QString &filename) const
 Colorize an icon (given filename) with the text color. More...
 
QIcon TextColorIcon (const QIcon &icon) const
 Colorize an icon (given object) with the text color. More...
 
QIcon OrangeColorIcon (const QString &filename) const
 Colorize an icon (given filename) with the color dark orange. More...
 
QIcon OrangeColorIcon (const QIcon &icon) const
 Colorize an icon (given object) with the color dark orange. More...
 

Static Public Member Functions

static const PlatformStyleinstantiate (const QString &platformId)
 Get style associated with provided platform name, or 0 if not known. More...
 

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
 

Detailed Description

Definition at line 16 of file platformstyle.h.

Constructor & Destructor Documentation

◆ PlatformStyle()

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

Definition at line 78 of file platformstyle.cpp.

Here is the caller graph for this function:

Member Function Documentation

◆ DarkBlueColor()

QColor PlatformStyle::DarkBlueColor ( ) const

Definition at line 236 of file platformstyle.cpp.

Here is the caller graph for this function:

◆ DarkOrangeColor()

QColor PlatformStyle::DarkOrangeColor ( ) const

Definition at line 249 of file platformstyle.cpp.

Here is the caller graph for this function:

◆ getImagesOnButtons()

bool PlatformStyle::getImagesOnButtons ( ) const
inline

Definition at line 24 of file platformstyle.h.

Here is the caller graph for this function:

◆ getName()

const QString& PlatformStyle::getName ( ) const
inline

Definition at line 22 of file platformstyle.h.

Here is the caller graph for this function:

◆ getUseExtraSpacing()

bool PlatformStyle::getUseExtraSpacing ( ) const
inline

Definition at line 25 of file platformstyle.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ instantiate()

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

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

Definition at line 263 of file platformstyle.cpp.

Here is the caller graph for this function:

◆ LightBlueColor()

QColor PlatformStyle::LightBlueColor ( ) const

Definition at line 228 of file platformstyle.cpp.

Here is the caller graph for this function:

◆ LightOrangeColor()

QColor PlatformStyle::LightOrangeColor ( ) const

Definition at line 244 of file platformstyle.cpp.

Here is the caller graph for this function:

◆ MainBackGroundColor()

QColor PlatformStyle::MainBackGroundColor ( ) const

Definition at line 188 of file platformstyle.cpp.

Here is the caller graph for this function:

◆ OrangeColorIcon() [1/2]

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

Colorize an icon (given filename) with the color dark orange.

Definition at line 139 of file platformstyle.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ OrangeColorIcon() [2/2]

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

Colorize an icon (given object) with the color dark orange.

Definition at line 146 of file platformstyle.cpp.

Here is the call graph for this function:

◆ SendEntriesBackGroundColor()

QColor PlatformStyle::SendEntriesBackGroundColor ( ) const

Definition at line 212 of file platformstyle.cpp.

Here is the caller graph for this function:

◆ ShadowColor()

QColor PlatformStyle::ShadowColor ( ) const

Definition at line 220 of file platformstyle.cpp.

Here is the caller graph for this function:

◆ SingleColor()

QColor PlatformStyle::SingleColor ( ) const

Definition at line 254 of file platformstyle.cpp.

Here is the caller graph for this function:

◆ SingleColorIcon() [1/3]

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

Colorize an icon (given filename) with the icon color.

Definition at line 110 of file platformstyle.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SingleColorIcon() [2/3]

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

Colorize an icon (given object) with the icon color.

Definition at line 125 of file platformstyle.cpp.

Here is the call graph for this function:

◆ SingleColorIcon() [3/3]

QIcon PlatformStyle::SingleColorIcon ( const QIcon &  icon,
const QColor &  color 
) const

Colorize an icon (given object) with the (given color)

Definition at line 132 of file platformstyle.cpp.

◆ SingleColorIconOnOff()

QIcon PlatformStyle::SingleColorIconOnOff ( const QString &  filenameOn,
const QString &  filenameOff 
) const

Set icon with two states on and off.

Definition at line 117 of file platformstyle.cpp.

Here is the caller graph for this function:

◆ SingleColorImage()

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

Colorize an image (given filename) with the icon color.

Definition at line 103 of file platformstyle.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ TextColor()

QColor PlatformStyle::TextColor ( ) const

Definition at line 164 of file platformstyle.cpp.

Here is the caller graph for this function:

◆ TextColorIcon() [1/2]

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

Colorize an icon (given filename) with the text color.

Definition at line 154 of file platformstyle.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ TextColorIcon() [2/2]

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

Colorize an icon (given object) with the text color.

Definition at line 159 of file platformstyle.cpp.

Here is the call graph for this function:

◆ ToolBarNotSelectedTextColor()

QColor PlatformStyle::ToolBarNotSelectedTextColor ( ) const

Definition at line 180 of file platformstyle.cpp.

Here is the caller graph for this function:

◆ ToolBarSelectedTextColor()

QColor PlatformStyle::ToolBarSelectedTextColor ( ) const

Definition at line 172 of file platformstyle.cpp.

Here is the caller graph for this function:

◆ TopWidgetBackGroundColor()

QColor PlatformStyle::TopWidgetBackGroundColor ( ) const

Definition at line 196 of file platformstyle.cpp.

Here is the caller graph for this function:

◆ WidgetBackGroundColor()

QColor PlatformStyle::WidgetBackGroundColor ( ) const

Definition at line 204 of file platformstyle.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ colorizeIcons

bool PlatformStyle::colorizeIcons
private

Definition at line 74 of file platformstyle.h.

◆ imagesOnButtons

bool PlatformStyle::imagesOnButtons
private

Definition at line 73 of file platformstyle.h.

◆ name

QString PlatformStyle::name
private

Definition at line 72 of file platformstyle.h.

◆ singleColor

QColor PlatformStyle::singleColor
private

Definition at line 76 of file platformstyle.h.

◆ textColor

QColor PlatformStyle::textColor
private

Definition at line 77 of file platformstyle.h.

◆ useExtraSpacing

bool PlatformStyle::useExtraSpacing
private

Definition at line 75 of file platformstyle.h.


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