PythonQtWrapper_QIntValidator.h
56 lines
| 2.0 KiB
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QINTVALIDATOR_H | ||
#define PYTHONQTWRAPPER_QINTVALIDATOR_H | ||||
#include <qvalidator.h> | ||||
#include <QObject> | ||||
florianlink
|
r24 | #include <PythonQt.h> | ||
florianlink
|
r13 | #include <QVariant> | ||
#include <qbytearray.h> | ||||
#include <qcoreevent.h> | ||||
#include <qlist.h> | ||||
#include <qlocale.h> | ||||
#include <qobject.h> | ||||
#include <qvalidator.h> | ||||
florianlink
|
r24 | class PythonQtShell_QIntValidator : public QIntValidator | ||
{ | ||||
public: | ||||
PythonQtShell_QIntValidator(QObject* parent):QIntValidator(parent),_wrapper(NULL) {}; | ||||
PythonQtShell_QIntValidator(int bottom, int top, QObject* parent):QIntValidator(bottom, top, parent),_wrapper(NULL) {}; | ||||
virtual void childEvent(QChildEvent* arg__1); | ||||
virtual void customEvent(QEvent* arg__1); | ||||
virtual bool event(QEvent* arg__1); | ||||
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); | ||||
virtual void fixup(QString& arg__1) const; | ||||
virtual void setRange(int bottom, int top); | ||||
virtual void timerEvent(QTimerEvent* arg__1); | ||||
virtual QValidator::State validate(QString& arg__1, int& arg__2) const; | ||||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r28 | class PythonQtPublicPromoter_QIntValidator : public QIntValidator | ||
{ public: | ||||
inline void promoted_setRange(int bottom, int top) { QIntValidator::setRange(bottom, top); } | ||||
inline QValidator::State promoted_validate(QString& arg__1, int& arg__2) const { return QIntValidator::validate(arg__1, arg__2); } | ||||
}; | ||||
florianlink
|
r13 | class PythonQtWrapper_QIntValidator : public QObject | ||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QIntValidator* new_QIntValidator(QObject* parent); | ||||
QIntValidator* new_QIntValidator(int bottom, int top, QObject* parent); | ||||
void delete_QIntValidator(QIntValidator* obj) { delete obj; } | ||||
florianlink
|
r24 | void setRange(QIntValidator* theWrappedObject, int bottom, int top); | ||
florianlink
|
r28 | QValidator::State validate(QIntValidator* theWrappedObject, QString& arg__1, int& arg__2) const; | ||
int top(QIntValidator* theWrappedObject) const; | ||||
void setTop(QIntValidator* theWrappedObject, int arg__1); | ||||
florianlink
|
r24 | int bottom(QIntValidator* theWrappedObject) const; | ||
florianlink
|
r73 | void setBottom(QIntValidator* theWrappedObject, int arg__1); | ||
florianlink
|
r13 | }; | ||
#endif // PYTHONQTWRAPPER_QINTVALIDATOR_H | ||||