Bitcoin Core  27.99.0
P2P Digital Currency
Signals | Public Member Functions | Protected Member Functions | List of all members
GUIUtil::ClickableLabel Class Reference

#include <guiutil.h>

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

Signals

void clicked (const QPoint &point)
 Emitted when the label is clicked. More...
 

Public Member Functions

 ClickableLabel (const PlatformStyle *platform_style, QWidget *parent=nullptr)
 
- Public Member Functions inherited from GUIUtil::ThemedLabel
 ThemedLabel (const PlatformStyle *platform_style, QWidget *parent=nullptr)
 
void setThemedPixmap (const QString &image_filename, int width, int height)
 

Protected Member Functions

void mouseReleaseEvent (QMouseEvent *event) override
 
- Protected Member Functions inherited from GUIUtil::ThemedLabel
void changeEvent (QEvent *e) override
 

Detailed Description

Definition at line 271 of file guiutil.h.

Constructor & Destructor Documentation

◆ ClickableLabel()

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

Definition at line 868 of file guiutil.cpp.

Member Function Documentation

◆ clicked

void GUIUtil::ClickableLabel::clicked ( const QPoint &  point)
signal

Emitted when the label is clicked.

The relative mouse coordinates of the click are passed to the signal.

Here is the caller graph for this function:

◆ mouseReleaseEvent()

void GUIUtil::ClickableLabel::mouseReleaseEvent ( QMouseEvent *  event)
overrideprotected

Definition at line 873 of file guiutil.cpp.


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