|
|
#ifndef PYTHONQTWRAPPER_QABSTRACTITEMMODEL_H
|
|
|
#define PYTHONQTWRAPPER_QABSTRACTITEMMODEL_H
|
|
|
|
|
|
#include <qabstractitemmodel.h>
|
|
|
#include <QObject>
|
|
|
|
|
|
#include <QVariant>
|
|
|
#include <qabstractitemmodel.h>
|
|
|
#include <qbytearray.h>
|
|
|
#include <qcoreevent.h>
|
|
|
#include <qdatastream.h>
|
|
|
#include <qlist.h>
|
|
|
#include <qmimedata.h>
|
|
|
#include <qobject.h>
|
|
|
#include <qsize.h>
|
|
|
#include <qstringlist.h>
|
|
|
|
|
|
class PythonQtWrapper_QAbstractItemModel : public QObject
|
|
|
{ Q_OBJECT
|
|
|
public:
|
|
|
public slots:
|
|
|
void delete_QAbstractItemModel(QAbstractItemModel* obj) { delete obj; }
|
|
|
QModelIndex buddy(QAbstractItemModel* theWrappedObject, const QModelIndex& index) const;
|
|
|
bool canFetchMore(QAbstractItemModel* theWrappedObject, const QModelIndex& parent) const;
|
|
|
int columnCount(QAbstractItemModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const;
|
|
|
QVariant data(QAbstractItemModel* theWrappedObject, const QModelIndex& index, int role = Qt::DisplayRole) const;
|
|
|
bool dropMimeData(QAbstractItemModel* theWrappedObject, const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent);
|
|
|
void fetchMore(QAbstractItemModel* theWrappedObject, const QModelIndex& parent);
|
|
|
Qt::ItemFlags flags(QAbstractItemModel* theWrappedObject, const QModelIndex& index) const;
|
|
|
bool hasChildren(QAbstractItemModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const;
|
|
|
bool hasIndex(QAbstractItemModel* theWrappedObject, int row, int column, const QModelIndex& parent = QModelIndex()) const;
|
|
|
QVariant headerData(QAbstractItemModel* theWrappedObject, int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const;
|
|
|
QModelIndex index(QAbstractItemModel* theWrappedObject, int row, int column, const QModelIndex& parent = QModelIndex()) const;
|
|
|
bool insertColumn(QAbstractItemModel* theWrappedObject, int column, const QModelIndex& parent = QModelIndex());
|
|
|
bool insertColumns(QAbstractItemModel* theWrappedObject, int column, int count, const QModelIndex& parent = QModelIndex());
|
|
|
bool insertRow(QAbstractItemModel* theWrappedObject, int row, const QModelIndex& parent = QModelIndex());
|
|
|
bool insertRows(QAbstractItemModel* theWrappedObject, int row, int count, const QModelIndex& parent = QModelIndex());
|
|
|
QMap<int , QVariant > itemData(QAbstractItemModel* theWrappedObject, const QModelIndex& index) const;
|
|
|
QList<QModelIndex > match(QAbstractItemModel* theWrappedObject, const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const;
|
|
|
QMimeData* mimeData(QAbstractItemModel* theWrappedObject, const QList<QModelIndex >& indexes) const;
|
|
|
QStringList mimeTypes(QAbstractItemModel* theWrappedObject) const;
|
|
|
QObject* parent(QAbstractItemModel* theWrappedObject) const;
|
|
|
QModelIndex parent(QAbstractItemModel* theWrappedObject, const QModelIndex& child) const;
|
|
|
bool removeColumn(QAbstractItemModel* theWrappedObject, int column, const QModelIndex& parent = QModelIndex());
|
|
|
bool removeColumns(QAbstractItemModel* theWrappedObject, int column, int count, const QModelIndex& parent = QModelIndex());
|
|
|
bool removeRow(QAbstractItemModel* theWrappedObject, int row, const QModelIndex& parent = QModelIndex());
|
|
|
bool removeRows(QAbstractItemModel* theWrappedObject, int row, int count, const QModelIndex& parent = QModelIndex());
|
|
|
int rowCount(QAbstractItemModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const;
|
|
|
bool setData(QAbstractItemModel* theWrappedObject, const QModelIndex& index, const QVariant& value, int role = Qt::EditRole);
|
|
|
bool setHeaderData(QAbstractItemModel* theWrappedObject, int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole);
|
|
|
bool setItemData(QAbstractItemModel* theWrappedObject, const QModelIndex& index, const QMap<int , QVariant >& roles);
|
|
|
void setSupportedDragActions(QAbstractItemModel* theWrappedObject, Qt::DropActions arg__1);
|
|
|
QModelIndex sibling(QAbstractItemModel* theWrappedObject, int row, int column, const QModelIndex& idx) const;
|
|
|
void sort(QAbstractItemModel* theWrappedObject, int column, Qt::SortOrder order = Qt::AscendingOrder);
|
|
|
QSize span(QAbstractItemModel* theWrappedObject, const QModelIndex& index) const;
|
|
|
Qt::DropActions supportedDragActions(QAbstractItemModel* theWrappedObject) const;
|
|
|
Qt::DropActions supportedDropActions(QAbstractItemModel* theWrappedObject) const;
|
|
|
};
|
|
|
|
|
|
#endif // PYTHONQTWRAPPER_QABSTRACTITEMMODEL_H
|
|
|
|