Relacs Widgets Library
0.9.8
|
#include <lcdrange.h>
Public Slots | |
void | setValue (int val) |
void | setRange (int minval, int maxval) |
void | setText (const string &text) |
void | setSteps (int linestep, int pagestep) |
Signals | |
void | valueChanged (int val) |
Public Member Functions | |
LCDRange (QWidget *parent=0, int nodigits=2, int minval=0, int maxval=99, int linestep=5, int pagestep=10, int initval=0) | |
LCDRange (const char *s, QWidget *parent, int nodigits=2, int minval=0, int maxval=99, int linestep=5, int pagestep=10, int initval=0) | |
LCDRange (const char *s, int nodigits=2, int minval=0, int maxval=99, int linestep=5, int pagestep=10, int initval=0, QWidget *parent=0) | |
int | value (void) const |
string | text (void) const |
An LCD number with range.
LCDRange | ( | QWidget * | parent = 0 , |
int | nodigits = 2 , |
||
int | minval = 0 , |
||
int | maxval = 99 , |
||
int | linestep = 5 , |
||
int | pagestep = 10 , |
||
int | initval = 0 |
||
) |
LCDRange | ( | const char * | s, |
QWidget * | parent, | ||
int | nodigits = 2 , |
||
int | minval = 0 , |
||
int | maxval = 99 , |
||
int | linestep = 5 , |
||
int | pagestep = 10 , |
||
int | initval = 0 |
||
) |
References LCDRange::setText().
LCDRange | ( | const char * | s, |
int | nodigits = 2 , |
||
int | minval = 0 , |
||
int | maxval = 99 , |
||
int | linestep = 5 , |
||
int | pagestep = 10 , |
||
int | initval = 0 , |
||
QWidget * | parent = 0 |
||
) |
References LCDRange::setText().
int value | ( | void | ) | const |
The (integer) value that is currently displayed.
string text | ( | void | ) | const |
The text that is displayed below the LCD display.
|
slot |
Set the (integer) value that is displayed to val .
|
slot |
Set the maximum range of allowed values to minval to maxval .
|
slot |
Set the text that is displayed below the LCD display to text .
Referenced by LCDRange::LCDRange().
|
slot |
Set the step increments to linestep and pagestep.
|
signal |
This signal is emmited whenever a new value is displayed. val is the new value.