mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
22 lines
586 B
Plaintext
22 lines
586 B
Plaintext
class QgsDoubleSpinBox : QDoubleSpinBox
|
|
{
|
|
%TypeHeaderCode
|
|
#include <qgsdoublespinbox.h>
|
|
%End
|
|
|
|
public:
|
|
explicit QgsDoubleSpinBox( QWidget *parent /TransferThis/ = 0 );
|
|
|
|
//! determines if the widget will show a clear button
|
|
//! @note the clear button will set the widget to its minimum value
|
|
void setShowClearButton( const bool showClearButton );
|
|
bool showClearButton() const;
|
|
|
|
//! Set the current value to the minimum
|
|
virtual void clear();
|
|
|
|
protected:
|
|
virtual void resizeEvent( QResizeEvent* event );
|
|
virtual void changeEvent( QEvent* event );
|
|
};
|