Definition at line 57 of file qlcdnumber.h.
#include <qlcdnumber.h>

Public Types |
|
| enum | Mode { Hex, Dec, Oct, Bin } |
| enum | SegmentStyle { Outline, Filled, Flat } |
Public Slots |
|
| void | display (const QString &str) |
| void | display (int num) |
| void | display (double num) |
| void | setHexMode () |
| void | setDecMode () |
| void | setOctMode () |
| void | setBinMode () |
| void | setSmallDecimalPoint (bool) |
Signals |
|
| void | overflow () |
Public Member Functions |
|
| QLCDNumber (QWidget *parent=0) | |
| QLCDNumber (uint numDigits, QWidget *parent=0) | |
| ~QLCDNumber () | |
| bool | smallDecimalPoint () const |
| int | digitCount () const |
| void | setDigitCount (int nDigits) |
| bool | checkOverflow (double num) const |
| bool | checkOverflow (int num) const |
| Mode | mode () const |
| void | setMode (Mode) |
| SegmentStyle | segmentStyle () const |
| void | setSegmentStyle (SegmentStyle) |
| double | value () const |
| int | intValue () const |
| QSize | sizeHint () const |
Protected Member Functions |
|
| bool | event (QEvent *e) |
| void | paintEvent (QPaintEvent *) |
Properties |
|
| bool | smallDecimalPoint |
| int | numDigits |
| int | digitCount |
| Mode | mode |
| SegmentStyle | segmentStyle |
| double | value |
| int | intValue |
| enum Mode |
Definition at line 74 of file qlcdnumber.h.
| enum SegmentStyle |
Definition at line 80 of file qlcdnumber.h.
| QLCDNumber | ( | QWidget * | parent = 0 |
) | [explicit] |
| QLCDNumber | ( | uint | numDigits, |
| QWidget * | parent = 0 |
||
| ) | [explicit] |
| ~QLCDNumber | ( | ) |
| bool smallDecimalPoint | ( | ) | const |
| int digitCount | ( | ) | const |
| void setDigitCount | ( | int | nDigits | ) |
| bool checkOverflow | ( | double | num | ) | const |
| bool checkOverflow | ( | int | num | ) | const |
| Mode mode | ( | ) | const |
| void setMode | ( | Mode | ) |
| SegmentStyle segmentStyle | ( | ) | const |
| void setSegmentStyle | ( | SegmentStyle | ) |
| double value | ( | ) | const |
| int intValue | ( | ) | const |
| void display | ( | const QString & | str | ) | [slot] |
| void display | ( | int | num | ) | [slot] |
| void display | ( | double | num | ) | [slot] |
| void setHexMode | ( | ) | [slot] |
| void setDecMode | ( | ) | [slot] |
| void setOctMode | ( | ) | [slot] |
| void setBinMode | ( | ) | [slot] |
| void setSmallDecimalPoint | ( | bool | ) | [slot] |
| void overflow | ( | ) | [signal] |
| void paintEvent | ( | QPaintEvent * | ) | [protected, virtual] |
Reimplemented from QFrame.
bool smallDecimalPoint [read,
write] |
Definition at line 61 of file qlcdnumber.h.
int numDigits [read, write] |
Definition at line 62 of file qlcdnumber.h.
int digitCount [read, write] |
Definition at line 63 of file qlcdnumber.h.
Mode
mode [read, write] |
Definition at line 64 of file qlcdnumber.h.
SegmentStyle
segmentStyle [read, write] |
Definition at line 65 of file qlcdnumber.h.
double value [read, write] |
Definition at line 66 of file qlcdnumber.h.
int intValue [read, write] |
Definition at line 67 of file qlcdnumber.h.