QtPdWidgets
2.3.1
|
Base class for all widgets in this library. More...
#include <Widget.h>
Public Member Functions | |
Widget () | |
Constructor. More... | |
virtual | ~Widget () |
Destructor. More... | |
Static Public Member Functions | |
static void | setRedrawInterval (int) |
Sets the redraw interval. More... | |
static const QTimer * | getTimer () |
Returns the redrawTimer. More... | |
Static Private Attributes | |
static unsigned int | timerUseCount = 0 |
Number of widgets using the redrawTimer. More... | |
static int | timerInterval = 100 |
Current timer interval. More... | |
static QTimer | redrawTimer |
Redraw timer. More... | |
Base class for all widgets in this library.
Widget::Widget | ( | ) |
Constructor.
References redrawTimer, timerInterval, and timerUseCount.
|
virtual |
Destructor.
References redrawTimer, and timerUseCount.
|
inlinestatic |
Returns the redrawTimer.
References redrawTimer.
Referenced by Pd::Bar::Bar(), Pd::Dial::Dial(), Pd::Digital::Digital(), and Pd::Graph::Graph().
|
static |
Sets the redraw interval.
Process data widgets will be redrawn in this interval, if necessary.
msec | Redraw interval in milliseconds. |
References redrawTimer, and timerInterval.
|
staticprivate |
Redraw timer.
Referenced by getTimer(), setRedrawInterval(), Widget(), and ~Widget().
|
staticprivate |
Current timer interval.
Referenced by setRedrawInterval(), and Widget().
|
staticprivate |
Number of widgets using the redrawTimer.