#include <knuminput.h>
Inheritance diagram for KNumInput:

Public Methods | |
| KNumInput (QWidget *parent=0, const char *name=0) | |
| KNumInput (KNumInput *below, QWidget *parent=0, const char *name=0) | |
| virtual void | setLabel (const QString &label, int a=AlignLeft|AlignTop) |
| QString | label () const |
| bool | showSlider () const |
| void | setSteps (int minor, int major) |
| QSizePolicy | sizePolicy () const |
| virtual QSize | sizeHint () const |
Protected Methods | |
| void | layout (bool deep) |
| virtual void | doLayout ()=0 |
Definition at line 48 of file knuminput.h.
|
||||||||||||
|
Default constructor |
|
||||||||||||||||
|
|
|
|
You need to overwrite this method and implement your layout calculations there. See KIntNumInput::doLayout and KDoubleNumInput::doLayout implementation for details. Implemented in KIntNumInput, and KDoubleNumInput. |
|
|
|
|
|
Call this function whenever you change something in the geometry of your KNumInput child. |
|
||||||||||||
|
Sets the text and alignment of the main description label.
Reimplemented in KIntNumInput, and KDoubleNumInput. |
|
||||||||||||
|
Sets the spacing of tickmarks for the slider.
|
|
|
Definition at line 95 of file knuminput.h. |
|
|
Returns a size which fits the contents of the control.
|
|
|
Specifies that this widget may stretch horizontally, but is fixed vertically (like QSpinBox itself). |
1.2.18