![]() |
Bitcoin Core 31.1.0
P2P Digital Currency
|
#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 |
| Colorize an image (given filename) with the icon color. | |
| QIcon | SingleColorIcon (const QString &filename) const |
| Colorize an icon (given filename) with the icon color. | |
| QIcon | SingleColorIcon (const QIcon &icon) const |
| Colorize an icon (given object) with the icon color. | |
| QIcon | TextColorIcon (const QIcon &icon) const |
| Colorize an icon (given object) with the text color. | |
Static Public Member Functions | |
| static const PlatformStyle * | instantiate (const QString &platformId) |
| Get style associated with provided platform name, or 0 if not known. | |
Private Member Functions | |
| PlatformStyle (const QString &name, bool imagesOnButtons, bool colorizeIcons, bool useExtraSpacing) | |
Private Attributes | |
| QString | name |
| bool | imagesOnButtons |
| bool | colorizeIcons |
| bool | useExtraSpacing |
Definition at line 13 of file platformstyle.h.
|
private |
|
inline |
|
inline |
Definition at line 19 of file platformstyle.h.
|
inline |
|
static |
Get style associated with provided platform name, or 0 if not known.
Definition at line 124 of file platformstyle.cpp.
| QColor PlatformStyle::SingleColor | ( | ) | const |
| QIcon PlatformStyle::SingleColorIcon | ( | const QIcon & | icon | ) | const |
Colorize an icon (given object) with the icon color.
Definition at line 112 of file platformstyle.cpp.
| QIcon PlatformStyle::SingleColorIcon | ( | const QString & | filename | ) | const |
Colorize an icon (given filename) with the icon color.
Definition at line 105 of file platformstyle.cpp.
| QImage PlatformStyle::SingleColorImage | ( | const QString & | filename | ) | const |
Colorize an image (given filename) with the icon color.
Definition at line 98 of file platformstyle.cpp.
| QColor PlatformStyle::TextColor | ( | ) | const |
| QIcon PlatformStyle::TextColorIcon | ( | const QIcon & | icon | ) | const |
Colorize an icon (given object) with the text color.
Definition at line 119 of file platformstyle.cpp.
|
private |
Definition at line 44 of file platformstyle.h.
|
private |
Definition at line 43 of file platformstyle.h.
|
private |
Definition at line 42 of file platformstyle.h.
|
private |
Definition at line 45 of file platformstyle.h.