A widget which displays a decrementing number.
More...
#include <CountDownWidget.h>
A widget which displays a decrementing number.
Definition at line 25 of file CountDownWidget.h.
◆ CountDownWidget()
CountDownWidget::CountDownWidget |
( |
int |
start, |
|
|
int |
stop, |
|
|
unsigned |
msec, |
|
|
WContainerWidget * |
parent = 0 |
|
) |
| |
Create a new CountDownWidget.
The widget will count down from start to stop, decrementing the number every msec milliseconds.
Definition at line 12 of file CountDownWidget.C.
27 setText(boost::lexical_cast<std::string>(
current_));
◆ cancel()
void CountDownWidget::cancel |
( |
| ) |
|
◆ done()
Wt::Signal<void>& CountDownWidget::done |
( |
| ) |
|
|
inline |
Signal emitted when the countdown reached stop.
Definition at line 38 of file CountDownWidget.h.
◆ timerTick()
void CountDownWidget::timerTick |
( |
| ) |
|
|
private |
◆ current_
int CountDownWidget::current_ |
|
private |
◆ done_
Wt::Signal<void> CountDownWidget::done_ |
|
private |
◆ start_
int CountDownWidget::start_ |
|
private |
◆ stop_
int CountDownWidget::stop_ |
|
private |
◆ timer_
WTimer* CountDownWidget::timer_ |
|
private |
The documentation for this class was generated from the following files: