<class name="QStyleOptionSpinBox" doc="/** <p>The <a href="QStyleOptionSpinBox.html#QStyleOptionSpinBox(int)"><tt>QStyleOptionSpinBox</tt></a> class is used to describe the parameters necessary for drawing a spin box.</p> <p><a href="QStyleOptionSpinBox.html#QStyleOptionSpinBox(int)"><tt>QStyleOptionSpinBox</tt></a> contains all the information that <a href="QStyle.html"><tt>QStyle</tt></a> functions need to draw <a href="QSpinBox.html"><tt>QSpinBox</tt></a> and <a href="QDateTimeEdit.html"><tt>QDateTimeEdit</tt></a>.</p> <p>For performance reasons, the access to the member variables is direct (i.e&#x2e;, using the <tt>.</tt> or <tt>-&gt;</tt> operator). This low-level feel makes the structures straightforward to use and emphasizes that these are simply parameters used by the style functions.</p> <p>For an example demonstrating how style options can be used, see the Styles</tt> example.</p> @see <a href="QStyleOption.html#QStyleOption(int, int)"><tt>QStyleOption</tt></a> @see <a href="QStyleOptionComplex.html#QStyleOptionComplex(int, int)"><tt>QStyleOptionComplex</tt></a> */"> <method name="public QStyleOptionSpinBox(com.trolltech.qt.gui.QStyleOptionSpinBox other)" doc="/** <p>Constructs a copy of the <tt>other</tt> style option.</p> */"/> <method name="public QStyleOptionSpinBox()" doc="/** <p>Constructs a <a href="QStyleOptionSpinBox.html#QStyleOptionSpinBox(int)"><tt>QStyleOptionSpinBox</tt></a>, initializing the members variables to their default values.</p> */"/> <method name="protected QStyleOptionSpinBox(int version)" doc="/** <p>This method is used internally by Qt Jambi. Do not use it in your applications.</p> */"/> <enum name="StyleOptionVersion" doc="/** <p>This enum is used to hold information about the version of the style option, and is defined for each <a href="QStyleOption.html#QStyleOption(int, int)"><tt>QStyleOption</tt></a> subclass.</p> <p>The version is used by <a href="QStyleOption.html#QStyleOption(int, int)"><tt>QStyleOption</tt></a> subclasses to implement extensions without breaking compatibility. If you use qstyleoption_cast(), you normally don't need to check it.</p> @see <a href="QStyleOptionSpinBox.html#StyleOptionType-enum"><tt>StyleOptionType</tt></a> */"> <enum-value name="Version" doc="/** <p>1</p> */"/> </enum> <enum name="StyleOptionType" doc="/** <p>This enum is used to hold information about the type of the style option, and is defined for each <a href="QStyleOption.html#QStyleOption(int, int)"><tt>QStyleOption</tt></a> subclass.</p> <p>The type is used internally by <a href="QStyleOption.html#QStyleOption(int, int)"><tt>QStyleOption</tt></a>, its subclasses, and qstyleoption_cast() to determine the type of style option. In general you do not need to worry about this unless you want to create your own <a href="QStyleOption.html#QStyleOption(int, int)"><tt>QStyleOption</tt></a> subclass and your own styles.</p> @see <a href="QStyleOptionSpinBox.html#StyleOptionVersion-enum"><tt>StyleOptionVersion</tt></a> */"> <enum-value name="Type" doc="/** <p>The type of style option provided (<a href="QStyleOption.html#OptionType-enum"><tt>SO_SpinBox</tt></a> for this class).</p> */"/> </enum> <method name="public final com.trolltech.qt.gui.QAbstractSpinBox.StepEnabled stepEnabled()" doc="/** <p>Returns which buttons of the spin box that are enabled.</p> <p>The default value is QAbstractSpinBox::StepNone.</p> @see <a href="QStyleOptionSpinBox.html#setStepEnabled(com.trolltech.qt.gui.QAbstractSpinBox.StepEnabled)"><tt>setStepEnabled</tt></a> @see <tt>QAbstractSpinBox::StepEnabled</tt> */"/> <method name="public final void setStepEnabled(com.trolltech.qt.gui.QAbstractSpinBox.StepEnabled stepEnabled)" doc="/** <p>Sets which buttons of the spin box that are enabled to <tt>stepEnabled</tt>.</p> <p>The default value is QAbstractSpinBox::StepNone.</p> @see <a href="QStyleOptionSpinBox.html#stepEnabled()"><tt>stepEnabled</tt></a> @see <tt>QAbstractSpinBox::StepEnabled</tt> */"/> <method name="public final com.trolltech.qt.gui.QAbstractSpinBox.ButtonSymbols buttonSymbols()" doc="/** <p>Returns the type of button symbols to draw for the spin box.</p> <p>The default value is QAbstractSpinBox::UpDownArrows specufying little arrows in the classic style.</p> @see <a href="QStyleOptionSpinBox.html#setButtonSymbols(com.trolltech.qt.gui.QAbstractSpinBox.ButtonSymbols)"><tt>setButtonSymbols</tt></a> @see <tt>QAbstractSpinBox::ButtonSymbols</tt> */"/> <method name="public final void setButtonSymbols(com.trolltech.qt.gui.QAbstractSpinBox.ButtonSymbols buttonSymbols)" doc="/** <p>Sets the type of button symbols to draw for the spin box to <tt>buttonSymbols</tt>.</p> <p>The default value is QAbstractSpinBox::UpDownArrows specufying little arrows in the classic style.</p> @see <a href="QStyleOptionSpinBox.html#buttonSymbols()"><tt>buttonSymbols</tt></a> @see <tt>QAbstractSpinBox::ButtonSymbols</tt> */"/> <method name="public final boolean frame()" doc="/** <p>Returns whether the spin box has a frame.</p> <p>The default value is false, i.e&#x2e; the spin box has no frame.</p> @see <a href="QStyleOptionSpinBox.html#setFrame(boolean)"><tt>setFrame</tt></a> */"/> <method name="public final void setFrame(boolean frame)" doc="/** <p>Sets whether the spin box has a frame to <tt>frame</tt>.</p> <p>The default value is false, i.e&#x2e; the spin box has no frame.</p> @see <a href="QStyleOptionSpinBox.html#frame()"><tt>frame</tt></a> */"/> </class>