Inheritance diagram for DzLCDNumber:
Enumerations | |
enum | Mode { Hex, Dec, Oct, Bin, HEX = Hex, DEC = Dec, OCT = Oct, BIN = Bin } |
enum | SegmentStyle { Outline, Filled, Flat } |
Properties | |
Mode | mode |
Number | numDigits |
SegmentStyle | segmentStyle |
Boolean | smallDecimalPoint |
Number | value |
Constructors | |
DzLCDNumber (DzWidget parent) | |
Signals | |
void | overflow () |
Signature: "overflow()" |
This widget provides a LCD-style number display.
The following digits and symbols can be displayed:
0/O, 1, 2, 3, 4, 5/S, 6, 7, 8, 9/g, - (minus), . (decimal point), A, B, C, D, E, F, h, H, L, o, P, r, u, U, Y, : (colon), ° (degree sign - which is specified as single quote in the string) and space.
Illegal characters are substituted with spaces.
enum DzLCDNumber::Mode |
DzLCDNumber::DzLCDNumber | ( | DzWidget | parent | ) |
Creates a date time edit widget as a child of the given parent widget
void DzLCDNumber::overflow | ( | ) | [signal] |
Signature: "overflow()"
Emitted when the number is set to a value that exceeds the number of digits.
Holds the display mode of the number.
Holds the number of digits displayed in the widget.
Holds the style of the number.
Holds whether the decimal point is drawn between digits - otherwise it takes up a digit of its own.
double DzLCDNumber::value |
Holds the value of the number.