Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
GUIUtil::ThemedLabel Class Reference

#include <guiutil.h>

Inheritance diagram for GUIUtil::ThemedLabel:
[legend]
Collaboration diagram for GUIUtil::ThemedLabel:
[legend]

Public Member Functions

 ThemedLabel (const PlatformStyle *platform_style, QWidget *parent=nullptr)
void setThemedPixmap (const QString &image_filename, int width, int height)

Protected Member Functions

void changeEvent (QEvent *e) override

Private Member Functions

void updateThemedPixmap ()

Private Attributes

const PlatformStylem_platform_style
QString m_image_filename
int m_pixmap_width
int m_pixmap_height

Detailed Description

Definition at line 252 of file guiutil.h.

Constructor & Destructor Documentation

◆ ThemedLabel()

GUIUtil::ThemedLabel::ThemedLabel ( const PlatformStyle * platform_style,
QWidget * parent = nullptr )
explicit

Definition at line 843 of file guiutil.cpp.

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

Member Function Documentation

◆ changeEvent()

void GUIUtil::ThemedLabel::changeEvent ( QEvent * e)
overrideprotected

Definition at line 857 of file guiutil.cpp.

Here is the call graph for this function:

◆ setThemedPixmap()

void GUIUtil::ThemedLabel::setThemedPixmap ( const QString & image_filename,
int width,
int height )

Definition at line 849 of file guiutil.cpp.

Here is the call graph for this function:

◆ updateThemedPixmap()

void GUIUtil::ThemedLabel::updateThemedPixmap ( )
private

Definition at line 866 of file guiutil.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ m_image_filename

QString GUIUtil::ThemedLabel::m_image_filename
private

Definition at line 265 of file guiutil.h.

◆ m_pixmap_height

int GUIUtil::ThemedLabel::m_pixmap_height
private

Definition at line 267 of file guiutil.h.

◆ m_pixmap_width

int GUIUtil::ThemedLabel::m_pixmap_width
private

Definition at line 266 of file guiutil.h.

◆ m_platform_style

const PlatformStyle* GUIUtil::ThemedLabel::m_platform_style
private

Definition at line 264 of file guiutil.h.


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