##// END OF EJS Templates
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes...
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@70 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r28:cf202027b50b
r34:5daedfb035c8
Show More
PythonQtWrapper_QDoubleValidator.h
63 lines | 2.7 KiB | text/x-c | CLexer
/ generated_cpp / com_trolltech_qt_gui / PythonQtWrapper_QDoubleValidator.h
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #ifndef PYTHONQTWRAPPER_QDOUBLEVALIDATOR_H
#define PYTHONQTWRAPPER_QDOUBLEVALIDATOR_H
#include <qvalidator.h>
#include <QObject>
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 #include <PythonQt.h>
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #include <QVariant>
#include <qbytearray.h>
#include <qcoreevent.h>
#include <qlist.h>
#include <qlocale.h>
#include <qobject.h>
#include <qvalidator.h>
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 class PythonQtShell_QDoubleValidator : public QDoubleValidator
{
public:
PythonQtShell_QDoubleValidator(QObject* parent):QDoubleValidator(parent),_wrapper(NULL) {};
PythonQtShell_QDoubleValidator(double bottom, double top, int decimals, QObject* parent):QDoubleValidator(bottom, top, decimals, 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(double bottom, double top, int decimals = 0);
virtual void timerEvent(QTimerEvent* arg__1);
virtual QValidator::State validate(QString& arg__1, int& arg__2) const;
PythonQtInstanceWrapper* _wrapper;
};
florianlink
upgraded wrappers to current generator version...
r28 class PythonQtPublicPromoter_QDoubleValidator : public QDoubleValidator
{ public:
inline void promoted_setRange(double bottom, double top, int decimals = 0) { QDoubleValidator::setRange(bottom, top, decimals); }
inline QValidator::State promoted_validate(QString& arg__1, int& arg__2) const { return QDoubleValidator::validate(arg__1, arg__2); }
};
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 class PythonQtWrapper_QDoubleValidator : public QObject
{ Q_OBJECT
public:
Q_ENUMS(Notation )
enum Notation{
StandardNotation = QDoubleValidator::StandardNotation, ScientificNotation = QDoubleValidator::ScientificNotation};
public slots:
QDoubleValidator* new_QDoubleValidator(QObject* parent);
QDoubleValidator* new_QDoubleValidator(double bottom, double top, int decimals, QObject* parent);
void delete_QDoubleValidator(QDoubleValidator* obj) { delete obj; }
void setRange(QDoubleValidator* theWrappedObject, double bottom, double top, int decimals = 0);
QValidator::State validate(QDoubleValidator* theWrappedObject, QString& arg__1, int& arg__2) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 double top(QDoubleValidator* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 void setDecimals(QDoubleValidator* theWrappedObject, int arg__1);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 double bottom(QDoubleValidator* theWrappedObject) const;
QDoubleValidator::Notation notation(QDoubleValidator* theWrappedObject) const;
void setBottom(QDoubleValidator* theWrappedObject, double arg__1);
florianlink
upgraded wrappers to current generator version...
r28 void setTop(QDoubleValidator* theWrappedObject, double arg__1);
void setNotation(QDoubleValidator* theWrappedObject, QDoubleValidator::Notation arg__1);
int decimals(QDoubleValidator* theWrappedObject) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 };
#endif // PYTHONQTWRAPPER_QDOUBLEVALIDATOR_H