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 |
( |
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_));
void CountDownWidget::cancel |
( |
| ) |
|
Signal emitted when the countdown reached stop.
Definition at line 38 of file CountDownWidget.h.
void CountDownWidget::timerTick |
( |
| ) |
|
|
private |
int CountDownWidget::current_ |
|
private |
unsigned CountDownWidget::msec_ |
|
private |
int CountDownWidget::start_ |
|
private |
int CountDownWidget::stop_ |
|
private |
WTimer* CountDownWidget::timer_ |
|
private |
The documentation for this class was generated from the following files: