##// END OF EJS Templates
added experimental compacting to avoid generation of hundreds of files that all include the same stuff...
added experimental compacting to avoid generation of hundreds of files that all include the same stuff git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@128 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r73:40dc86970256
r92:f97ec94c87a9
Show More
PythonQtWrapper_QAbstractItemView.h
267 lines | 17.8 KiB | text/x-c | CLexer
/ generated_cpp / com_trolltech_qt_gui / PythonQtWrapper_QAbstractItemView.h
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #ifndef PYTHONQTWRAPPER_QABSTRACTITEMVIEW_H
#define PYTHONQTWRAPPER_QABSTRACTITEMVIEW_H
#include <qabstractitemview.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 <qabstractitemdelegate.h>
#include <qabstractitemmodel.h>
#include <qabstractitemview.h>
#include <qaction.h>
#include <qbitmap.h>
#include <qbytearray.h>
#include <qcoreevent.h>
#include <qcursor.h>
#include <qevent.h>
#include <qfont.h>
#include <qicon.h>
#include <qinputcontext.h>
#include <qitemselectionmodel.h>
#include <qkeysequence.h>
#include <qlayout.h>
#include <qlist.h>
#include <qlocale.h>
#include <qobject.h>
#include <qpaintdevice.h>
#include <qpaintengine.h>
#include <qpainter.h>
#include <qpalette.h>
#include <qpoint.h>
#include <qrect.h>
#include <qregion.h>
#include <qscrollbar.h>
#include <qsize.h>
#include <qsizepolicy.h>
#include <qstyle.h>
#include <qstyleoption.h>
#include <qwidget.h>
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 class PythonQtShell_QAbstractItemView : public QAbstractItemView
{
public:
PythonQtShell_QAbstractItemView(QWidget* parent = 0):QAbstractItemView(parent),_wrapper(NULL) {};
virtual void actionEvent(QActionEvent* arg__1);
virtual void changeEvent(QEvent* arg__1);
virtual void childEvent(QChildEvent* arg__1);
virtual void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint);
virtual void closeEvent(QCloseEvent* arg__1);
virtual void commitData(QWidget* editor);
virtual void contextMenuEvent(QContextMenuEvent* arg__1);
virtual void currentChanged(const QModelIndex& current, const QModelIndex& previous);
virtual void customEvent(QEvent* arg__1);
virtual void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight);
virtual int devType() const;
virtual void doItemsLayout();
virtual void dragEnterEvent(QDragEnterEvent* event);
virtual void dragLeaveEvent(QDragLeaveEvent* event);
virtual void dragMoveEvent(QDragMoveEvent* event);
virtual void dropEvent(QDropEvent* event);
virtual bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event);
virtual void editorDestroyed(QObject* editor);
virtual void enterEvent(QEvent* arg__1);
virtual bool event(QEvent* event);
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
virtual void focusInEvent(QFocusEvent* event);
virtual bool focusNextPrevChild(bool next);
virtual void focusOutEvent(QFocusEvent* event);
virtual int heightForWidth(int arg__1) const;
virtual void hideEvent(QHideEvent* arg__1);
virtual int horizontalOffset() const;
virtual void horizontalScrollbarAction(int action);
virtual void horizontalScrollbarValueChanged(int value);
virtual QModelIndex indexAt(const QPoint& point) const;
virtual void inputMethodEvent(QInputMethodEvent* event);
virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const;
virtual bool isIndexHidden(const QModelIndex& index) const;
virtual void keyPressEvent(QKeyEvent* event);
virtual void keyReleaseEvent(QKeyEvent* arg__1);
virtual void keyboardSearch(const QString& search);
virtual void languageChange();
virtual void leaveEvent(QEvent* arg__1);
virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const;
virtual void mouseDoubleClickEvent(QMouseEvent* event);
virtual void mouseMoveEvent(QMouseEvent* event);
virtual void mousePressEvent(QMouseEvent* event);
virtual void mouseReleaseEvent(QMouseEvent* event);
virtual QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers);
virtual void moveEvent(QMoveEvent* arg__1);
virtual QPaintEngine* paintEngine() const;
virtual void paintEvent(QPaintEvent* arg__1);
virtual void reset();
virtual void resizeEvent(QResizeEvent* event);
virtual void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end);
virtual void rowsInserted(const QModelIndex& parent, int start, int end);
virtual void scrollContentsBy(int dx, int dy);
virtual void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible);
virtual void selectAll();
virtual QList<QModelIndex > selectedIndexes() const;
virtual void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected);
virtual QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event = 0) const;
virtual void setModel(QAbstractItemModel* model);
virtual void setRootIndex(const QModelIndex& index);
virtual void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command);
virtual void setSelectionModel(QItemSelectionModel* selectionModel);
virtual void showEvent(QShowEvent* arg__1);
virtual int sizeHintForColumn(int column) const;
virtual int sizeHintForRow(int row) const;
virtual void startDrag(Qt::DropActions supportedActions);
virtual void tabletEvent(QTabletEvent* arg__1);
virtual void timerEvent(QTimerEvent* event);
virtual void updateEditorData();
virtual void updateEditorGeometries();
virtual void updateGeometries();
virtual int verticalOffset() const;
virtual void verticalScrollbarAction(int action);
virtual void verticalScrollbarValueChanged(int value);
virtual QStyleOptionViewItem viewOptions() const;
virtual bool viewportEvent(QEvent* event);
virtual QRect visualRect(const QModelIndex& index) const;
virtual QRegion visualRegionForSelection(const QItemSelection& selection) const;
virtual void wheelEvent(QWheelEvent* arg__1);
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtPublicPromoter_QAbstractItemView : public QAbstractItemView
{ public:
florianlink
recreated wrappers to match current python qt version...
r73 inline void promoted_reset() { QAbstractItemView::reset(); }
inline void promoted_focusInEvent(QFocusEvent* event) { QAbstractItemView::focusInEvent(event); }
inline void promoted_doItemsLayout() { QAbstractItemView::doItemsLayout(); }
inline void promoted_updateEditorData() { QAbstractItemView::updateEditorData(); }
inline void promoted_selectAll() { QAbstractItemView::selectAll(); }
inline void promoted_dragLeaveEvent(QDragLeaveEvent* event) { QAbstractItemView::dragLeaveEvent(event); }
inline void promoted_selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) { QAbstractItemView::selectionChanged(selected, deselected); }
florianlink
upgraded wrappers to current generator version...
r28 inline void promoted_updateGeometries() { QAbstractItemView::updateGeometries(); }
florianlink
recreated wrappers to match current python qt version...
r73 inline void promoted_setSelectionModel(QItemSelectionModel* selectionModel) { QAbstractItemView::setSelectionModel(selectionModel); }
florianlink
upgraded wrappers to current generator version...
r28 inline void promoted_dropEvent(QDropEvent* event) { QAbstractItemView::dropEvent(event); }
florianlink
recreated wrappers to match current python qt version...
r73 inline void promoted_resizeEvent(QResizeEvent* event) { QAbstractItemView::resizeEvent(event); }
florianlink
upgraded wrappers to current generator version...
r28 inline bool promoted_viewportEvent(QEvent* event) { return QAbstractItemView::viewportEvent(event); }
inline void promoted_setModel(QAbstractItemModel* model) { QAbstractItemView::setModel(model); }
inline bool promoted_edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event) { return QAbstractItemView::edit(index, trigger, event); }
florianlink
recreated wrappers to match current python qt version...
r73 inline void promoted_mouseDoubleClickEvent(QMouseEvent* event) { QAbstractItemView::mouseDoubleClickEvent(event); }
florianlink
upgraded wrappers to current generator version...
r28 inline void promoted_currentChanged(const QModelIndex& current, const QModelIndex& previous) { QAbstractItemView::currentChanged(current, previous); }
florianlink
recreated wrappers to match current python qt version...
r73 inline void promoted_closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint) { QAbstractItemView::closeEditor(editor, hint); }
florianlink
upgraded wrappers to current generator version...
r28 inline int promoted_sizeHintForColumn(int column) const { return QAbstractItemView::sizeHintForColumn(column); }
inline void promoted_commitData(QWidget* editor) { QAbstractItemView::commitData(editor); }
inline void promoted_dragEnterEvent(QDragEnterEvent* event) { QAbstractItemView::dragEnterEvent(event); }
florianlink
recreated wrappers to match current python qt version...
r73 inline void promoted_verticalScrollbarValueChanged(int value) { QAbstractItemView::verticalScrollbarValueChanged(value); }
inline void promoted_dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight) { QAbstractItemView::dataChanged(topLeft, bottomRight); }
florianlink
upgraded wrappers to current generator version...
r28 inline void promoted_keyboardSearch(const QString& search) { QAbstractItemView::keyboardSearch(search); }
florianlink
recreated wrappers to match current python qt version...
r73 inline QItemSelectionModel::SelectionFlags promoted_selectionCommand(const QModelIndex& index, const QEvent* event = 0) const { return QAbstractItemView::selectionCommand(index, event); }
florianlink
upgraded wrappers to current generator version...
r28 inline void promoted_focusOutEvent(QFocusEvent* event) { QAbstractItemView::focusOutEvent(event); }
florianlink
recreated wrappers to match current python qt version...
r73 inline void promoted_keyPressEvent(QKeyEvent* event) { QAbstractItemView::keyPressEvent(event); }
inline bool promoted_focusNextPrevChild(bool next) { return QAbstractItemView::focusNextPrevChild(next); }
florianlink
upgraded wrappers to current generator version...
r28 inline QStyleOptionViewItem promoted_viewOptions() const { return QAbstractItemView::viewOptions(); }
florianlink
recreated wrappers to match current python qt version...
r73 inline void promoted_verticalScrollbarAction(int action) { QAbstractItemView::verticalScrollbarAction(action); }
inline QVariant promoted_inputMethodQuery(Qt::InputMethodQuery query) const { return QAbstractItemView::inputMethodQuery(query); }
inline void promoted_editorDestroyed(QObject* editor) { QAbstractItemView::editorDestroyed(editor); }
inline void promoted_mouseReleaseEvent(QMouseEvent* event) { QAbstractItemView::mouseReleaseEvent(event); }
florianlink
upgraded wrappers to current generator version...
r28 inline void promoted_rowsInserted(const QModelIndex& parent, int start, int end) { QAbstractItemView::rowsInserted(parent, start, end); }
florianlink
recreated wrappers to match current python qt version...
r73 inline void promoted_mousePressEvent(QMouseEvent* event) { QAbstractItemView::mousePressEvent(event); }
inline void promoted_dragMoveEvent(QDragMoveEvent* event) { QAbstractItemView::dragMoveEvent(event); }
inline QList<QModelIndex > promoted_selectedIndexes() const { return QAbstractItemView::selectedIndexes(); }
inline void promoted_inputMethodEvent(QInputMethodEvent* event) { QAbstractItemView::inputMethodEvent(event); }
inline void promoted_startDrag(Qt::DropActions supportedActions) { QAbstractItemView::startDrag(supportedActions); }
inline bool promoted_event(QEvent* event) { return QAbstractItemView::event(event); }
inline void promoted_rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) { QAbstractItemView::rowsAboutToBeRemoved(parent, start, end); }
inline void promoted_updateEditorGeometries() { QAbstractItemView::updateEditorGeometries(); }
florianlink
upgraded wrappers to current generator version...
r28 inline int promoted_sizeHintForRow(int row) const { return QAbstractItemView::sizeHintForRow(row); }
florianlink
recreated wrappers to match current python qt version...
r73 inline void promoted_timerEvent(QTimerEvent* event) { QAbstractItemView::timerEvent(event); }
inline void promoted_setRootIndex(const QModelIndex& index) { QAbstractItemView::setRootIndex(index); }
inline void promoted_horizontalScrollbarAction(int action) { QAbstractItemView::horizontalScrollbarAction(action); }
inline void promoted_horizontalScrollbarValueChanged(int value) { QAbstractItemView::horizontalScrollbarValueChanged(value); }
inline void promoted_mouseMoveEvent(QMouseEvent* event) { QAbstractItemView::mouseMoveEvent(event); }
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 };
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 class PythonQtWrapper_QAbstractItemView : public QObject
{ Q_OBJECT
public:
Q_ENUMS(EditTrigger )
florianlink
recreated wrappers to match current python qt version...
r73 Q_FLAGS(EditTriggers )
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 enum EditTrigger{
NoEditTriggers = QAbstractItemView::NoEditTriggers, CurrentChanged = QAbstractItemView::CurrentChanged, DoubleClicked = QAbstractItemView::DoubleClicked, SelectedClicked = QAbstractItemView::SelectedClicked, EditKeyPressed = QAbstractItemView::EditKeyPressed, AnyKeyPressed = QAbstractItemView::AnyKeyPressed, AllEditTriggers = QAbstractItemView::AllEditTriggers};
florianlink
recreated wrappers to match current python qt version...
r73 Q_DECLARE_FLAGS(EditTriggers, EditTrigger)
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 public slots:
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QAbstractItemView* new_QAbstractItemView(QWidget* parent = 0);
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 void delete_QAbstractItemView(QAbstractItemView* obj) { delete obj; }
florianlink
recreated wrappers to match current python qt version...
r73 bool dragEnabled(QAbstractItemView* theWrappedObject) const;
void setItemDelegate(QAbstractItemView* theWrappedObject, QAbstractItemDelegate* delegate);
florianlink
upgraded wrappers to current generator version...
r28 void focusInEvent(QAbstractItemView* theWrappedObject, QFocusEvent* event);
florianlink
recreated wrappers to match current python qt version...
r73 void dragLeaveEvent(QAbstractItemView* theWrappedObject, QDragLeaveEvent* event);
QAbstractItemView::ScrollMode verticalScrollMode(QAbstractItemView* theWrappedObject) const;
Qt::TextElideMode textElideMode(QAbstractItemView* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QAbstractItemView::ScrollMode horizontalScrollMode(QAbstractItemView* theWrappedObject) const;
void setEditTriggers(QAbstractItemView* theWrappedObject, QAbstractItemView::EditTriggers triggers);
florianlink
recreated wrappers to match current python qt version...
r73 QModelIndex rootIndex(QAbstractItemView* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void closePersistentEditor(QAbstractItemView* theWrappedObject, const QModelIndex& index);
florianlink
recreated wrappers to match current python qt version...
r73 QAbstractItemModel* model(QAbstractItemView* theWrappedObject) const;
void setSelectionModel(QAbstractItemView* theWrappedObject, QItemSelectionModel* selectionModel);
void dropEvent(QAbstractItemView* theWrappedObject, QDropEvent* event);
QModelIndex currentIndex(QAbstractItemView* theWrappedObject) const;
void resizeEvent(QAbstractItemView* theWrappedObject, QResizeEvent* event);
bool dragDropOverwriteMode(QAbstractItemView* theWrappedObject) const;
bool viewportEvent(QAbstractItemView* theWrappedObject, QEvent* event);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void setDropIndicatorShown(QAbstractItemView* theWrappedObject, bool enable);
florianlink
recreated wrappers to match current python qt version...
r73 QItemSelectionModel* selectionModel(QAbstractItemView* theWrappedObject) const;
QAbstractItemDelegate* itemDelegateForColumn(QAbstractItemView* theWrappedObject, int column) const;
florianlink
upgraded wrappers to current generator version...
r28 bool alternatingRowColors(QAbstractItemView* theWrappedObject) const;
florianlink
recreated wrappers to match current python qt version...
r73 void setModel(QAbstractItemView* theWrappedObject, QAbstractItemModel* model);
bool edit(QAbstractItemView* theWrappedObject, const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event);
void mouseDoubleClickEvent(QAbstractItemView* theWrappedObject, QMouseEvent* event);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 int sizeHintForColumn(QAbstractItemView* theWrappedObject, int column) const;
void setSelectionMode(QAbstractItemView* theWrappedObject, QAbstractItemView::SelectionMode mode);
void dragEnterEvent(QAbstractItemView* theWrappedObject, QDragEnterEvent* event);
florianlink
recreated wrappers to match current python qt version...
r73 QAbstractItemDelegate* itemDelegate(QAbstractItemView* theWrappedObject) const;
void setTabKeyNavigation(QAbstractItemView* theWrappedObject, bool enable);
void setSelectionBehavior(QAbstractItemView* theWrappedObject, QAbstractItemView::SelectionBehavior behavior);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void openPersistentEditor(QAbstractItemView* theWrappedObject, const QModelIndex& index);
void keyboardSearch(QAbstractItemView* theWrappedObject, const QString& search);
florianlink
recreated wrappers to match current python qt version...
r73 int autoScrollMargin(QAbstractItemView* theWrappedObject) const;
QAbstractItemDelegate* itemDelegate(QAbstractItemView* theWrappedObject, const QModelIndex& index) const;
QItemSelectionModel::SelectionFlags selectionCommand(QAbstractItemView* theWrappedObject, const QModelIndex& index, const QEvent* event = 0) const;
florianlink
upgraded wrappers to current generator version...
r28 QAbstractItemView::DragDropMode dragDropMode(QAbstractItemView* theWrappedObject) const;
florianlink
recreated wrappers to match current python qt version...
r73 QAbstractItemView::EditTriggers editTriggers(QAbstractItemView* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void focusOutEvent(QAbstractItemView* theWrappedObject, QFocusEvent* event);
florianlink
recreated wrappers to match current python qt version...
r73 void keyPressEvent(QAbstractItemView* theWrappedObject, QKeyEvent* event);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void setAutoScrollMargin(QAbstractItemView* theWrappedObject, int margin);
florianlink
recreated wrappers to match current python qt version...
r73 bool focusNextPrevChild(QAbstractItemView* theWrappedObject, bool next);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QStyleOptionViewItem viewOptions(QAbstractItemView* theWrappedObject) const;
void setDragDropOverwriteMode(QAbstractItemView* theWrappedObject, bool overwrite);
florianlink
recreated wrappers to match current python qt version...
r73 bool hasAutoScroll(QAbstractItemView* theWrappedObject) const;
bool tabKeyNavigation(QAbstractItemView* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 QSize sizeHintForIndex(QAbstractItemView* theWrappedObject, const QModelIndex& index) const;
florianlink
recreated wrappers to match current python qt version...
r73 QSize iconSize(QAbstractItemView* theWrappedObject) const;
QVariant inputMethodQuery(QAbstractItemView* theWrappedObject, Qt::InputMethodQuery query) const;
void setItemDelegateForRow(QAbstractItemView* theWrappedObject, int row, QAbstractItemDelegate* delegate);
void mouseReleaseEvent(QAbstractItemView* theWrappedObject, QMouseEvent* event);
void setItemDelegateForColumn(QAbstractItemView* theWrappedObject, int column, QAbstractItemDelegate* delegate);
bool showDropIndicator(QAbstractItemView* theWrappedObject) const;
void setIconSize(QAbstractItemView* theWrappedObject, const QSize& size);
QAbstractItemDelegate* itemDelegateForRow(QAbstractItemView* theWrappedObject, int row) const;
void mousePressEvent(QAbstractItemView* theWrappedObject, QMouseEvent* event);
void setHorizontalScrollMode(QAbstractItemView* theWrappedObject, QAbstractItemView::ScrollMode mode);
void setVerticalScrollMode(QAbstractItemView* theWrappedObject, QAbstractItemView::ScrollMode mode);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void setTextElideMode(QAbstractItemView* theWrappedObject, Qt::TextElideMode mode);
florianlink
recreated wrappers to match current python qt version...
r73 void dragMoveEvent(QAbstractItemView* theWrappedObject, QDragMoveEvent* event);
QList<QModelIndex > selectedIndexes(QAbstractItemView* theWrappedObject) const;
void inputMethodEvent(QAbstractItemView* theWrappedObject, QInputMethodEvent* event);
void setDragEnabled(QAbstractItemView* theWrappedObject, bool enable);
QAbstractItemView::SelectionMode selectionMode(QAbstractItemView* theWrappedObject) const;
void startDrag(QAbstractItemView* theWrappedObject, Qt::DropActions supportedActions);
void setIndexWidget(QAbstractItemView* theWrappedObject, const QModelIndex& index, QWidget* widget);
bool event(QAbstractItemView* theWrappedObject, QEvent* event);
void setDragDropMode(QAbstractItemView* theWrappedObject, QAbstractItemView::DragDropMode behavior);
void setAutoScroll(QAbstractItemView* theWrappedObject, bool enable);
int sizeHintForRow(QAbstractItemView* theWrappedObject, int row) const;
void setAlternatingRowColors(QAbstractItemView* theWrappedObject, bool enable);
void timerEvent(QAbstractItemView* theWrappedObject, QTimerEvent* event);
QWidget* indexWidget(QAbstractItemView* theWrappedObject, const QModelIndex& index) const;
QAbstractItemView::SelectionBehavior selectionBehavior(QAbstractItemView* theWrappedObject) const;
void mouseMoveEvent(QAbstractItemView* theWrappedObject, QMouseEvent* event);
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 };
#endif // PYTHONQTWRAPPER_QABSTRACTITEMVIEW_H