class KIntegerLine
|
IntegerEditline: Editline for Integers. More... |
|
|
Public Members
- KIntegerLine ()
- KIntegerLine ( QWidget *parent=0, const char *name=0, KEditLineType t=KEditTypeDec)
- ~KIntegerLine ()
- KEditLineType getType ()
- int value ( void )
- void setValue ( int value )
Protected Members
Signals
- void valueChanged ( int )
Detailed Description
IntegerEditline: Editline for Integers. Only octal, decimal or
hexadecimal characters are valid input characters for this sort
of edit lines.
A few special keys are supported by this class:
<ul>
<li>The up-arrow increments the contents by 1,
<li>the down-arrow decrements the contents by 1,
<li>Page-Up increments by 8, 10 or 16 (depending on the EditLineType),
<li>Page-Down decrements by 8, 10 or 16 (depending on the EditLinetype)
</ul>
Default - empty - constructor
KIntegerLine ( QWidget *parent=0, const char *name=0, KEditLineType t=KEditTypeDec)
|
Contructor: This constructor takes three - optional - arguments.
The first two parameters are simply passed to KRestrictedLine.
Parameters:
parent | pointer to the parent widget
|
name | pointer to the name of this widget
|
t | type of this integer line (defaults to KEditTypeDec)
|
[protected] Key press event handler.
Handles the following special keys:
<UL>
<LI>Key_Up: Increments contents of line by 1
<LI>Key_Prior: Increments contents of line by 8, 10 or 16
<LI>Key_Down: Decrements contents of line by 1
<LI>Key_Next: Decrements contents of line by 8, 10 or 16
</UL>
- Version: 0.0.1
- Author: Michael Wiedmann <mw@miwie.in-berlin.de>
- Generated: prospector@boris.devel.redhat.com on Fri Apr 27 17:30:07 200.