##// END OF EJS Templates
added experimental compacting to avoid generation of hundreds of files that all include the same stuff...
added experimental compacting to avoid generation of hundreds of files that all include the same stuff git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@128 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r73:40dc86970256
r92:f97ec94c87a9
Show More
PythonQtWrapper_QSizePolicy.h
53 lines | 3.1 KiB | text/x-c | CLexer
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #ifndef PYTHONQTWRAPPER_QSIZEPOLICY_H
#define PYTHONQTWRAPPER_QSIZEPOLICY_H
#include <qsizepolicy.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 <qdatastream.h>
#include <qsizepolicy.h>
class PythonQtWrapper_QSizePolicy : public QObject
{ Q_OBJECT
public:
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 Q_ENUMS(ControlType PolicyFlag Policy )
florianlink
recreated wrappers to match current python qt version...
r73 Q_FLAGS(ControlTypes )
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 enum ControlType{
DefaultType = QSizePolicy::DefaultType, ButtonBox = QSizePolicy::ButtonBox, CheckBox = QSizePolicy::CheckBox, ComboBox = QSizePolicy::ComboBox, Frame = QSizePolicy::Frame, GroupBox = QSizePolicy::GroupBox, Label = QSizePolicy::Label, Line = QSizePolicy::Line, LineEdit = QSizePolicy::LineEdit, PushButton = QSizePolicy::PushButton, RadioButton = QSizePolicy::RadioButton, Slider = QSizePolicy::Slider, SpinBox = QSizePolicy::SpinBox, TabWidget = QSizePolicy::TabWidget, ToolButton = QSizePolicy::ToolButton};
enum PolicyFlag{
GrowFlag = QSizePolicy::GrowFlag, ExpandFlag = QSizePolicy::ExpandFlag, ShrinkFlag = QSizePolicy::ShrinkFlag, IgnoreFlag = QSizePolicy::IgnoreFlag};
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 enum Policy{
Fixed = QSizePolicy::Fixed, Minimum = QSizePolicy::Minimum, Maximum = QSizePolicy::Maximum, Preferred = QSizePolicy::Preferred, MinimumExpanding = QSizePolicy::MinimumExpanding, Expanding = QSizePolicy::Expanding, Ignored = QSizePolicy::Ignored};
florianlink
recreated wrappers to match current python qt version...
r73 Q_DECLARE_FLAGS(ControlTypes, ControlType)
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 public slots:
QSizePolicy* new_QSizePolicy();
QSizePolicy* new_QSizePolicy(QSizePolicy::Policy horizontal, QSizePolicy::Policy vertical);
QSizePolicy* new_QSizePolicy(QSizePolicy::Policy horizontal, QSizePolicy::Policy vertical, QSizePolicy::ControlType type);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QSizePolicy* new_QSizePolicy(const QSizePolicy& other) {
QSizePolicy* a = new QSizePolicy();
*((QSizePolicy*)a) = other;
return a; }
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 void delete_QSizePolicy(QSizePolicy* obj) { delete obj; }
florianlink
recreated wrappers to match current python qt version...
r73 QSizePolicy::ControlType controlType(QSizePolicy* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void setHorizontalPolicy(QSizePolicy* theWrappedObject, QSizePolicy::Policy d);
int verticalStretch(QSizePolicy* theWrappedObject) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 int horizontalStretch(QSizePolicy* theWrappedObject) const;
florianlink
recreated wrappers to match current python qt version...
r73 bool operator_equal(QSizePolicy* theWrappedObject, const QSizePolicy& s) const;
void setHorizontalStretch(QSizePolicy* theWrappedObject, uchar stretchFactor);
void setHeightForWidth(QSizePolicy* theWrappedObject, bool b);
void writeTo(QSizePolicy* theWrappedObject, QDataStream& arg__1);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void setVerticalStretch(QSizePolicy* theWrappedObject, uchar stretchFactor);
florianlink
upgraded wrappers to current generator version...
r28 void transpose(QSizePolicy* theWrappedObject);
Qt::Orientations expandingDirections(QSizePolicy* theWrappedObject) const;
QSizePolicy::Policy verticalPolicy(QSizePolicy* theWrappedObject) const;
bool hasHeightForWidth(QSizePolicy* theWrappedObject) const;
florianlink
recreated wrappers to match current python qt version...
r73 QSizePolicy::Policy horizontalPolicy(QSizePolicy* theWrappedObject) const;
void setControlType(QSizePolicy* theWrappedObject, QSizePolicy::ControlType type);
florianlink
upgraded wrappers to current generator version...
r28 void setVerticalPolicy(QSizePolicy* theWrappedObject, QSizePolicy::Policy d);
florianlink
recreated wrappers to match current python qt version...
r73 void readFrom(QSizePolicy* theWrappedObject, QDataStream& arg__1);
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 };
#endif // PYTHONQTWRAPPER_QSIZEPOLICY_H