The QgsSpinBox is a spin box with a clear button that will set the value to the minimum.
More...
#include <qgsdoublespinbox.h>
Protected Member Functions |
virtual void | resizeEvent (QResizeEvent *event) |
virtual void | changeEvent (QEvent *event) |
Detailed Description
The QgsSpinBox is a spin box with a clear button that will set the value to the minimum.
This minum can then be handled by a special value text.
Constructor & Destructor Documentation
QgsDoubleSpinBox::QgsDoubleSpinBox |
( |
QWidget * |
parent = 0 | ) |
|
|
explicit |
Member Function Documentation
void QgsDoubleSpinBox::changeEvent |
( |
QEvent * |
event | ) |
|
|
protectedvirtual |
void QgsDoubleSpinBox::clear |
( |
| ) |
|
|
virtual |
Set the current value to the minimum.
void QgsDoubleSpinBox::resizeEvent |
( |
QResizeEvent * |
event | ) |
|
|
protectedvirtual |
void QgsDoubleSpinBox::setShowClearButton |
( |
const bool |
showClearButton | ) |
|
determines if the widget will show a clear button
- Note
- the clear button will set the widget to its minimum value
bool QgsDoubleSpinBox::showClearButton |
( |
| ) |
const |
|
inline |
Property Documentation
bool QgsDoubleSpinBox::showClearButton |
|
readwrite |
The documentation for this class was generated from the following files: