Bitcoin Core  22.99.0
P2P Digital Currency
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
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 235 of file guiutil.h.

Constructor & Destructor Documentation

◆ ThemedLabel()

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

Definition at line 796 of file guiutil.cpp.

Member Function Documentation

◆ changeEvent()

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

Definition at line 810 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 802 of file guiutil.cpp.

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

◆ updateThemedPixmap()

void GUIUtil::ThemedLabel::updateThemedPixmap ( )
private

Definition at line 819 of file guiutil.cpp.

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

Member Data Documentation

◆ m_image_filename

QString GUIUtil::ThemedLabel::m_image_filename
private

Definition at line 248 of file guiutil.h.

◆ m_pixmap_height

int GUIUtil::ThemedLabel::m_pixmap_height
private

Definition at line 250 of file guiutil.h.

◆ m_pixmap_width

int GUIUtil::ThemedLabel::m_pixmap_width
private

Definition at line 249 of file guiutil.h.

◆ m_platform_style

const PlatformStyle* GUIUtil::ThemedLabel::m_platform_style
private

Definition at line 247 of file guiutil.h.


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