#include <anoncoingui.h>
Definition at line 222 of file anoncoingui.h.
UnitDisplayStatusBarControl::UnitDisplayStatusBarControl |
( |
| ) |
|
|
explicit |
void UnitDisplayStatusBarControl::createContextMenu |
( |
| ) |
|
|
private |
Creates context menu, its actions, and wires up all the relevant signals for mouse events.
Definition at line 1141 of file anoncoingui.cpp.
void UnitDisplayStatusBarControl::mousePressEvent |
( |
QMouseEvent * |
event | ) |
|
|
protected |
void UnitDisplayStatusBarControl::onDisplayUnitsClicked |
( |
const QPoint & |
point | ) |
|
|
private |
Shows context menu with Display Unit options by the mouse coordinates.
Definition at line 1179 of file anoncoingui.cpp.
void UnitDisplayStatusBarControl::onMenuSelection |
( |
QAction * |
action | ) |
|
|
privateslot |
Tells underlying optionsModel to update its current display unit.
Definition at line 1186 of file anoncoingui.cpp.
void UnitDisplayStatusBarControl::setOptionsModel |
( |
OptionsModel * |
optionsModel | ) |
|
Lets the control know about the Options Model (and its signals)
Definition at line 1158 of file anoncoingui.cpp.
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 1173 of file anoncoingui.cpp.
QMenu* UnitDisplayStatusBarControl::menu |
|
private |
The documentation for this class was generated from the following files: