Obsolete Members for QLCDNumber

以下成员源于类 QLCDNumber 已过时。 提供它们是为使旧源代码能继续工作。强烈建议不要在新代码中使用它们。

特性

公共函数

(obsolete) QLCDNumber (QWidget * parent , const char * name )
(obsolete) QLCDNumber (uint numDigits , QWidget * parent , const char * name )

特性文档编制

numDigits : int

This property holds the current number of digits displayed.

访问函数:

int numDigits () const
void setNumDigits (int nDigits )

另请参阅 digitCount .

成员函数文档编制

QLCDNumber:: QLCDNumber ( QWidget * parent , const char * name )

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 ().

QLCDNumber:: QLCDNumber ( uint numDigits , QWidget * parent , const char * name )

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 ().