以下成员源于类 QLCDNumber 已过时。 提供它们是为使旧源代码能继续工作。强烈建议不要在新代码中使用它们。
(obsolete)
numDigits
: int
(obsolete)
|
QLCDNumber (QWidget * parent , const char * name ) |
(obsolete)
|
QLCDNumber (uint numDigits , QWidget * parent , const char * name ) |
This property holds the current number of digits displayed.
访问函数:
| int | numDigits () const |
| void | setNumDigits (int nDigits ) |
另请参阅 digitCount .
Constructs an LCD number, sets the number of digits to 5, the base to decimal, the decimal point mode to 'small' and the frame style to a raised box. The
segmentStyle
() 被设为
Outline
.
The parent and name 自变量被传递给 QFrame 构造函数。
另请参阅 setDigitCount () 和 setSmallDecimalPoint ().
Constructs an LCD number, sets the number of digits to
numDigits
, the base to decimal, the decimal point mode to 'small' and the frame style to a raised box. The
segmentStyle
() 被设为
Outline
.
The parent and name 自变量被传递给 QFrame 构造函数。
另请参阅 setDigitCount () 和 setSmallDecimalPoint ().