![]() |
MAK Data Logger API Documentation for HLA
|
Connection light widget which will show connectivity state via difference colors. More...
Inheritance diagram for MAKLogger::DtConnectionLight:
Collaboration diagram for MAKLogger::DtConnectionLight:Public Slots | |
| void | postModelUpdate (DtLgrGuiModel &) |
| Model. | |
Signals | |
| void | displayConnectionInfo () |
| void | toggleConnection () |
Public Member Functions | |
| DtConnectionLight (DtLgrGuiModel &model, bool drawIcons, QWidget *parent) | |
| virtual | ~DtConnectionLight () |
| bool | connected () const |
| Get whether the light shows it is connected (to network) | |
| void | setConnected (bool connected) |
| Slots for controlling the connected state. | |
| bool | activity () const |
| Get whether the light shows it has network activity. | |
| void | setActivity (bool active) |
| Slots for controlling the activated state. | |
Protected Member Functions | |
| virtual void | paintEvent (QPaintEvent *) |
| virtual void | contextMenuEvent (QContextMenuEvent *) |
| virtual void | mouseDoubleClickEvent (QMouseEvent *) |
| virtual void | drawIcons () |
| virtual void | drawLight () |
Protected Attributes | |
| bool | myConnected |
| bool | myActivity |
| bool | myDrawIcons |
| QIcon | myConnectionIcon |
| QColor | myDisconnectedColor |
| QColor | myConnectedColor |
| QColor | myActiveColor |
Connection light widget which will show connectivity state via difference colors.
The light will either be connected or disconnected. A secondary state while the light is connected can be active or not, which indicates activities (typically receiving information via the connection).
| MAKLogger::DtConnectionLight::DtConnectionLight | ( | DtLgrGuiModel & | model, |
| bool | drawIcons, | ||
| QWidget * | parent | ||
| ) |
|
virtual |
| bool MAKLogger::DtConnectionLight::activity | ( | ) | const |
Get whether the light shows it has network activity.
| bool MAKLogger::DtConnectionLight::connected | ( | ) | const |
Get whether the light shows it is connected (to network)
|
protectedvirtual |
|
signal |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
slot |
Model.
| void MAKLogger::DtConnectionLight::setActivity | ( | bool | active | ) |
Slots for controlling the activated state.
| void MAKLogger::DtConnectionLight::setConnected | ( | bool | connected | ) |
Slots for controlling the connected state.
|
signal |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |