|
|
#ifndef PYTHONQTWRAPPER_QDOUBLESPINBOX_H
|
|
|
#define PYTHONQTWRAPPER_QDOUBLESPINBOX_H
|
|
|
|
|
|
#include <qspinbox.h>
|
|
|
#include <QObject>
|
|
|
|
|
|
#include <QVariant>
|
|
|
#include <qaction.h>
|
|
|
#include <qbitmap.h>
|
|
|
#include <qbytearray.h>
|
|
|
#include <qcoreevent.h>
|
|
|
#include <qcursor.h>
|
|
|
#include <qevent.h>
|
|
|
#include <qfont.h>
|
|
|
#include <qicon.h>
|
|
|
#include <qinputcontext.h>
|
|
|
#include <qkeysequence.h>
|
|
|
#include <qlayout.h>
|
|
|
#include <qlineedit.h>
|
|
|
#include <qlist.h>
|
|
|
#include <qlocale.h>
|
|
|
#include <qobject.h>
|
|
|
#include <qpaintdevice.h>
|
|
|
#include <qpaintengine.h>
|
|
|
#include <qpainter.h>
|
|
|
#include <qpalette.h>
|
|
|
#include <qpoint.h>
|
|
|
#include <qrect.h>
|
|
|
#include <qregion.h>
|
|
|
#include <qsize.h>
|
|
|
#include <qsizepolicy.h>
|
|
|
#include <qspinbox.h>
|
|
|
#include <qstyle.h>
|
|
|
#include <qstyleoption.h>
|
|
|
#include <qwidget.h>
|
|
|
|
|
|
class PythonQtWrapper_QDoubleSpinBox : public QObject
|
|
|
{ Q_OBJECT
|
|
|
public:
|
|
|
public slots:
|
|
|
QDoubleSpinBox* new_QDoubleSpinBox(QWidget* parent = 0);
|
|
|
void delete_QDoubleSpinBox(QDoubleSpinBox* obj) { delete obj; }
|
|
|
QString cleanText(QDoubleSpinBox* theWrappedObject) const;
|
|
|
int decimals(QDoubleSpinBox* theWrappedObject) const;
|
|
|
void fixup(QDoubleSpinBox* theWrappedObject, QString& str) const;
|
|
|
double maximum(QDoubleSpinBox* theWrappedObject) const;
|
|
|
double minimum(QDoubleSpinBox* theWrappedObject) const;
|
|
|
QString prefix(QDoubleSpinBox* theWrappedObject) const;
|
|
|
void setDecimals(QDoubleSpinBox* theWrappedObject, int prec);
|
|
|
void setMaximum(QDoubleSpinBox* theWrappedObject, double max);
|
|
|
void setMinimum(QDoubleSpinBox* theWrappedObject, double min);
|
|
|
void setPrefix(QDoubleSpinBox* theWrappedObject, const QString& prefix);
|
|
|
void setRange(QDoubleSpinBox* theWrappedObject, double min, double max);
|
|
|
void setSingleStep(QDoubleSpinBox* theWrappedObject, double val);
|
|
|
void setSuffix(QDoubleSpinBox* theWrappedObject, const QString& suffix);
|
|
|
double singleStep(QDoubleSpinBox* theWrappedObject) const;
|
|
|
QString suffix(QDoubleSpinBox* theWrappedObject) const;
|
|
|
QString textFromValue(QDoubleSpinBox* theWrappedObject, double val) const;
|
|
|
QValidator::State validate(QDoubleSpinBox* theWrappedObject, QString& input, int& pos) const;
|
|
|
double value(QDoubleSpinBox* theWrappedObject) const;
|
|
|
double valueFromText(QDoubleSpinBox* theWrappedObject, const QString& text) const;
|
|
|
};
|
|
|
|
|
|
#endif // PYTHONQTWRAPPER_QDOUBLESPINBOX_H
|
|
|
|