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