![]() |
Dash Core
0.12.2.1
P2P Digital Currency
|
#include <bitcoingui.h>
Public Member Functions | |
UnitDisplayStatusBarControl (const PlatformStyle *platformStyle) | |
void | setOptionsModel (OptionsModel *optionsModel) |
Protected Member Functions | |
void | mousePressEvent (QMouseEvent *event) |
Private Slots | |
void | updateDisplayUnit (int newUnits) |
void | onMenuSelection (QAction *action) |
Private Member Functions | |
void | onDisplayUnitsClicked (const QPoint &point) |
void | createContextMenu () |
Private Attributes | |
OptionsModel * | optionsModel |
QMenu * | menu |
Definition at line 285 of file bitcoingui.h.
|
explicit |
Definition at line 1462 of file bitcoingui.cpp.
|
private |
Creates context menu, its actions, and wires up all the relevant signals for mouse events.
Definition at line 1487 of file bitcoingui.cpp.
Referenced by UnitDisplayStatusBarControl().
|
protected |
So that it responds to left-button clicks
So that it responds to button clicks
Definition at line 1481 of file bitcoingui.cpp.
|
private |
Shows context menu with Display Unit options by the mouse coordinates
Definition at line 1521 of file bitcoingui.cpp.
Referenced by mousePressEvent().
|
privateslot |
Tells underlying optionsModel to update its current display unit.
Definition at line 1528 of file bitcoingui.cpp.
Referenced by createContextMenu().
void UnitDisplayStatusBarControl::setOptionsModel | ( | OptionsModel * | optionsModel | ) |
Lets the control know about the Options Model (and its signals)
Definition at line 1500 of file bitcoingui.cpp.
Referenced by BitcoinGUI::setClientModel().
|
privateslot |
When Display Units are changed on OptionsModel it will refresh the display text of the control on the status bar
Definition at line 1515 of file bitcoingui.cpp.
Referenced by setOptionsModel().
|
private |
Definition at line 300 of file bitcoingui.h.
Referenced by createContextMenu(), and onDisplayUnitsClicked().
|
private |
Definition at line 299 of file bitcoingui.h.
Referenced by onMenuSelection(), and setOptionsModel().