The QgsSpinBox is a spin box with a clear button that will set the value to the minimum.
More...
#include <qgsspinbox.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
QgsSpinBox::QgsSpinBox |
( |
QWidget * |
parent = 0 | ) |
|
|
explicit |
Member Function Documentation
void QgsSpinBox::changeEvent |
( |
QEvent * |
event | ) |
|
|
protectedvirtual |
void QgsSpinBox::clear |
( |
| ) |
|
|
virtual |
Set the current value to the minimum.
void QgsSpinBox::resizeEvent |
( |
QResizeEvent * |
event | ) |
|
|
protectedvirtual |
void QgsSpinBox::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 QgsSpinBox::showClearButton |
( |
| ) |
const |
|
inline |
Property Documentation
bool QgsSpinBox::showClearButton |
|
readwrite |
The documentation for this class was generated from the following files:
- /tmp/buildd/qgis-2.6.0+wheezy1/src/gui/editorwidgets/qgsspinbox.h
- /tmp/buildd/qgis-2.6.0+wheezy1/src/gui/editorwidgets/qgsspinbox.cpp