##// 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_QTableWidgetItem.h
89 lines | 4.4 KiB | text/x-c | CLexer
/ generated_cpp / com_trolltech_qt_gui / PythonQtWrapper_QTableWidgetItem.h
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #ifndef PYTHONQTWRAPPER_QTABLEWIDGETITEM_H
#define PYTHONQTWRAPPER_QTABLEWIDGETITEM_H
#include <qtablewidget.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 <qsize.h>
#include <qtablewidget.h>
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 class PythonQtShell_QTableWidgetItem : public QTableWidgetItem
{
public:
PythonQtShell_QTableWidgetItem(const QIcon& icon, const QString& text, int type = Type):QTableWidgetItem(icon, text, type),_wrapper(NULL) {};
PythonQtShell_QTableWidgetItem(const QString& text, int type = Type):QTableWidgetItem(text, type),_wrapper(NULL) {};
PythonQtShell_QTableWidgetItem(int type = Type):QTableWidgetItem(type),_wrapper(NULL) {};
virtual QTableWidgetItem* clone() const;
virtual QVariant data(int role) const;
virtual bool operator_less(const QTableWidgetItem& other) const;
virtual void read(QDataStream& in);
virtual void setData(int role, const QVariant& value);
virtual void write(QDataStream& out) const;
PythonQtInstanceWrapper* _wrapper;
};
florianlink
upgraded wrappers to current generator version...
r28 class PythonQtPublicPromoter_QTableWidgetItem : public QTableWidgetItem
{ public:
inline QVariant promoted_data(int role) const { return QTableWidgetItem::data(role); }
florianlink
recreated wrappers to match current python qt version...
r73 inline QTableWidgetItem* promoted_clone() const { return QTableWidgetItem::clone(); }
inline void promoted_setData(int role, const QVariant& value) { QTableWidgetItem::setData(role, value); }
florianlink
upgraded wrappers to current generator version...
r28 };
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 class PythonQtWrapper_QTableWidgetItem : public QObject
{ Q_OBJECT
public:
Q_ENUMS(ItemType )
enum ItemType{
Type = QTableWidgetItem::Type, UserType = QTableWidgetItem::UserType};
public slots:
QTableWidgetItem* new_QTableWidgetItem(const QIcon& icon, const QString& text, int type = Type);
QTableWidgetItem* new_QTableWidgetItem(const QString& text, int type = Type);
QTableWidgetItem* new_QTableWidgetItem(int type = Type);
void delete_QTableWidgetItem(QTableWidgetItem* obj) { delete obj; }
florianlink
recreated wrappers to match current python qt version...
r73 QVariant data(QTableWidgetItem* theWrappedObject, int role) const;
void setIcon(QTableWidgetItem* theWrappedObject, const QIcon& icon);
QFont font(QTableWidgetItem* theWrappedObject) const;
void setStatusTip(QTableWidgetItem* theWrappedObject, const QString& statusTip);
QIcon icon(QTableWidgetItem* theWrappedObject) const;
void setBackground(QTableWidgetItem* theWrappedObject, const QBrush& brush);
bool isSelected(QTableWidgetItem* theWrappedObject) const;
void setSelected(QTableWidgetItem* theWrappedObject, bool select);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QBrush background(QTableWidgetItem* theWrappedObject) const;
florianlink
recreated wrappers to match current python qt version...
r73 void setTextAlignment(QTableWidgetItem* theWrappedObject, int alignment);
int row(QTableWidgetItem* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 void setToolTip(QTableWidgetItem* theWrappedObject, const QString& toolTip);
int type(QTableWidgetItem* theWrappedObject) const;
florianlink
recreated wrappers to match current python qt version...
r73 QBrush foreground(QTableWidgetItem* theWrappedObject) const;
void writeTo(QTableWidgetItem* theWrappedObject, QDataStream& out);
QString text(QTableWidgetItem* theWrappedObject) const;
void setText(QTableWidgetItem* theWrappedObject, const QString& text);
void setFlags(QTableWidgetItem* theWrappedObject, Qt::ItemFlags flags);
void setSizeHint(QTableWidgetItem* theWrappedObject, const QSize& size);
void setWhatsThis(QTableWidgetItem* theWrappedObject, const QString& whatsThis);
Qt::CheckState checkState(QTableWidgetItem* theWrappedObject) const;
QString whatsThis(QTableWidgetItem* theWrappedObject) const;
void setFont(QTableWidgetItem* theWrappedObject, const QFont& font);
florianlink
upgraded wrappers to current generator version...
r28 QString toolTip(QTableWidgetItem* theWrappedObject) const;
florianlink
recreated wrappers to match current python qt version...
r73 Qt::ItemFlags flags(QTableWidgetItem* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void setCheckState(QTableWidgetItem* theWrappedObject, Qt::CheckState state);
florianlink
upgraded wrappers to current generator version...
r28 QTableWidget* tableWidget(QTableWidgetItem* theWrappedObject) const;
florianlink
recreated wrappers to match current python qt version...
r73 void setForeground(QTableWidgetItem* theWrappedObject, const QBrush& brush);
florianlink
upgraded wrappers to current generator version...
r28 QString statusTip(QTableWidgetItem* theWrappedObject) const;
florianlink
recreated wrappers to match current python qt version...
r73 QTableWidgetItem* clone(QTableWidgetItem* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 int textAlignment(QTableWidgetItem* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 QSize sizeHint(QTableWidgetItem* theWrappedObject) const;
florianlink
recreated wrappers to match current python qt version...
r73 int column(QTableWidgetItem* theWrappedObject) const;
void readFrom(QTableWidgetItem* theWrappedObject, QDataStream& in);
void setData(QTableWidgetItem* theWrappedObject, int role, const QVariant& value);
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 };
#endif // PYTHONQTWRAPPER_QTABLEWIDGETITEM_H