The ExerciseTimer class provides a simple elapsed timer for QML.
More...
#include "framework/utils/internal/ExerciseTimer.h"
|
|
void | runningChanged (void) |
| |
|
void | elapsedChanged (void) |
| |
|
|
QElapsedTimer | m_timer |
| |
|
bool | m_running = false |
| |
|
int | m_elapsed = 0 |
| |
The ExerciseTimer class provides a simple elapsed timer for QML.
◆ formattedRemainingTime()
| QString ExerciseTimer::formattedRemainingTime |
( |
int |
limitMSecs | ) |
|
Returns formatted remaining time (m:s or h:m:s).
◆ formattedTime()
| QString ExerciseTimer::formattedTime |
( |
void |
| ) |
|
Returns formatted elapsed time (m:s or h:m:s).
◆ start
| void ExerciseTimer::start |
( |
void |
| ) |
|
|
slot |
◆ stop
| void ExerciseTimer::stop |
( |
void |
| ) |
|
|
slot |
◆ update()
| void ExerciseTimer::update |
( |
void |
| ) |
|
Updates the elapsed property.
The documentation for this class was generated from the following files:
- src/framework/utils/internal/ExerciseTimer.h
- src/framework/utils/internal/ExerciseTimer.cpp