Obsolete Members for QLCDNumber

The following members of class QLCDNumber are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.

Properties

Public Functions

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

Property Documentation

numDigits : int

This property holds the current number of digits displayed.

Access functions:

int numDigits() const
void setNumDigits(int nDigits)

See also digitCount.

Member Function Documentation

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() is set to Outline.

The parent and name arguments are passed to the QFrame constructor.

See also setDigitCount() and 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() is set to Outline.

The parent and name arguments are passed to the QFrame constructor.

See also setDigitCount() and setSmallDecimalPoint().

© 2016 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.