#ifndef PYTHONQTWRAPPER_QLISTVIEW_H #define PYTHONQTWRAPPER_QLISTVIEW_H #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include class PythonQtWrapper_QListView : public QObject { Q_OBJECT public: public slots: QListView* new_QListView(QWidget* parent = 0); void delete_QListView(QListView* obj) { delete obj; } int batchSize(QListView* theWrappedObject) const; void clearPropertyFlags(QListView* theWrappedObject); void doItemsLayout(QListView* theWrappedObject); QListView::Flow flow(QListView* theWrappedObject) const; QSize gridSize(QListView* theWrappedObject) const; QModelIndex indexAt(QListView* theWrappedObject, const QPoint& p) const; bool isRowHidden(QListView* theWrappedObject, int row) const; bool isSelectionRectVisible(QListView* theWrappedObject) const; bool isWrapping(QListView* theWrappedObject) const; QListView::LayoutMode layoutMode(QListView* theWrappedObject) const; int modelColumn(QListView* theWrappedObject) const; QListView::Movement movement(QListView* theWrappedObject) const; void reset(QListView* theWrappedObject); QListView::ResizeMode resizeMode(QListView* theWrappedObject) const; void scrollTo(QListView* theWrappedObject, const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible); void setBatchSize(QListView* theWrappedObject, int batchSize); void setFlow(QListView* theWrappedObject, QListView::Flow flow); void setGridSize(QListView* theWrappedObject, const QSize& size); void setLayoutMode(QListView* theWrappedObject, QListView::LayoutMode mode); void setModelColumn(QListView* theWrappedObject, int column); void setMovement(QListView* theWrappedObject, QListView::Movement movement); void setResizeMode(QListView* theWrappedObject, QListView::ResizeMode mode); void setRootIndex(QListView* theWrappedObject, const QModelIndex& index); void setRowHidden(QListView* theWrappedObject, int row, bool hide); void setSelectionRectVisible(QListView* theWrappedObject, bool show); void setSpacing(QListView* theWrappedObject, int space); void setUniformItemSizes(QListView* theWrappedObject, bool enable); void setViewMode(QListView* theWrappedObject, QListView::ViewMode mode); void setWordWrap(QListView* theWrappedObject, bool on); void setWrapping(QListView* theWrappedObject, bool enable); int spacing(QListView* theWrappedObject) const; bool uniformItemSizes(QListView* theWrappedObject) const; QListView::ViewMode viewMode(QListView* theWrappedObject) const; QRect visualRect(QListView* theWrappedObject, const QModelIndex& index) const; bool wordWrap(QListView* theWrappedObject) const; }; #endif // PYTHONQTWRAPPER_QLISTVIEW_H