[kdeui Index] [kdeui Hierarchy] [Headers]
The KSpinBox Widget lets the user cycle trough a bunch of items More...
#include <kspinbox.h>
Inherits: QWidget (qt)
The KSpinBox Widget lets the user cycle trough a bunch of items. this class alone doesn't do really usefull things
it provides the base for things like KNumericSpinBox or
KListSpinBox.
You can use it in two ways:
1. The "is A" Variant : derive a subclass from KSpinBox
and implement your own functionality
2. The "has A" Variant : instantiate a KSpinBox object and
catch the valueIncreased() and valueDecreased() signals
and do what you want in the slots.
[public]
construct a KSpinBox Widget
[public]
get the value shown the text field
[public]
set the value which should be displayed in the text field
[public]
query if the user is allowed to edit the values
[public]
decide if the user can edit the values or not
[public]
set the alignment of the text field.
[public]
get the alignment of the text field.
Documentation generated by tasin@cd1 on Die Nov 30 17:31:44 CET 1999 | Kdoc |