##// 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_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
upgraded wrappers to current generator version...
r28 void setForeground(QTreeWidgetItem* theWrappedObject, int column, const QBrush& brush);
QString statusTip(QTreeWidgetItem* theWrappedObject, int column) const;
void setWhatsThis(QTreeWidgetItem* theWrappedObject, int column, const QString& whatsThis);
void insertChildren(QTreeWidgetItem* theWrappedObject, int index, const QList<QTreeWidgetItem* >& children);
QTreeWidget* treeWidget(QTreeWidgetItem* theWrappedObject) const;
bool isSelected(QTreeWidgetItem* theWrappedObject) const;
int type(QTreeWidgetItem* theWrappedObject) const;
void setHidden(QTreeWidgetItem* theWrappedObject, bool hide);
QBrush background(QTreeWidgetItem* theWrappedObject, int column) const;
void setData(QTreeWidgetItem* theWrappedObject, int column, int role, const QVariant& value);
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 Qt::CheckState checkState(QTreeWidgetItem* theWrappedObject, int column) const;
florianlink
upgraded wrappers to current generator version...
r28 QString text(QTreeWidgetItem* theWrappedObject, int column) const;
int columnCount(QTreeWidgetItem* theWrappedObject) const;
void insertChild(QTreeWidgetItem* theWrappedObject, int index, QTreeWidgetItem* child);
void removeChild(QTreeWidgetItem* theWrappedObject, QTreeWidgetItem* child);
void setSelected(QTreeWidgetItem* theWrappedObject, bool select);
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 void writeTo(QTreeWidgetItem* theWrappedObject, QDataStream& out);
florianlink
upgraded wrappers to current generator version...
r28 QBrush foreground(QTreeWidgetItem* theWrappedObject, int column) const;
bool isDisabled(QTreeWidgetItem* theWrappedObject) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 void setFont(QTreeWidgetItem* theWrappedObject, int column, const QFont& font);
florianlink
upgraded wrappers to current generator version...
r28 QIcon icon(QTreeWidgetItem* theWrappedObject, int column) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 bool isHidden(QTreeWidgetItem* theWrappedObject) const;
void setStatusTip(QTreeWidgetItem* theWrappedObject, int column, const QString& statusTip);
florianlink
upgraded wrappers to current generator version...
r28 void addChild(QTreeWidgetItem* theWrappedObject, QTreeWidgetItem* child);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 int indexOfChild(QTreeWidgetItem* theWrappedObject, QTreeWidgetItem* child) const;
florianlink
upgraded wrappers to current generator version...
r28 void setSizeHint(QTreeWidgetItem* theWrappedObject, int column, const QSize& size);
void setBackground(QTreeWidgetItem* theWrappedObject, int column, const QBrush& brush);
int childCount(QTreeWidgetItem* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QVariant data(QTreeWidgetItem* theWrappedObject, int column, int role) const;
int textAlignment(QTreeWidgetItem* theWrappedObject, int column) const;
florianlink
upgraded wrappers to current generator version...
r28 QTreeWidgetItem* clone(QTreeWidgetItem* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void readFrom(QTreeWidgetItem* theWrappedObject, QDataStream& in);
florianlink
upgraded wrappers to current generator version...
r28 void sortChildren(QTreeWidgetItem* theWrappedObject, int column, Qt::SortOrder order);
QTreeWidgetItem* child(QTreeWidgetItem* theWrappedObject, int index) const;
void setTextAlignment(QTreeWidgetItem* theWrappedObject, int column, int alignment);
void setToolTip(QTreeWidgetItem* theWrappedObject, int column, const QString& toolTip);
QString whatsThis(QTreeWidgetItem* theWrappedObject, int column) const;
Qt::ItemFlags flags(QTreeWidgetItem* theWrappedObject) const;
QTreeWidgetItem* takeChild(QTreeWidgetItem* theWrappedObject, int index);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void setChildIndicatorPolicy(QTreeWidgetItem* theWrappedObject, QTreeWidgetItem::ChildIndicatorPolicy policy);
florianlink
upgraded wrappers to current generator version...
r28 void setFirstColumnSpanned(QTreeWidgetItem* theWrappedObject, bool span);
QSize sizeHint(QTreeWidgetItem* theWrappedObject, int column) const;
bool isExpanded(QTreeWidgetItem* theWrappedObject) const;
void setDisabled(QTreeWidgetItem* theWrappedObject, bool disabled);
QFont font(QTreeWidgetItem* theWrappedObject, int column) const;
void setExpanded(QTreeWidgetItem* theWrappedObject, bool expand);
void addChildren(QTreeWidgetItem* theWrappedObject, const QList<QTreeWidgetItem* >& children);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QTreeWidgetItem* parent(QTreeWidgetItem* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 QTreeWidgetItem::ChildIndicatorPolicy childIndicatorPolicy(QTreeWidgetItem* theWrappedObject) const;
void setCheckState(QTreeWidgetItem* theWrappedObject, int column, Qt::CheckState state);
QList<QTreeWidgetItem* > takeChildren(QTreeWidgetItem* theWrappedObject);
void setText(QTreeWidgetItem* theWrappedObject, int column, const QString& text);
QString toolTip(QTreeWidgetItem* theWrappedObject, int column) const;
bool isFirstColumnSpanned(QTreeWidgetItem* theWrappedObject) const;
void setFlags(QTreeWidgetItem* theWrappedObject, Qt::ItemFlags flags);
void setIcon(QTreeWidgetItem* theWrappedObject, int column, const QIcon& icon);
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 };
#endif // PYTHONQTWRAPPER_QTREEWIDGETITEM_H