#include <bitcoingui.h>
Definition at line 349 of file bitcoingui.h.
◆ UnitDisplayStatusBarControl()
UnitDisplayStatusBarControl::UnitDisplayStatusBarControl |
( |
const PlatformStyle * |
platformStyle | ) |
|
|
explicit |
◆ createContextMenu()
void UnitDisplayStatusBarControl::createContextMenu |
( |
| ) |
|
|
private |
Creates context menu, its actions, and wires up all the relevant signals for mouse events.
Definition at line 1626 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 1620 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 1661 of file bitcoingui.cpp.
◆ onMenuSelection
void UnitDisplayStatusBarControl::onMenuSelection |
( |
QAction * |
action | ) |
|
|
privateslot |
Tells underlying optionsModel to update its current display unit.
Definition at line 1667 of file bitcoingui.cpp.
◆ setOptionsModel()
void UnitDisplayStatusBarControl::setOptionsModel |
( |
OptionsModel * |
optionsModel | ) |
|
Lets the control know about the Options Model (and its signals)
Definition at line 1639 of file bitcoingui.cpp.
◆ updateDisplayUnit
void UnitDisplayStatusBarControl::updateDisplayUnit |
( |
int |
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 1656 of file bitcoingui.cpp.
◆ menu
QMenu* UnitDisplayStatusBarControl::menu |
|
private |
◆ optionsModel
The documentation for this class was generated from the following files: