##// END OF EJS Templates
added alphabetic sorting...
added alphabetic sorting git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@132 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r73:40dc86970256
r96:3170eb771a99
Show More
PythonQtWrapper_QTreeWidgetItem.h
125 lines | 8.0 KiB | text/x-c | CLexer
/ generated_cpp / com_trolltech_qt_gui / PythonQtWrapper_QTreeWidgetItem.h
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #ifndef PYTHONQTWRAPPER_QTREEWIDGETITEM_H
#define PYTHONQTWRAPPER_QTREEWIDGETITEM_H
#include <qtreewidget.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 <qbrush.h>
#include <qdatastream.h>
#include <qfont.h>
#include <qicon.h>
#include <qlist.h>
#include <qsize.h>
#include <qstringlist.h>
#include <qtreewidget.h>
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 class PythonQtShell_QTreeWidgetItem : public QTreeWidgetItem
{
public:
PythonQtShell_QTreeWidgetItem(QTreeWidget* view, QTreeWidgetItem* after, int type = Type):QTreeWidgetItem(view, after, type),_wrapper(NULL) {};
PythonQtShell_QTreeWidgetItem(QTreeWidget* view, const QStringList& strings, int type = Type):QTreeWidgetItem(view, strings, type),_wrapper(NULL) {};
PythonQtShell_QTreeWidgetItem(QTreeWidget* view, int type = Type):QTreeWidgetItem(view, type),_wrapper(NULL) {};
PythonQtShell_QTreeWidgetItem(QTreeWidgetItem* parent, QTreeWidgetItem* after, int type = Type):QTreeWidgetItem(parent, after, type),_wrapper(NULL) {};
PythonQtShell_QTreeWidgetItem(QTreeWidgetItem* parent, const QStringList& strings, int type = Type):QTreeWidgetItem(parent, strings, type),_wrapper(NULL) {};
PythonQtShell_QTreeWidgetItem(QTreeWidgetItem* parent, int type = Type):QTreeWidgetItem(parent, type),_wrapper(NULL) {};
PythonQtShell_QTreeWidgetItem(const QStringList& strings, int type = Type):QTreeWidgetItem(strings, type),_wrapper(NULL) {};
PythonQtShell_QTreeWidgetItem(int type = Type):QTreeWidgetItem(type),_wrapper(NULL) {};
virtual QTreeWidgetItem* clone() const;
virtual QVariant data(int column, int role) const;
virtual bool operator_less(const QTreeWidgetItem& other) const;
virtual void read(QDataStream& in);
virtual void setData(int column, int role, const QVariant& value);
virtual void write(QDataStream& out) const;
PythonQtInstanceWrapper* _wrapper;
};
florianlink
upgraded wrappers to current generator version...
r28 class PythonQtPublicPromoter_QTreeWidgetItem : public QTreeWidgetItem
{ public:
inline void promoted_setData(int column, int role, const QVariant& value) { QTreeWidgetItem::setData(column, role, value); }
inline QVariant promoted_data(int column, int role) const { return QTreeWidgetItem::data(column, role); }
inline QTreeWidgetItem* promoted_clone() const { return QTreeWidgetItem::clone(); }
};
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 class PythonQtWrapper_QTreeWidgetItem : public QObject
{ Q_OBJECT
public:
Q_ENUMS(ItemType ChildIndicatorPolicy )
enum ItemType{
Type = QTreeWidgetItem::Type, UserType = QTreeWidgetItem::UserType};
enum ChildIndicatorPolicy{
ShowIndicator = QTreeWidgetItem::ShowIndicator, DontShowIndicator = QTreeWidgetItem::DontShowIndicator, DontShowIndicatorWhenChildless = QTreeWidgetItem::DontShowIndicatorWhenChildless};
public slots:
QTreeWidgetItem* new_QTreeWidgetItem(QTreeWidget* view, QTreeWidgetItem* after, int type = Type);
QTreeWidgetItem* new_QTreeWidgetItem(QTreeWidget* view, const QStringList& strings, int type = Type);
QTreeWidgetItem* new_QTreeWidgetItem(QTreeWidget* view, int type = Type);
QTreeWidgetItem* new_QTreeWidgetItem(QTreeWidgetItem* parent, QTreeWidgetItem* after, int type = Type);
QTreeWidgetItem* new_QTreeWidgetItem(QTreeWidgetItem* parent, const QStringList& strings, int type = Type);
QTreeWidgetItem* new_QTreeWidgetItem(QTreeWidgetItem* parent, int type = Type);
QTreeWidgetItem* new_QTreeWidgetItem(const QStringList& strings, int type = Type);
QTreeWidgetItem* new_QTreeWidgetItem(int type = Type);
void delete_QTreeWidgetItem(QTreeWidgetItem* obj) { delete obj; }
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 bool hasOwner(QTreeWidgetItem* theWrappedObject) { return theWrappedObject->treeWidget()!=NULL || theWrappedObject->parent()!=NULL; }
florianlink
recreated wrappers to match current python qt version...
r73 void setDisabled(QTreeWidgetItem* theWrappedObject, bool disabled);
void insertChild(QTreeWidgetItem* theWrappedObject, int index, QTreeWidgetItem* child);
QBrush background(QTreeWidgetItem* theWrappedObject, int column) const;
void readFrom(QTreeWidgetItem* theWrappedObject, QDataStream& in);
bool isFirstColumnSpanned(QTreeWidgetItem* theWrappedObject) const;
QString text(QTreeWidgetItem* theWrappedObject, int column) const;
florianlink
upgraded wrappers to current generator version...
r28 void setWhatsThis(QTreeWidgetItem* theWrappedObject, int column, const QString& whatsThis);
bool isSelected(QTreeWidgetItem* theWrappedObject) const;
void setData(QTreeWidgetItem* theWrappedObject, int column, int role, const QVariant& value);
florianlink
recreated wrappers to match current python qt version...
r73 int textAlignment(QTreeWidgetItem* theWrappedObject, int column) const;
florianlink
upgraded wrappers to current generator version...
r28 QIcon icon(QTreeWidgetItem* theWrappedObject, int column) const;
florianlink
recreated wrappers to match current python qt version...
r73 void setExpanded(QTreeWidgetItem* theWrappedObject, bool expand);
void setFirstColumnSpanned(QTreeWidgetItem* theWrappedObject, bool span);
florianlink
upgraded wrappers to current generator version...
r28 void addChild(QTreeWidgetItem* theWrappedObject, QTreeWidgetItem* child);
florianlink
recreated wrappers to match current python qt version...
r73 void writeTo(QTreeWidgetItem* theWrappedObject, QDataStream& out);
florianlink
upgraded wrappers to current generator version...
r28 void sortChildren(QTreeWidgetItem* theWrappedObject, int column, Qt::SortOrder order);
florianlink
recreated wrappers to match current python qt version...
r73 void setIcon(QTreeWidgetItem* theWrappedObject, int column, const QIcon& icon);
QFont font(QTreeWidgetItem* theWrappedObject, int column) const;
void insertChildren(QTreeWidgetItem* theWrappedObject, int index, const QList<QTreeWidgetItem* >& children);
QSize sizeHint(QTreeWidgetItem* theWrappedObject, int column) const;
florianlink
upgraded wrappers to current generator version...
r28 QTreeWidgetItem* child(QTreeWidgetItem* theWrappedObject, int index) const;
florianlink
recreated wrappers to match current python qt version...
r73 void setBackground(QTreeWidgetItem* theWrappedObject, int column, const QBrush& brush);
QList<QTreeWidgetItem* > takeChildren(QTreeWidgetItem* theWrappedObject);
florianlink
upgraded wrappers to current generator version...
r28 void setToolTip(QTreeWidgetItem* theWrappedObject, int column, const QString& toolTip);
void addChildren(QTreeWidgetItem* theWrappedObject, const QList<QTreeWidgetItem* >& children);
florianlink
recreated wrappers to match current python qt version...
r73 void setForeground(QTreeWidgetItem* theWrappedObject, int column, const QBrush& brush);
int indexOfChild(QTreeWidgetItem* theWrappedObject, QTreeWidgetItem* child) const;
int childCount(QTreeWidgetItem* theWrappedObject) const;
void setHidden(QTreeWidgetItem* theWrappedObject, bool hide);
QString toolTip(QTreeWidgetItem* theWrappedObject, int column) const;
void setFont(QTreeWidgetItem* theWrappedObject, int column, const QFont& font);
QTreeWidget* treeWidget(QTreeWidgetItem* theWrappedObject) const;
bool isDisabled(QTreeWidgetItem* theWrappedObject) const;
void setTextAlignment(QTreeWidgetItem* theWrappedObject, int column, int alignment);
Qt::CheckState checkState(QTreeWidgetItem* theWrappedObject, int column) const;
florianlink
upgraded wrappers to current generator version...
r28 QTreeWidgetItem::ChildIndicatorPolicy childIndicatorPolicy(QTreeWidgetItem* theWrappedObject) const;
florianlink
recreated wrappers to match current python qt version...
r73 Qt::ItemFlags flags(QTreeWidgetItem* theWrappedObject) const;
QVariant data(QTreeWidgetItem* theWrappedObject, int column, int role) const;
void setFlags(QTreeWidgetItem* theWrappedObject, Qt::ItemFlags flags);
int type(QTreeWidgetItem* theWrappedObject) const;
int columnCount(QTreeWidgetItem* theWrappedObject) const;
void setSelected(QTreeWidgetItem* theWrappedObject, bool select);
QTreeWidgetItem* clone(QTreeWidgetItem* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 void setCheckState(QTreeWidgetItem* theWrappedObject, int column, Qt::CheckState state);
florianlink
recreated wrappers to match current python qt version...
r73 void removeChild(QTreeWidgetItem* theWrappedObject, QTreeWidgetItem* child);
QBrush foreground(QTreeWidgetItem* theWrappedObject, int column) const;
florianlink
upgraded wrappers to current generator version...
r28 void setText(QTreeWidgetItem* theWrappedObject, int column, const QString& text);
florianlink
recreated wrappers to match current python qt version...
r73 bool isHidden(QTreeWidgetItem* theWrappedObject) const;
QTreeWidgetItem* takeChild(QTreeWidgetItem* theWrappedObject, int index);
void setChildIndicatorPolicy(QTreeWidgetItem* theWrappedObject, QTreeWidgetItem::ChildIndicatorPolicy policy);
QTreeWidgetItem* parent(QTreeWidgetItem* theWrappedObject) const;
bool isExpanded(QTreeWidgetItem* theWrappedObject) const;
void setSizeHint(QTreeWidgetItem* theWrappedObject, int column, const QSize& size);
void setStatusTip(QTreeWidgetItem* theWrappedObject, int column, const QString& statusTip);
QString statusTip(QTreeWidgetItem* theWrappedObject, int column) const;
QString whatsThis(QTreeWidgetItem* theWrappedObject, int column) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 };
#endif // PYTHONQTWRAPPER_QTREEWIDGETITEM_H