<class name="QLCDNumber" doc="/**
&lt;p&gt;The &lt;a href=&quot;QLCDNumber.html#QLCDNumber(int, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QLCDNumber&lt;/tt&gt;&lt;/a&gt; widget displays a number with LCD-like digits.&lt;/p&gt;
&lt;p&gt;It can display a number in just about any size. It can display decimal, hexadecimal, octal or binary numbers. It is easy to connect to data sources using the &lt;a href=&quot;QLCDNumber.html#display(int)&quot;&gt;&lt;tt&gt;display&lt;/tt&gt;&lt;/a&gt; slot, which is overloaded to take any of five argument types.&lt;/p&gt;
&lt;p&gt;There are also slots to change the base with &lt;a href=&quot;QLCDNumber.html#setMode(com.trolltech.qt.gui.QLCDNumber.Mode)&quot;&gt;&lt;tt&gt;setMode&lt;/tt&gt;&lt;/a&gt; and the decimal point with &lt;a href=&quot;QLCDNumber.html#setSmallDecimalPoint(boolean)&quot;&gt;&lt;tt&gt;setSmallDecimalPoint&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;QLCDNumber.html#QLCDNumber(int, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QLCDNumber&lt;/tt&gt;&lt;/a&gt; emits the &lt;a href=&quot;QLCDNumber.html#overflow()&quot;&gt;&lt;tt&gt;overflow&lt;/tt&gt;&lt;/a&gt; signal when it is asked to display something beyond its range. The range is set by &lt;a href=&quot;QLCDNumber.html#setNumDigits(int)&quot;&gt;&lt;tt&gt;setNumDigits&lt;/tt&gt;&lt;/a&gt;, but &lt;a href=&quot;QLCDNumber.html#setSmallDecimalPoint(boolean)&quot;&gt;&lt;tt&gt;setSmallDecimalPoint&lt;/tt&gt;&lt;/a&gt; also influences it. If the display is set to hexadecimal, octal or binary, the integer equivalent of the value is displayed.&lt;/p&gt;
&lt;p&gt;These digits and other symbols can be shown: 0/O, 1, 2, 3, 4, 5/S, 6, 7, 8, 9/g, minus, decimal point, A, B, C, D, E, F, h, H, L, o, P, r, u, U, Y, colon, degree sign (which is specified as single quote in the string) and space. &lt;a href=&quot;QLCDNumber.html#QLCDNumber(int, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QLCDNumber&lt;/tt&gt;&lt;/a&gt; substitutes spaces for illegal characters.&lt;/p&gt;
&lt;p&gt;It is not possible to retrieve the contents of a &lt;a href=&quot;QLCDNumber.html#QLCDNumber(int, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QLCDNumber&lt;/tt&gt;&lt;/a&gt; object, although you can retrieve the numeric value with &lt;a href=&quot;QLCDNumber.html#value()&quot;&gt;&lt;tt&gt;value&lt;/tt&gt;&lt;/a&gt;. If you really need the text, we recommend that you connect the signals that feed the &lt;a href=&quot;QLCDNumber.html#display(int)&quot;&gt;&lt;tt&gt;display&lt;/tt&gt;&lt;/a&gt; slot to another slot as well and store the value there.&lt;/p&gt;
&lt;p&gt;Incidentally, &lt;a href=&quot;QLCDNumber.html#QLCDNumber(int, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QLCDNumber&lt;/tt&gt;&lt;/a&gt; is the very oldest part of Qt, tracing its roots back to a BASIC program on the &lt;a href=&quot;http://www.nvg.ntnu.no/sinclair/computers/zxspectrum/zxspectrum.htm&quot;&gt;Sinclair Spectrum&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;2&quot; cellspacing=&quot;1&quot; border=&quot;0&quot;&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;img src=&quot;%2E%2E/images/motif-lcdnumber.png&quot; alt=&quot;Screenshot of a Motif style LCD number widget&quot; /&gt; &lt;img src=&quot;%2E%2E/images/cde-lcdnumber.png&quot; alt=&quot;Screenshot of a CDE style LCD number widget&quot; /&gt; &lt;img src=&quot;%2E%2E/images/windows-lcdnumber.png&quot; alt=&quot;Screenshot of a Windows style LCD number widget&quot; /&gt; &lt;img src=&quot;%2E%2E/images/windowsxp-lcdnumber.png&quot; alt=&quot;Screenshot of a Windows XP style LCD number widget&quot; /&gt; &lt;img src=&quot;%2E%2E/images/macintosh-lcdnumber.png&quot; alt=&quot;Screenshot of a Macintosh style LCD number widget&quot; /&gt; &lt;img src=&quot;%2E%2E/images/plastique-lcdnumber.png&quot; alt=&quot;Screenshot of a Plastique style LCD number widget&quot; /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;LCD number widgets shown in various widget styles (from left to right): &lt;a href=&quot;%2E%2E/gallery-motif.html&quot;&gt;Motif&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;%2E%2E/gallery-cde.html&quot;&gt;CDE&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;%2E%2E/gallery-windows.html&quot;&gt;Windows&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;%2E%2E/gallery-windowsxp.html&quot;&gt;Windows XP&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;%2E%2E/gallery-macintosh.html&quot;&gt;Macintosh&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;%2E%2E/gallery-plastique.html&quot;&gt;Plastique&lt;/tt&gt;&lt;/a&gt;.&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;/p&gt;

@see &lt;a href=&quot;QLabel.html&quot;&gt;&lt;tt&gt;QLabel&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QFrame.html#QFrame(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.Qt.WindowFlags)&quot;&gt;&lt;tt&gt;QFrame&lt;/tt&gt;&lt;/a&gt;
@see Digital Clock Example&lt;/tt&gt;
@see &lt;a href=&quot;%2E%2E/qtjambi-tetrix.html&quot;&gt;Tetrix Example&lt;/tt&gt;&lt;/a&gt; */">
    <signal name="protected final void customContextMenuRequested(com.trolltech.qt.core.QPoint pos)" doc="/**
&lt;p&gt;This signal is emitted when the widget's &lt;a href=&quot;QWidget.html#contextMenuPolicy()&quot;&gt;&lt;tt&gt;contextMenuPolicy&lt;/tt&gt;&lt;/a&gt; is Qt::CustomContextMenu, and the user has requested a context menu on the widget. The position &lt;tt&gt;pos&lt;/tt&gt; is the position of the context menu event that the widget receives. Normally this is in widget coordinates. The exception to this rule is &lt;a href=&quot;QAbstractScrollArea.html&quot;&gt;&lt;tt&gt;QAbstractScrollArea&lt;/tt&gt;&lt;/a&gt; and its subclasses that map the context menu event to coordinates of the viewport()&lt;/tt&gt; .&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.core.QPoint pos)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;See Also:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&quot;QWidget.html#mapToGlobal(com.trolltech.qt.core.QPoint)&quot;&gt;&lt;tt&gt;mapToGlobal&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QMenu.html&quot;&gt;&lt;tt&gt;QMenu&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QWidget.html#contextMenuPolicy()&quot;&gt;&lt;tt&gt;contextMenuPolicy&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void overflow()" doc="/**
&lt;p&gt;This signal is emitted whenever the &lt;a href=&quot;QLCDNumber.html#QLCDNumber(int, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QLCDNumber&lt;/tt&gt;&lt;/a&gt; is asked to display a too-large number or a too-long string.&lt;/p&gt;
&lt;p&gt;It is never emitted by &lt;a href=&quot;QLCDNumber.html#setNumDigits(int)&quot;&gt;&lt;tt&gt;setNumDigits&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signature:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <method name="public QLCDNumber(com.trolltech.qt.gui.QWidget parent)" doc="/**
&lt;p&gt;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 &lt;a href=&quot;QLCDNumber.html#segmentStyle()&quot;&gt;&lt;tt&gt;segmentStyle&lt;/tt&gt;&lt;/a&gt; is set to &lt;tt&gt;Outline&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The &lt;tt&gt;parent&lt;/tt&gt; argument is passed to the &lt;a href=&quot;QFrame.html#QFrame(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.Qt.WindowFlags)&quot;&gt;&lt;tt&gt;QFrame&lt;/tt&gt;&lt;/a&gt; constructor.&lt;/p&gt;

@see &lt;a href=&quot;QLCDNumber.html#setNumDigits(int)&quot;&gt;&lt;tt&gt;setNumDigits&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QLCDNumber.html#setSmallDecimalPoint(boolean)&quot;&gt;&lt;tt&gt;setSmallDecimalPoint&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public QLCDNumber()" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QLCDNumber.html#QLCDNumber(int, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QLCDNumber&lt;/tt&gt;&lt;/a&gt;(0). */"/>
    <method name="public QLCDNumber(int numDigits, com.trolltech.qt.gui.QWidget parent)" doc="/**
&lt;p&gt;Constructs an LCD number, sets the number of digits to &lt;tt&gt;numDigits&lt;/tt&gt;, the base to decimal, the decimal point mode to 'small' and the frame style to a raised box. The &lt;a href=&quot;QLCDNumber.html#segmentStyle()&quot;&gt;&lt;tt&gt;segmentStyle&lt;/tt&gt;&lt;/a&gt; is set to &lt;tt&gt;Outline&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The &lt;tt&gt;parent&lt;/tt&gt; argument is passed to the &lt;a href=&quot;QFrame.html#QFrame(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.Qt.WindowFlags)&quot;&gt;&lt;tt&gt;QFrame&lt;/tt&gt;&lt;/a&gt; constructor.&lt;/p&gt;

@see &lt;a href=&quot;QLCDNumber.html#setNumDigits(int)&quot;&gt;&lt;tt&gt;setNumDigits&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QLCDNumber.html#setSmallDecimalPoint(boolean)&quot;&gt;&lt;tt&gt;setSmallDecimalPoint&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public QLCDNumber(int numDigits)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QLCDNumber.html#QLCDNumber(int, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QLCDNumber&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;numDigits&lt;/tt&gt;, 0). */"/>
    <method name="public final boolean checkOverflow(int num)" doc="/**
&lt;p&gt;Returns true if &lt;tt&gt;num&lt;/tt&gt; is too big to be displayed in its entirety; otherwise returns false.&lt;/p&gt;

@see &lt;a href=&quot;QLCDNumber.html#display(int)&quot;&gt;&lt;tt&gt;display&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QLCDNumber.html#numDigits()&quot;&gt;&lt;tt&gt;numDigits&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QLCDNumber.html#smallDecimalPoint()&quot;&gt;&lt;tt&gt;smallDecimalPoint&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean checkOverflow(double num)" doc="/**
&lt;p&gt;Returns true if &lt;tt&gt;num&lt;/tt&gt; is too big to be displayed in its entirety; otherwise returns false.&lt;/p&gt;

@see &lt;a href=&quot;QLCDNumber.html#display(int)&quot;&gt;&lt;tt&gt;display&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QLCDNumber.html#numDigits()&quot;&gt;&lt;tt&gt;numDigits&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QLCDNumber.html#smallDecimalPoint()&quot;&gt;&lt;tt&gt;smallDecimalPoint&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void display(double num)" doc="/**
&lt;p&gt;Sets the displayed value rounded to the nearest integer to &lt;tt&gt;num&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;This property corresponds to the nearest integer to the current value displayed by the LCDNumber. This is the value used for hexadecimal, octal and binary modes.&lt;/p&gt;
&lt;p&gt;If the displayed value is not a number, the property has a value of 0.&lt;/p&gt;
 */"/>
    <method name="public final void display(java.lang.String str)" doc="/**
&lt;p&gt;Sets the displayed value rounded to the nearest integer to &lt;tt&gt;str&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;This property corresponds to the nearest integer to the current value displayed by the LCDNumber. This is the value used for hexadecimal, octal and binary modes.&lt;/p&gt;
&lt;p&gt;If the displayed value is not a number, the property has a value of 0.&lt;/p&gt;
 */"/>
    <method name="public final void display(int num)" doc="/**
&lt;p&gt;Sets the displayed value rounded to the nearest integer to &lt;tt&gt;num&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;This property corresponds to the nearest integer to the current value displayed by the LCDNumber. This is the value used for hexadecimal, octal and binary modes.&lt;/p&gt;
&lt;p&gt;If the displayed value is not a number, the property has a value of 0.&lt;/p&gt;
 */"/>
    <method name="public final int intValue()" doc="/**
&lt;p&gt;Returns the displayed value rounded to the nearest integer.&lt;/p&gt;
&lt;p&gt;This property corresponds to the nearest integer to the current value displayed by the LCDNumber. This is the value used for hexadecimal, octal and binary modes.&lt;/p&gt;
&lt;p&gt;If the displayed value is not a number, the property has a value of 0.&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.gui.QLCDNumber.Mode mode()" doc="/**
&lt;p&gt;Returns the current display mode (number base).&lt;/p&gt;
&lt;p&gt;Corresponds to the current display mode, which is one of &lt;tt&gt;Bin&lt;/tt&gt;, &lt;tt&gt;Oct&lt;/tt&gt;, &lt;tt&gt;Dec&lt;/tt&gt; (the default) and &lt;tt&gt;Hex&lt;/tt&gt;. &lt;tt&gt;Dec&lt;/tt&gt; mode can display floating point values, the other modes display the integer equivalent.&lt;/p&gt;

@see &lt;a href=&quot;QLCDNumber.html#setMode(com.trolltech.qt.gui.QLCDNumber.Mode)&quot;&gt;&lt;tt&gt;setMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QLCDNumber.html#smallDecimalPoint()&quot;&gt;&lt;tt&gt;smallDecimalPoint&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QLCDNumber.html#setHexMode()&quot;&gt;&lt;tt&gt;setHexMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QLCDNumber.html#setDecMode()&quot;&gt;&lt;tt&gt;setDecMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QLCDNumber.html#setOctMode()&quot;&gt;&lt;tt&gt;setOctMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QLCDNumber.html#setBinMode()&quot;&gt;&lt;tt&gt;setBinMode&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int numDigits()" doc="/**
&lt;p&gt;Returns the current number of digits displayed.&lt;/p&gt;
&lt;p&gt;Corresponds to the current number of digits. If &lt;tt&gt;QLCDNumber::smallDecimalPoint&lt;/tt&gt; is false, the decimal point occupies one digit position.&lt;/p&gt;

@see &lt;a href=&quot;QLCDNumber.html#setNumDigits(int)&quot;&gt;&lt;tt&gt;setNumDigits&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QLCDNumber.html#smallDecimalPoint()&quot;&gt;&lt;tt&gt;smallDecimalPoint&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QLCDNumber.SegmentStyle segmentStyle()" doc="/**
&lt;p&gt;Returns the style of the LCDNumber.&lt;/p&gt;
&lt;p&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;2&quot; cellspacing=&quot;1&quot; border=&quot;0&quot;&gt;
&lt;thead&gt;&lt;tr valign=&quot;top&quot; class=&quot;qt-style&quot;&gt;&lt;th&gt;Style&lt;/th&gt;&lt;th&gt;Result&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;tt&gt;Outline&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;Produces raised segments filled with the background color (this is the default).&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;tt&gt;Filled&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;Produces raised segments filled with the foreground color.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;tt&gt;Flat&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;Produces flat segments filled with the foreground color.&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;/p&gt;
&lt;p&gt;&lt;tt&gt;Outline&lt;/tt&gt; and &lt;tt&gt;Filled&lt;/tt&gt; will additionally use QPalette::light() and QPalette::dark() for shadow effects.&lt;/p&gt;

@see &lt;a href=&quot;QLCDNumber.html#setSegmentStyle(com.trolltech.qt.gui.QLCDNumber.SegmentStyle)&quot;&gt;&lt;tt&gt;setSegmentStyle&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setBinMode()" doc="/**
&lt;p&gt;Calls &lt;a href=&quot;QLCDNumber.html#setMode(com.trolltech.qt.gui.QLCDNumber.Mode)&quot;&gt;&lt;tt&gt;setMode&lt;/tt&gt;&lt;/a&gt;(Bin). Provided for convenience (e.g&amp;#x2e; for connecting buttons to it).&lt;/p&gt;

@see &lt;a href=&quot;QLCDNumber.html#setMode(com.trolltech.qt.gui.QLCDNumber.Mode)&quot;&gt;&lt;tt&gt;setMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QLCDNumber.html#setHexMode()&quot;&gt;&lt;tt&gt;setHexMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QLCDNumber.html#setDecMode()&quot;&gt;&lt;tt&gt;setDecMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QLCDNumber.html#setOctMode()&quot;&gt;&lt;tt&gt;setOctMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QLCDNumber.html#mode()&quot;&gt;&lt;tt&gt;mode&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setDecMode()" doc="/**
&lt;p&gt;Calls &lt;a href=&quot;QLCDNumber.html#setMode(com.trolltech.qt.gui.QLCDNumber.Mode)&quot;&gt;&lt;tt&gt;setMode&lt;/tt&gt;&lt;/a&gt;(Dec). Provided for convenience (e.g&amp;#x2e; for connecting buttons to it).&lt;/p&gt;

@see &lt;a href=&quot;QLCDNumber.html#setMode(com.trolltech.qt.gui.QLCDNumber.Mode)&quot;&gt;&lt;tt&gt;setMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QLCDNumber.html#setHexMode()&quot;&gt;&lt;tt&gt;setHexMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QLCDNumber.html#setOctMode()&quot;&gt;&lt;tt&gt;setOctMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QLCDNumber.html#setBinMode()&quot;&gt;&lt;tt&gt;setBinMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QLCDNumber.html#mode()&quot;&gt;&lt;tt&gt;mode&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setHexMode()" doc="/**
&lt;p&gt;Calls &lt;a href=&quot;QLCDNumber.html#setMode(com.trolltech.qt.gui.QLCDNumber.Mode)&quot;&gt;&lt;tt&gt;setMode&lt;/tt&gt;&lt;/a&gt;(Hex). Provided for convenience (e.g&amp;#x2e; for connecting buttons to it).&lt;/p&gt;

@see &lt;a href=&quot;QLCDNumber.html#setMode(com.trolltech.qt.gui.QLCDNumber.Mode)&quot;&gt;&lt;tt&gt;setMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QLCDNumber.html#setDecMode()&quot;&gt;&lt;tt&gt;setDecMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QLCDNumber.html#setOctMode()&quot;&gt;&lt;tt&gt;setOctMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QLCDNumber.html#setBinMode()&quot;&gt;&lt;tt&gt;setBinMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QLCDNumber.html#mode()&quot;&gt;&lt;tt&gt;mode&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setMode(com.trolltech.qt.gui.QLCDNumber.Mode arg__1)" doc="/**
&lt;p&gt;Sets the current display mode (number base) to &lt;tt&gt;arg__1&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;Corresponds to the current display mode, which is one of &lt;tt&gt;Bin&lt;/tt&gt;, &lt;tt&gt;Oct&lt;/tt&gt;, &lt;tt&gt;Dec&lt;/tt&gt; (the default) and &lt;tt&gt;Hex&lt;/tt&gt;. &lt;tt&gt;Dec&lt;/tt&gt; mode can display floating point values, the other modes display the integer equivalent.&lt;/p&gt;

@see &lt;a href=&quot;QLCDNumber.html#mode()&quot;&gt;&lt;tt&gt;mode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QLCDNumber.html#smallDecimalPoint()&quot;&gt;&lt;tt&gt;smallDecimalPoint&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QLCDNumber.html#setHexMode()&quot;&gt;&lt;tt&gt;setHexMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QLCDNumber.html#setDecMode()&quot;&gt;&lt;tt&gt;setDecMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QLCDNumber.html#setOctMode()&quot;&gt;&lt;tt&gt;setOctMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QLCDNumber.html#setBinMode()&quot;&gt;&lt;tt&gt;setBinMode&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setNumDigits(int nDigits)" doc="/**
&lt;p&gt;Sets the current number of digits displayed to &lt;tt&gt;nDigits&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;Corresponds to the current number of digits. If &lt;tt&gt;QLCDNumber::smallDecimalPoint&lt;/tt&gt; is false, the decimal point occupies one digit position.&lt;/p&gt;

@see &lt;a href=&quot;QLCDNumber.html#numDigits()&quot;&gt;&lt;tt&gt;numDigits&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QLCDNumber.html#smallDecimalPoint()&quot;&gt;&lt;tt&gt;smallDecimalPoint&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setOctMode()" doc="/**
&lt;p&gt;Calls &lt;a href=&quot;QLCDNumber.html#setMode(com.trolltech.qt.gui.QLCDNumber.Mode)&quot;&gt;&lt;tt&gt;setMode&lt;/tt&gt;&lt;/a&gt;(Oct). Provided for convenience (e.g&amp;#x2e; for connecting buttons to it).&lt;/p&gt;

@see &lt;a href=&quot;QLCDNumber.html#setMode(com.trolltech.qt.gui.QLCDNumber.Mode)&quot;&gt;&lt;tt&gt;setMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QLCDNumber.html#setHexMode()&quot;&gt;&lt;tt&gt;setHexMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QLCDNumber.html#setDecMode()&quot;&gt;&lt;tt&gt;setDecMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QLCDNumber.html#setBinMode()&quot;&gt;&lt;tt&gt;setBinMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QLCDNumber.html#mode()&quot;&gt;&lt;tt&gt;mode&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setSegmentStyle(com.trolltech.qt.gui.QLCDNumber.SegmentStyle arg__1)" doc="/**
&lt;p&gt;Sets the style of the LCDNumber to &lt;tt&gt;arg__1&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;2&quot; cellspacing=&quot;1&quot; border=&quot;0&quot;&gt;
&lt;thead&gt;&lt;tr valign=&quot;top&quot; class=&quot;qt-style&quot;&gt;&lt;th&gt;Style&lt;/th&gt;&lt;th&gt;Result&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;tt&gt;Outline&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;Produces raised segments filled with the background color (this is the default).&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;tt&gt;Filled&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;Produces raised segments filled with the foreground color.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;tt&gt;Flat&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;Produces flat segments filled with the foreground color.&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;/p&gt;
&lt;p&gt;&lt;tt&gt;Outline&lt;/tt&gt; and &lt;tt&gt;Filled&lt;/tt&gt; will additionally use QPalette::light() and QPalette::dark() for shadow effects.&lt;/p&gt;

@see &lt;a href=&quot;QLCDNumber.html#segmentStyle()&quot;&gt;&lt;tt&gt;segmentStyle&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setSmallDecimalPoint(boolean arg__1)" doc="/**
&lt;p&gt;Sets the style of the decimal point to &lt;tt&gt;arg__1&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;If true the decimal point is drawn between two digit positions. Otherwise it occupies a digit position of its own, i.e&amp;#x2e; is drawn in a digit position. The default is false.&lt;/p&gt;
&lt;p&gt;The inter-digit space is made slightly wider when the decimal point is drawn between the digits.&lt;/p&gt;

@see &lt;a href=&quot;QLCDNumber.html#smallDecimalPoint()&quot;&gt;&lt;tt&gt;smallDecimalPoint&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QLCDNumber.html#mode()&quot;&gt;mode&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean smallDecimalPoint()" doc="/**
&lt;p&gt;Returns the style of the decimal point.&lt;/p&gt;
&lt;p&gt;If true the decimal point is drawn between two digit positions. Otherwise it occupies a digit position of its own, i.e&amp;#x2e; is drawn in a digit position. The default is false.&lt;/p&gt;
&lt;p&gt;The inter-digit space is made slightly wider when the decimal point is drawn between the digits.&lt;/p&gt;

@see &lt;a href=&quot;QLCDNumber.html#setSmallDecimalPoint(boolean)&quot;&gt;&lt;tt&gt;setSmallDecimalPoint&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QLCDNumber.html#mode()&quot;&gt;mode&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final double value()" doc="/**
&lt;p&gt;Returns the displayed value.&lt;/p&gt;
&lt;p&gt;This property corresponds to the current value displayed by the LCDNumber.&lt;/p&gt;
&lt;p&gt;If the displayed value is not a number, the property has a value of 0.&lt;/p&gt;
 */"/>
    <method name="public boolean event(com.trolltech.qt.core.QEvent e)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void paintEvent(com.trolltech.qt.gui.QPaintEvent arg__1)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public com.trolltech.qt.core.QSize sizeHint()" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <enum name="Mode" doc="/**
&lt;p&gt;This type determines how numbers are shown.&lt;/p&gt;
&lt;p&gt;If the display is set to hexadecimal, octal or binary, the integer equivalent of the value is displayed.&lt;/p&gt;
 */">
        <enum-value name="Hex" doc="/**
&lt;p&gt;Hexadecimal&lt;/p&gt;
 */"/>
        <enum-value name="Dec" doc="/**
&lt;p&gt;Decimal&lt;/p&gt;
 */"/>
        <enum-value name="Oct" doc="/**
&lt;p&gt;Octal&lt;/p&gt;
 */"/>
        <enum-value name="Bin" doc="/**
&lt;p&gt;Binary&lt;/p&gt;
 */"/>
</enum>
    <enum name="SegmentStyle" doc="/**
&lt;p&gt;This type determines the visual appearance of the &lt;a href=&quot;QLCDNumber.html#QLCDNumber(int, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QLCDNumber&lt;/tt&gt;&lt;/a&gt; widget.&lt;/p&gt;
 */">
        <enum-value name="Outline" doc="/**
&lt;p&gt;gives raised segments filled with the background color.&lt;/p&gt;
 */"/>
        <enum-value name="Filled" doc="/**
&lt;p&gt;gives raised segments filled with the windowText color.&lt;/p&gt;
 */"/>
        <enum-value name="Flat" doc="/**
&lt;p&gt;gives flat segments filled with the windowText color.&lt;/p&gt;
 */"/>
</enum>
</class>
