#include <bitcoingui.h>
Definition at line 325 of file bitcoingui.h.
◆ UnitDisplayStatusBarControl()
UnitDisplayStatusBarControl::UnitDisplayStatusBarControl |
( |
const PlatformStyle * |
platformStyle | ) |
|
|
explicit |
◆ changeEvent()
void UnitDisplayStatusBarControl::changeEvent |
( |
QEvent * |
e | ) |
|
|
overrideprotected |
◆ createContextMenu()
void UnitDisplayStatusBarControl::createContextMenu |
( |
| ) |
|
|
private |
Creates context menu, its actions, and wires up all the relevant signals for mouse events.
Definition at line 1639 of file bitcoingui.cpp.
◆ mousePressEvent()
void UnitDisplayStatusBarControl::mousePressEvent |
( |
QMouseEvent * |
event | ) |
|
|
overrideprotected |
So that it responds to left-button clicks.
So that it responds to button clicks.
Definition at line 1621 of file bitcoingui.cpp.
◆ onDisplayUnitsClicked()
void UnitDisplayStatusBarControl::onDisplayUnitsClicked |
( |
const QPoint & |
point | ) |
|
|
private |
Shows context menu with Display Unit options by the mouse coordinates.
Definition at line 1670 of file bitcoingui.cpp.
◆ onMenuSelection
void UnitDisplayStatusBarControl::onMenuSelection |
( |
QAction * |
action | ) |
|
|
privateslot |
Tells underlying optionsModel to update its current display unit.
Definition at line 1677 of file bitcoingui.cpp.
◆ setOptionsModel()
void UnitDisplayStatusBarControl::setOptionsModel |
( |
OptionsModel * |
optionsModel | ) |
|
Lets the control know about the Options Model (and its signals)
Definition at line 1649 of file bitcoingui.cpp.
◆ updateDisplayUnit
void UnitDisplayStatusBarControl::updateDisplayUnit |
( |
BitcoinUnit |
newUnits | ) |
|
|
privateslot |
When Display Units are changed on OptionsModel it will refresh the display text of the control on the status bar.
Definition at line 1664 of file bitcoingui.cpp.
◆ m_platform_style
const PlatformStyle* UnitDisplayStatusBarControl::m_platform_style |
|
private |
◆ menu
QMenu* UnitDisplayStatusBarControl::menu {nullptr} |
|
private |
◆ optionsModel
OptionsModel* UnitDisplayStatusBarControl::optionsModel {nullptr} |
|
private |
The documentation for this class was generated from the following files: