##// 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_QTextLength.h
35 lines | 1.2 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QTEXTLENGTH_H
#define PYTHONQTWRAPPER_QTEXTLENGTH_H
#include <qtextformat.h>
#include <QObject>
#include <PythonQt.h>
#include <QVariant>
#include <qdatastream.h>
#include <qtextformat.h>
class PythonQtWrapper_QTextLength : public QObject
{ Q_OBJECT
public:
Q_ENUMS(Type )
enum Type{
VariableLength = QTextLength::VariableLength, FixedLength = QTextLength::FixedLength, PercentageLength = QTextLength::PercentageLength};
public slots:
QTextLength* new_QTextLength();
QTextLength* new_QTextLength(QTextLength::Type type, qreal value);
QTextLength* new_QTextLength(const QTextLength& other) {
QTextLength* a = new QTextLength();
*((QTextLength*)a) = other;
return a; }
void delete_QTextLength(QTextLength* obj) { delete obj; }
qreal rawValue(QTextLength* theWrappedObject) const;
qreal value(QTextLength* theWrappedObject, qreal maximumLength) const;
void readFrom(QTextLength* theWrappedObject, QDataStream& arg__1);
void writeTo(QTextLength* theWrappedObject, QDataStream& arg__1);
QTextLength::Type type(QTextLength* theWrappedObject) const;
bool operator_equal(QTextLength* theWrappedObject, const QTextLength& other) const;
};
#endif // PYTHONQTWRAPPER_QTEXTLENGTH_H