Sophie

Sophie

distrib > Mandriva > 8.2 > i586 > by-pkgid > 6282078ae76a671f49c6af38c67b1a07 > files > 917

kdelibs-devel-2.2.2-49.2mdk.i586.rpm

<HTML>
<HEAD>
<TITLE>class KIntSpinBox</TITLE>

<META NAME="Generator" CONTENT="KDOC ">
</HEAD>
<BODY bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#000099" alink= "#ffffff">
<TABLE WIDTH="100%" BORDER="0">
<TR>
<TD>
	<TABLE BORDER="0">
		<TR><TD valign="top" align="left" cellspacing="10">
		<h1>class KIntSpinBox</h1>
		</TD>
		<TD valign="top" align="right" colspan="1">A spin box widget for non-decimal numbers.
  <small><A HREF="#longdesc">More...</A></small></TD></TR>
	</TABLE>
	<HR>
	<TABLE BORDER="0">
		<TR><TH>Definition</TH><TD><code>#include &lt;<A HREF="knuminput_h.html">knuminput.h</A>&gt;</code></TD></TR>
<TR><TH>Inherits</TH><TD><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qspinbox.html">QSpinBox</A> <small>(qt)</small> <small>[public ]</small></TD></TR>
<TR><TH><A HREF="full-list-KIntSpinBox.html">List of all Methods</A></TH></TR>
	</TABLE>
	</TD>
<TD align="right"><TABLE BORDER="0"><TR><TD><small><A HREF="index-long.html">Annotated List</A></small></TD></TR>
<TR><TD><small><A HREF="header-list.html">Files</A></small></TD></TR>
<TR><TD><small><A HREF="all-globals.html">Globals</A></small></TD></TR>
<TR><TD><small><A HREF="hier.html">Hierarchy</A></small></TD></TR>
<TR><TD><small><A HREF="index.html">Index</A></small></TD></TR>
</TABLE></TD></TR></TABLE>
<h4>Public Methods</h4><ul><LI>&nbsp;<b><A HREF="#ref2">KIntSpinBox</A></b> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A> *parent=0, const char *name=0) 
</LI>
<LI>&nbsp;<b><A HREF="#ref3">KIntSpinBox</A></b> (int lower, int upper, int step, int value, int base = 10,
                <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A>* parent = 0, const char* name = 0) 
</LI>
<LI>virtual  &nbsp;<b><A HREF="#ref4">~KIntSpinBox</A></b> () 
</LI>
<LI>int &nbsp;<b><A HREF="#ref5">value</A></b> ()  const
</LI>
<LI>void &nbsp;<b><A HREF="#ref6">setBase</A></b> (int base) 
</LI>
<LI>int &nbsp;<b><A HREF="#ref7">base</A></b> ()  const
</LI>
<LI>void &nbsp;<b><A HREF="#ref8">setEditFocus</A></b> (bool mark) 
</LI>
</ul><h4>Protected Methods</h4><ul><LI>virtual  <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<b><A HREF="#ref9">mapValueToText</A></b> (int) 
</LI>
<LI>virtual  int &nbsp;<b><A HREF="#ref10">mapTextToValue</A></b> (bool*) 
</LI>
</ul><HR><H2><A NAME="longdesc">Detailed Description</A></H2><p>
  An integer inputline with scrollbar and slider.
</p>
<p>  The class provides an easy interface to use other
  numeric systems then the decimal.
</p>
<p></p>
<A NAME="KIntSpinBox"></A><A NAME="ref2"></A><table width="100%"><tr bgcolor="#eeeeee"><td>&nbsp;<strong>KIntSpinBox</strong> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A> *parent=0, const char *name=0)
<br></td><td align="right"><h3><strong>KIntSpinBox</strong></h3></td></tr></table><p></p><p>
  Constructor.
</p>
<p>  Constructs a widget with an integer inputline with a little scrollbar
  and a slider, with minimal value 0, maximal value 99, step 1, base 10
  and initial value 0.
     </p>
<A NAME="KIntSpinBox"></A><A NAME="ref3"></A><table width="100%"><tr bgcolor="#eeeeee"><td>&nbsp;<strong>KIntSpinBox</strong> (int lower, int upper, int step, int value, int base = 10,
                <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A>* parent = 0, const char* name = 0)
<br></td><td align="right"><h3><strong>KIntSpinBox</strong></h3></td></tr></table><p></p><p>
  Constructor.
</p>
<p>  Constructs a widget with an integer inputline with a little scrollbar
  and a slider.
</p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>lower</i></TD><TD align="left" valign="top">The lowest valid value.
</TD></TR>
<TR><TD align="left" valign="top"><i>upper</i></TD><TD align="left" valign="top">The greatest valid value.
</TD></TR>
<TR><TD align="left" valign="top"><i>step</i></TD><TD align="left" valign="top">The step size of the scrollbar.
</TD></TR>
<TR><TD align="left" valign="top"><i>value</i></TD><TD align="left" valign="top">The actual value.
</TD></TR>
<TR><TD align="left" valign="top"><i>base</i></TD><TD align="left" valign="top">The base of the used number system.
</TD></TR>
<TR><TD align="left" valign="top"><i>parent</i></TD><TD align="left" valign="top">The parent of the widget.
</TD></TR>
<TR><TD align="left" valign="top"><i>name</i></TD><TD align="left" valign="top">The Name of the widget.
     </TD></TR>
</TABLE></P>
<A NAME="~KIntSpinBox"></A><A NAME="ref4"></A><table width="100%"><tr bgcolor="#eeeeee"><td> &nbsp;<strong>~KIntSpinBox</strong> ()
<br></td><td align="right"><h3><strong>~KIntSpinBox</strong></h3></td></tr></table><p> <small>[virtual]</small></p><p>
  Destructor.
     </p>
<A NAME="value"></A><A NAME="ref5"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int &nbsp;<strong>value</strong> ()
<br></td><td align="right"><h3><strong>value</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
  Reimplemented for internal reasons; the API is not affected. 
     </p>
<p>Reimplemented from <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qspinbox.html#404d3b">QSpinBox</A>.</p>
<A NAME="setBase"></A><A NAME="ref6"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>setBase</strong> (int base)
<br></td><td align="right"><h3><strong>setBase</strong></h3></td></tr></table><p></p><p>
 Sets the base in which the numbers in the spin box are represented.
     </p>
<A NAME="base"></A><A NAME="ref7"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int &nbsp;<strong>base</strong> ()
<br></td><td align="right"><h3><strong>base</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
</p>
<p><b>Returns</b>: the base in which numbers in the spin box are represented.
     </p>
<A NAME="setEditFocus"></A><A NAME="ref8"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>setEditFocus</strong> (bool mark)
<br></td><td align="right"><h3><strong>setEditFocus</strong></h3></td></tr></table><p></p><p>
 sets focus and optionally marks all text
</p>
<p>     </p>
<A NAME="mapValueToText"></A><A NAME="ref9"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<strong>mapValueToText</strong> (int)
<br></td><td align="right"><h3><strong>mapValueToText</strong></h3></td></tr></table><p> <small>[protected virtual]</small></p><p>
  Overloaded to make use of the base given in the constructor.
     </p>
<p>Reimplemented from <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qspinbox.html#6a3292">QSpinBox</A>.</p>
<A NAME="mapTextToValue"></A><A NAME="ref10"></A><table width="100%"><tr bgcolor="#eeeeee"><td> int &nbsp;<strong>mapTextToValue</strong> (bool*)
<br></td><td align="right"><h3><strong>mapTextToValue</strong></h3></td></tr></table><p> <small>[protected virtual]</small></p><p>
  Overloaded to make use of the base given in the constructor.
     </p>
<p>Reimplemented from <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qspinbox.html#3b663d">QSpinBox</A>.</p>
<A NAME="focusInEvent"></A><A NAME="ref11"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<strong>focusInEvent</strong> (<A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qfocusevent.html">QFocusEvent</A>*)
<br></td><td align="right"><h3><strong>focusInEvent</strong></h3></td></tr></table><p> <small>[protected virtual]</small></p><p>
     </p>
<HR>
	<table>
	<tr><td><small>Generated by: qateam on updates.mandrakesoft.com on Mon Dec 30 16:09:05 2002, using kdoc 2.0a53.</small></td></tr>
	</table>
</BODY>
</HTML>