45 #include <QtGui/qframe.h> 46 #include <QtCore/qbitarray.h> 54 #ifndef QT_NO_LCDNUMBER 61 bool smallDecimalPoint;
65 SegmentStyle segmentStyle;
76 #if defined(QT3_SUPPORT) && !defined(Q_MOC_RUN) 77 , HEX = Hex, DEC = Dec, OCT = Oct, BIN = Bin
84 bool smallDecimalPoint()
const;
89 int digitCount()
const;
90 void setDigitCount(
int nDigits);
92 bool checkOverflow(
double num)
const;
93 bool checkOverflow(
int num)
const;
101 double value()
const;
102 int intValue()
const;
114 void setSmallDecimalPoint(
bool);
128 QT3_SUPPORT
void setMargin(
int margin) {
setContentsMargins(margin, margin, margin, margin); }
129 QT3_SUPPORT
int margin()
const 130 {
int margin;
int dummy;
getContentsMargins(&margin, &dummy, &dummy, &dummy);
return margin; }
138 #endif // QT_NO_LCDNUMBER 144 #endif // QLCDNUMBER_H
void paintEvent(QPaintEvent *)
This event handler can be reimplemented in a subclass to receive paint events passed in event...
#define QT_END_NAMESPACE
This macro expands to.
#define Q_DISABLE_COPY(Class)
Disables the use of copy constructors and assignment operators for the given Class.
Mode
This type determines how numbers are shown.
The QString class provides a Unicode character string.
#define QT_BEGIN_NAMESPACE
This macro expands to.
Q_GUI_EXPORT EGLDisplay display()
static int numDigits(qlonglong n)
bool event(QEvent *e)
Reimplemented Function
The QLCDNumber widget displays a number with LCD-like digits.
SegmentStyle
This type determines the visual appearance of the QLCDNumber widget.
QSize sizeHint() const
em>Reimplemented Function
The QSize class defines the size of a two-dimensional object using integer point precision.
#define Q_DECLARE_PRIVATE(Class)
The QPaintEvent class contains event parameters for paint events.
The QEvent class is the base class of all event classes.
The QFrame class is the base class of widgets that can have a frame.