![]() |
MAK RTIspy API Documentation for HLA 1.3
|
The analogClock class defines a QT GUI display of the current time / subscription information in the simpleDDM Example. More...
Inheritance diagram for analogClock:
Collaboration diagram for analogClock:Public Slots | |
| void | toggle () |
| void | setUTC () |
Public Member Functions | |
| analogClock (bool isPublisher, bool isClockWise, int zone, bool displayRegions, QWidget *parent=0, const char *name=0) | |
| ~analogClock () | |
| void | setAutoMask (bool b) |
| void | setRangeInHours (float minimum, float maximum) |
| void | setRangeInSeconds (int minimum, int maximum) |
| void | setTime (int seconds) |
| void | setTime (float hour=12.0f, float minute=0, float second=0) |
| bool | getClockWise () |
| int | zone () |
| void | setZone (int newZone) |
Public Attributes | |
| bool | initialized |
Static Public Attributes | |
| static const int | degreesInACircle |
| static const int | numHoursOnOurClock |
| static const int | numTicksPerDegree |
Protected Member Functions | |
| void | paintEvent (QPaintEvent *event) |
| void | closeEvent (QCloseEvent *) |
| void | drawClock (QPainter *paint) |
Private Slots | |
| void | initialize () |
Private Attributes | |
| float | myMinHour |
| float | myMaxHour |
| int | myMinSeconds |
| int | myMinMinutes |
| int | myMaxSeconds |
| int | myMaxMinutes |
| float | myMinutes |
| float | mySeconds |
| float | myHours |
| bool | myPublisher |
| bool | clockWise |
| bool | myDrawArc |
| int | myUTCzone |
| QPoint | clickPos |
| QPushButton * | clockwiseButton |
| QPushButton * | setUTCButton |
| QLineEdit * | utcLineEdit |
| QTimer * | internalTimer |
| QVBoxLayout * | vLayout |
| QHBoxLayout * | hLayout |
| QSpacerItem * | hSpacer |
| QSpacerItem * | vSpacer |
Static Private Attributes | |
| static const unsigned int | NUMSECONDSPERMINUTE |
| static const unsigned int | NUMMINUTESPERHOUR |
| static const unsigned int | NUMSECONDSPERHOUR |
The analogClock class defines a QT GUI display of the current time / subscription information in the simpleDDM Example.
| analogClock::analogClock | ( | bool | isPublisher, |
| bool | isClockWise, | ||
| int | zone, | ||
| bool | displayRegions, | ||
| QWidget * | parent = 0, |
||
| const char * | name = 0 |
||
| ) |
| analogClock::~analogClock | ( | ) |
|
protected |
|
protected |
|
inline |
References clockWise.
|
privateslot |
|
protected |
| void analogClock::setAutoMask | ( | bool | b | ) |
|
inline |
|
inline |
References myMaxHour, myMinHour, and NUMSECONDSPERHOUR.
|
inline |
References NUMSECONDSPERHOUR, and NUMSECONDSPERMINUTE.
|
inline |
|
slot |
|
inline |
References myUTCzone, and utcLineEdit.
|
slot |
|
inline |
References myUTCzone.
|
private |
|
private |
Referenced by getClockWise().
|
private |
|
static |
|
private |
|
private |
| bool analogClock::initialized |
|
private |
|
private |
|
private |
Referenced by setTime().
|
private |
Referenced by setRangeInHours(), and setRangeInSeconds().
|
private |
|
private |
|
private |
Referenced by setRangeInHours(), and setRangeInSeconds().
|
private |
|
private |
|
private |
Referenced by setTime().
|
private |
|
private |
Referenced by setTime().
|
static |
|
staticprivate |
|
staticprivate |
Referenced by setRangeInSeconds(), and setTime().
|
staticprivate |
Referenced by setTime().
|
static |
|
private |
|
private |
Referenced by setZone().
|
private |
|
private |