##// END OF EJS Templates
- added hasOwner method to manage ownership more nicely...
- added hasOwner method to manage ownership more nicely - added force flag to make delete() work - added check for hasOwner git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@51 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r13:d46b01f7163a
r15:ae998290bf19
Show More
PythonQtWrapper_QListView.h
83 lines | 3.4 KiB | text/x-c | CLexer
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #ifndef PYTHONQTWRAPPER_QLISTVIEW_H
#define PYTHONQTWRAPPER_QLISTVIEW_H
#include <qlistview.h>
#include <QObject>
#include <QVariant>
#include <qabstractitemdelegate.h>
#include <qabstractitemmodel.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 <qlistview.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>
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