![]() It is not possible to retrieve the contents of a QLCDNumber object, although you can retrieve the numeric value with value(). QLCDNumber substitutes spaces for illegal characters. These digits and other symbols can be shown: 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. If the display is set to hexadecimal, octal or binary, the integer equivalent of the value is displayed. The range is set by setDigitCount(), but setSmallDecimalPoint() also influences it. QLCDNumber emits the overflow() signal when it is asked to display something beyond its range. There are also slots to change the base with setMode() and the decimal point with setSmallDecimalPoint(). ![]() It is easy to connect to data sources using the display() slot, which is overloaded to take any of five argument types. It can display decimal, hexadecimal, octal or binary numbers. It can display a number in just about any size. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |