Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
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.

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 871 of file guiutil.cpp.

Here is the call graph for this function:

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 876 of file guiutil.cpp.

Here is the call graph for this function:

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