API reference - Class QListView

Notation used in Ruby API documentation

Module: QtWidgets

Description: Binding of QListView

Class hierarchy: QListView » QAbstractItemView » QAbstractScrollArea » QFrame » QWidget » QObject

Sub-classes: Flow, QFlags_Flow, LayoutMode, QFlags_LayoutMode, Movement, QFlags_Movement, ResizeMode, QFlags_ResizeMode, ViewMode, QFlags_ViewMode

Public constructors

new QListViewnew(QWidget ptr parent = 0)Constructor QListView::QListView(QWidget *parent)

Public methods

void_createEnsures the C++ object is created
void_destroyExplicitly destroys the object
[const]bool_destroyed?Returns a value indicating whether the object was already destroyed
[const]bool_is_const_object?Returns a value indicating whether the reference is a const reference
void_manageMarks the object as managed by the script side.
void_unmanageMarks the object as no longer owned by the script side.
[signal]voidactivated(const QModelIndex index)Signal declaration for QListView::activated(const QModelIndex &index)
[const]intbatchSizeMethod int QListView::batchSize()
voidbatchSize=(int batchSize)Method void QListView::setBatchSize(int batchSize)
voidclearPropertyFlagsMethod void QListView::clearPropertyFlags()
[signal]voidclicked(const QModelIndex index)Signal declaration for QListView::clicked(const QModelIndex &index)
[signal]voidcustomContextMenuRequested(const QPoint pos)Signal declaration for QListView::customContextMenuRequested(const QPoint &pos)
[signal]voiddestroyed(QObject ptr arg1)Signal declaration for QListView::destroyed(QObject *)
voiddoItemsLayoutVirtual method void QListView::doItemsLayout()
[signal]voiddoubleClicked(const QModelIndex index)Signal declaration for QListView::doubleClicked(const QModelIndex &index)
voidemit_activated(const QModelIndex index)Emitter for signal void QListView::activated(const QModelIndex &index)
voidemit_clicked(const QModelIndex index)Emitter for signal void QListView::clicked(const QModelIndex &index)
voidemit_customContextMenuRequested(const QPoint pos)Emitter for signal void QListView::customContextMenuRequested(const QPoint &pos)
voidemit_destroyed(QObject ptr arg1 = 0)Emitter for signal void QListView::destroyed(QObject *)
voidemit_doubleClicked(const QModelIndex index)Emitter for signal void QListView::doubleClicked(const QModelIndex &index)
voidemit_entered(const QModelIndex index)Emitter for signal void QListView::entered(const QModelIndex &index)
voidemit_iconSizeChanged(const QSize size)Emitter for signal void QListView::iconSizeChanged(const QSize &size)
voidemit_indexesMoved(QModelIndex[] indexes)Emitter for signal void QListView::indexesMoved(const QList<QModelIndex> &indexes)
voidemit_objectNameChanged(string objectName)Emitter for signal void QListView::objectNameChanged(const QString &objectName)
voidemit_pressed(const QModelIndex index)Emitter for signal void QListView::pressed(const QModelIndex &index)
voidemit_viewportEnteredEmitter for signal void QListView::viewportEntered()
voidemit_windowIconChanged(const QIcon icon)Emitter for signal void QListView::windowIconChanged(const QIcon &icon)
voidemit_windowIconTextChanged(string iconText)Emitter for signal void QListView::windowIconTextChanged(const QString &iconText)
voidemit_windowTitleChanged(string title)Emitter for signal void QListView::windowTitleChanged(const QString &title)
[signal]voidentered(const QModelIndex index)Signal declaration for QListView::entered(const QModelIndex &index)
[const]QListView_FlowflowMethod QListView::Flow QListView::flow()
voidflow=(const QListView_Flow flow)Method void QListView::setFlow(QListView::Flow flow)
[const]QSizegridSizeMethod QSize QListView::gridSize()
voidgridSize=(const QSize size)Method void QListView::setGridSize(const QSize &size)
[const]boolhasHeightForWidthVirtual method bool QListView::hasHeightForWidth()
[const]intheightForWidth(int arg1)Virtual method int QListView::heightForWidth(int)
[signal]voidiconSizeChanged(const QSize size)Signal declaration for QListView::iconSizeChanged(const QSize &size)
[const]QModelIndexindexAt(const QPoint p)Virtual method QModelIndex QListView::indexAt(const QPoint &p)
[signal]voidindexesMoved(QModelIndex[] indexes)Signal declaration for QListView::indexesMoved(const QList<QModelIndex> &indexes)
[const]variantinputMethodQuery(const Qt_InputMethodQuery query)Virtual method QVariant QListView::inputMethodQuery(Qt::InputMethodQuery query)
[const]boolisRowHidden?(int row)Method bool QListView::isRowHidden(int row)
[const]boolisSelectionRectVisible?Method bool QListView::isSelectionRectVisible()
[const]boolisWrappingMethod bool QListView::isWrapping()
[const]boolisWrapping?Method bool QListView::isWrapping()
voidkeyboardSearch(string search)Virtual method void QListView::keyboardSearch(const QString &search)
[const]QListView_LayoutModelayoutModeMethod QListView::LayoutMode QListView::layoutMode()
voidlayoutMode=(const QListView_LayoutMode mode)Method void QListView::setLayoutMode(QListView::LayoutMode mode)
[const]QSizeminimumSizeHintVirtual method QSize QListView::minimumSizeHint()
[const]intmodelColumnMethod int QListView::modelColumn()
voidmodelColumn=(int column)Method void QListView::setModelColumn(int column)
[const]QListView_MovementmovementMethod QListView::Movement QListView::movement()
voidmovement=(const QListView_Movement movement)Method void QListView::setMovement(QListView::Movement movement)
[signal]voidobjectNameChanged(string objectName)Signal declaration for QListView::objectNameChanged(const QString &objectName)
[const]QPaintEngine ptrpaintEngineVirtual method QPaintEngine *QListView::paintEngine()
[signal]voidpressed(const QModelIndex index)Signal declaration for QListView::pressed(const QModelIndex &index)
voidresetVirtual method void QListView::reset()
[const]QListView_ResizeModeresizeModeMethod QListView::ResizeMode QListView::resizeMode()
voidresizeMode=(const QListView_ResizeMode mode)Method void QListView::setResizeMode(QListView::ResizeMode mode)
voidrootIndex=(const QModelIndex index)Method void QListView::setRootIndex(const QModelIndex &index)
voidscrollTo(const QModelIndex index,
const QAbstractItemView_ScrollHint hint)
Virtual method void QListView::scrollTo(const QModelIndex &index, QAbstractItemView::ScrollHint hint)
voidselectAllVirtual method void QListView::selectAll()
[const]boolselectionRectVisibleMethod bool QListView::isSelectionRectVisible()
voidselectionRectVisible=(bool show)Method void QListView::setSelectionRectVisible(bool show)
voidsetBatchSize(int batchSize)Method void QListView::setBatchSize(int batchSize)
voidsetFlow(const QListView_Flow flow)Method void QListView::setFlow(QListView::Flow flow)
voidsetGridSize(const QSize size)Method void QListView::setGridSize(const QSize &size)
voidsetLayoutMode(const QListView_LayoutMode mode)Method void QListView::setLayoutMode(QListView::LayoutMode mode)
voidsetModel(QAbstractItemModel ptr model)Virtual method void QListView::setModel(QAbstractItemModel *model)
voidsetModelColumn(int column)Method void QListView::setModelColumn(int column)
voidsetMovement(const QListView_Movement movement)Method void QListView::setMovement(QListView::Movement movement)
voidsetResizeMode(const QListView_ResizeMode mode)Method void QListView::setResizeMode(QListView::ResizeMode mode)
voidsetRootIndex(const QModelIndex index)Virtual method void QListView::setRootIndex(const QModelIndex &index)
voidsetRowHidden(int row,
bool hide)
Method void QListView::setRowHidden(int row, bool hide)
voidsetSelectionModel(QItemSelectionModel ptr selectionModel)Virtual method void QListView::setSelectionModel(QItemSelectionModel *selectionModel)
voidsetSelectionRectVisible(bool show)Method void QListView::setSelectionRectVisible(bool show)
voidsetSpacing(int space)Method void QListView::setSpacing(int space)
voidsetUniformItemSizes(bool enable)Method void QListView::setUniformItemSizes(bool enable)
voidsetViewMode(const QListView_ViewMode mode)Method void QListView::setViewMode(QListView::ViewMode mode)
voidsetVisible(bool visible)Virtual method void QListView::setVisible(bool visible)
voidsetWordWrap(bool on)Method void QListView::setWordWrap(bool on)
voidsetWrapping(bool enable)Method void QListView::setWrapping(bool enable)
voidsetupViewport(QWidget ptr viewport)Virtual method void QListView::setupViewport(QWidget *viewport)
[const]QSizesizeHintVirtual method QSize QListView::sizeHint()
[const]intsizeHintForColumn(int column)Virtual method int QListView::sizeHintForColumn(int column)
[const]intsizeHintForRow(int row)Virtual method int QListView::sizeHintForRow(int row)
[const]intspacingMethod int QListView::spacing()
voidspacing=(int space)Method void QListView::setSpacing(int space)
[const]booluniformItemSizesMethod bool QListView::uniformItemSizes()
voiduniformItemSizes=(bool enable)Method void QListView::setUniformItemSizes(bool enable)
[const]QListView_ViewModeviewModeMethod QListView::ViewMode QListView::viewMode()
voidviewMode=(const QListView_ViewMode mode)Method void QListView::setViewMode(QListView::ViewMode mode)
[signal]voidviewportEnteredSignal declaration for QListView::viewportEntered()
[const]QRectvisualRect(const QModelIndex index)Virtual method QRect QListView::visualRect(const QModelIndex &index)
[signal]voidwindowIconChanged(const QIcon icon)Signal declaration for QListView::windowIconChanged(const QIcon &icon)
[signal]voidwindowIconTextChanged(string iconText)Signal declaration for QListView::windowIconTextChanged(const QString &iconText)
[signal]voidwindowTitleChanged(string title)Signal declaration for QListView::windowTitleChanged(const QString &title)
[const]boolwordWrapMethod bool QListView::wordWrap()
voidwordWrap=(bool on)Method void QListView::setWordWrap(bool on)

Public static methods and constants

[static,const]QListView_ResizeModeAdjustEnum constant QListView::Adjust
[static,const]QListView_LayoutModeBatchedEnum constant QListView::Batched
[static,const]QListView_ResizeModeFixedEnum constant QListView::Fixed
[static,const]QListView_MovementFreeEnum constant QListView::Free
[static,const]QListView_ViewModeIconModeEnum constant QListView::IconMode
[static,const]QListView_FlowLeftToRightEnum constant QListView::LeftToRight
[static,const]QListView_ViewModeListModeEnum constant QListView::ListMode
[static,const]QListView_LayoutModeSinglePassEnum constant QListView::SinglePass
[static,const]QListView_MovementSnapEnum constant QListView::Snap
[static,const]QListView_MovementStaticEnum constant QListView::Static
[static,const]QListView_FlowTopToBottomEnum constant QListView::TopToBottom
QMetaObjectstaticMetaObjectObtains the static MetaObject for this class.
stringtr(string s,
string c = nullptr,
int n = -1)
Static method QString QListView::tr(const char *s, const char *c, int n)
stringtrUtf8(string s,
string c = nullptr,
int n = -1)
Static method QString QListView::trUtf8(const char *s, const char *c, int n)

Protected methods (static, non-static and constructors)

voidactionEvent(QActionEvent ptr arg1)Virtual method void QListView::actionEvent(QActionEvent *)
voidchangeEvent(QEvent ptr arg1)Virtual method void QListView::changeEvent(QEvent *)
voidchildEvent(QChildEvent ptr arg1)Virtual method void QListView::childEvent(QChildEvent *)
voidcloseEditor(QWidget ptr editor,
const QAbstractItemDelegate_EndEditHint hint)
Virtual method void QListView::closeEditor(QWidget *editor, QAbstractItemDelegate::EndEditHint hint)
voidcloseEvent(QCloseEvent ptr arg1)Virtual method void QListView::closeEvent(QCloseEvent *)
voidcommitData(QWidget ptr editor)Virtual method void QListView::commitData(QWidget *editor)
[const]QSizecontentsSizeMethod QSize QListView::contentsSize()
voidcontextMenuEvent(QContextMenuEvent ptr arg1)Virtual method void QListView::contextMenuEvent(QContextMenuEvent *)
voidcurrentChanged(const QModelIndex current,
const QModelIndex previous)
Virtual method void QListView::currentChanged(const QModelIndex &current, const QModelIndex &previous)
voidcustomEvent(QEvent ptr arg1)Virtual method void QListView::customEvent(QEvent *)
voiddataChanged(const QModelIndex topLeft,
const QModelIndex bottomRight,
int[] roles)
Virtual method void QListView::dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector<int> &roles)
[const]QPointdirtyRegionOffsetMethod QPoint QListView::dirtyRegionOffset()
voiddisconnectNotify(const QMetaMethod signal)Virtual method void QListView::disconnectNotify(const QMetaMethod &signal)
voiddoAutoScrollMethod void QListView::doAutoScroll()
voiddragEnterEvent(QDragEnterEvent ptr event)Virtual method void QListView::dragEnterEvent(QDragEnterEvent *event)
voiddragLeaveEvent(QDragLeaveEvent ptr e)Virtual method void QListView::dragLeaveEvent(QDragLeaveEvent *e)
voiddragMoveEvent(QDragMoveEvent ptr e)Virtual method void QListView::dragMoveEvent(QDragMoveEvent *e)
voiddrawFrame(QPainter ptr arg1)Method void QListView::drawFrame(QPainter *)
voiddropEvent(QDropEvent ptr e)Virtual method void QListView::dropEvent(QDropEvent *e)
[const]unsigned intdropIndicatorPositionMethod QAbstractItemView::DropIndicatorPosition QListView::dropIndicatorPosition()
booledit(const QModelIndex index,
const QAbstractItemView_EditTrigger trigger,
QEvent ptr event)
Virtual method bool QListView::edit(const QModelIndex &index, QAbstractItemView::EditTrigger trigger, QEvent *event)
voideditorDestroyed(QObject ptr editor)Virtual method void QListView::editorDestroyed(QObject *editor)
voidenterEvent(QEvent ptr arg1)Virtual method void QListView::enterEvent(QEvent *)
boolevent(QEvent ptr e)Virtual method bool QListView::event(QEvent *e)
booleventFilter(QObject ptr arg1,
QEvent ptr arg2)
Virtual method bool QListView::eventFilter(QObject *, QEvent *)
voidexecuteDelayedItemsLayoutMethod void QListView::executeDelayedItemsLayout()
voidfocusInEvent(QFocusEvent ptr event)Virtual method void QListView::focusInEvent(QFocusEvent *event)
boolfocusNextChildMethod bool QListView::focusNextChild()
boolfocusNextPrevChild(bool next)Virtual method bool QListView::focusNextPrevChild(bool next)
voidfocusOutEvent(QFocusEvent ptr event)Virtual method void QListView::focusOutEvent(QFocusEvent *event)
boolfocusPreviousChildMethod bool QListView::focusPreviousChild()
voidhideEvent(QHideEvent ptr arg1)Virtual method void QListView::hideEvent(QHideEvent *)
[const]inthorizontalOffsetVirtual method int QListView::horizontalOffset()
voidhorizontalScrollbarAction(int action)Virtual method void QListView::horizontalScrollbarAction(int action)
voidhorizontalScrollbarValueChanged(int value)Virtual method void QListView::horizontalScrollbarValueChanged(int value)
[const]inthorizontalStepsPerItemMethod int QListView::horizontalStepsPerItem()
[const]voidinitPainter(QPainter ptr painter)Virtual method void QListView::initPainter(QPainter *painter)
[const]voidinitStyleOption(QStyleOptionFrame ptr option)Method void QListView::initStyleOption(QStyleOptionFrame *option)
voidinputMethodEvent(QInputMethodEvent ptr event)Virtual method void QListView::inputMethodEvent(QInputMethodEvent *event)
[const]boolisIndexHidden(const QModelIndex index)Virtual method bool QListView::isIndexHidden(const QModelIndex &index)
[const]boolisSignalConnected(const QMetaMethod signal)Method bool QListView::isSignalConnected(const QMetaMethod &signal)
voidkeyPressEvent(QKeyEvent ptr event)Virtual method void QListView::keyPressEvent(QKeyEvent *event)
voidkeyReleaseEvent(QKeyEvent ptr arg1)Virtual method void QListView::keyReleaseEvent(QKeyEvent *)
voidleaveEvent(QEvent ptr arg1)Virtual method void QListView::leaveEvent(QEvent *)
[const]intmetric(const QPaintDevice_PaintDeviceMetric arg1)Virtual method int QListView::metric(QPaintDevice::PaintDeviceMetric)
voidmouseDoubleClickEvent(QMouseEvent ptr event)Virtual method void QListView::mouseDoubleClickEvent(QMouseEvent *event)
voidmouseMoveEvent(QMouseEvent ptr e)Virtual method void QListView::mouseMoveEvent(QMouseEvent *e)
voidmousePressEvent(QMouseEvent ptr event)Virtual method void QListView::mousePressEvent(QMouseEvent *event)
voidmouseReleaseEvent(QMouseEvent ptr e)Virtual method void QListView::mouseReleaseEvent(QMouseEvent *e)
QModelIndexmoveCursor(unsigned int cursorAction,
Qt_QFlags_KeyboardModifier modifiers)
Virtual method QModelIndex QListView::moveCursor(QAbstractItemView::CursorAction cursorAction, QFlags<Qt::KeyboardModifier> modifiers)
voidmoveEvent(QMoveEvent ptr arg1)Virtual method void QListView::moveEvent(QMoveEvent *)
boolnativeEvent(bytes eventType,
void * message,
long ptr result)
Virtual method bool QListView::nativeEvent(const QByteArray &eventType, void *message, long int *result)
voidpaintEvent(QPaintEvent ptr e)Virtual method void QListView::paintEvent(QPaintEvent *e)
voidqt_create(unsigned long long arg1 = 0,
bool initializeWindow = true,
bool destroyOldWindow = true)
Method void QListView::create(WId, bool initializeWindow, bool destroyOldWindow)
voidqt_destroy(bool destroyWindow = true,
bool destroySubWindows = true)
Method void QListView::destroy(bool destroyWindow, bool destroySubWindows)
[const]intreceivers(string signal)Method int QListView::receivers(const char *signal)
[const]QRectrectForIndex(const QModelIndex index)Method QRect QListView::rectForIndex(const QModelIndex &index)
[const]QPaintDevice ptrredirected(QPoint ptr offset)Virtual method QPaintDevice *QListView::redirected(QPoint *offset)
voidresizeContents(int width,
int height)
Method void QListView::resizeContents(int width, int height)
voidresizeEvent(QResizeEvent ptr e)Virtual method void QListView::resizeEvent(QResizeEvent *e)
voidrowsAboutToBeRemoved(const QModelIndex parent,
int start,
int end)
Virtual method void QListView::rowsAboutToBeRemoved(const QModelIndex &parent, int start, int end)
voidrowsInserted(const QModelIndex parent,
int start,
int end)
Virtual method void QListView::rowsInserted(const QModelIndex &parent, int start, int end)
voidscheduleDelayedItemsLayoutMethod void QListView::scheduleDelayedItemsLayout()
voidscrollContentsBy(int dx,
int dy)
Virtual method void QListView::scrollContentsBy(int dx, int dy)
voidscrollDirtyRegion(int dx,
int dy)
Method void QListView::scrollDirtyRegion(int dx, int dy)
[const]QModelIndex[]selectedIndexesVirtual method QList<QModelIndex> QListView::selectedIndexes()
voidselectionChanged(const QItemSelection selected,
const QItemSelection deselected)
Virtual method void QListView::selectionChanged(const QItemSelection &selected, const QItemSelection &deselected)
[const]QItemSelectionModel_QFlags_SelectionFlagselectionCommand(const QModelIndex index,
const QEvent ptr event)
Virtual method QFlags<QItemSelectionModel::SelectionFlag> QListView::selectionCommand(const QModelIndex &index, const QEvent *event)
[const]QObject ptrsenderMethod QObject *QListView::sender()
[const]intsenderSignalIndexMethod int QListView::senderSignalIndex()
voidsetDirtyRegion(const QRegion region)Method void QListView::setDirtyRegion(const QRegion &region)
voidsetHorizontalStepsPerItem(int steps)Method void QListView::setHorizontalStepsPerItem(int steps)
voidsetPositionForIndex(const QPoint position,
const QModelIndex index)
Method void QListView::setPositionForIndex(const QPoint &position, const QModelIndex &index)
voidsetSelection(const QRect rect,
QItemSelectionModel_QFlags_SelectionFlag command)
Virtual method void QListView::setSelection(const QRect &rect, QFlags<QItemSelectionModel::SelectionFlag> command)
voidsetState(unsigned int state)Method void QListView::setState(QAbstractItemView::State state)
voidsetVerticalStepsPerItem(int steps)Method void QListView::setVerticalStepsPerItem(int steps)
voidsetViewportMargins(int left,
int top,
int right,
int bottom)
Method void QListView::setViewportMargins(int left, int top, int right, int bottom)
voidsetViewportMargins(const QMargins margins)Method void QListView::setViewportMargins(const QMargins &margins)
[const]QPainter ptrsharedPainterVirtual method QPainter *QListView::sharedPainter()
voidshowEvent(QShowEvent ptr arg1)Virtual method void QListView::showEvent(QShowEvent *)
voidstartAutoScrollMethod void QListView::startAutoScroll()
voidstartDrag(Qt_QFlags_DropAction supportedActions)Virtual method void QListView::startDrag(QFlags<Qt::DropAction> supportedActions)
[const]unsigned intstateMethod QAbstractItemView::State QListView::state()
voidstopAutoScrollMethod void QListView::stopAutoScroll()
voidtabletEvent(QTabletEvent ptr arg1)Virtual method void QListView::tabletEvent(QTabletEvent *)
voidtimerEvent(QTimerEvent ptr e)Virtual method void QListView::timerEvent(QTimerEvent *e)
voidupdateEditorDataVirtual method void QListView::updateEditorData()
voidupdateEditorGeometriesVirtual method void QListView::updateEditorGeometries()
voidupdateGeometriesVirtual method void QListView::updateGeometries()
voidupdateMicroFocusMethod void QListView::updateMicroFocus()
[const]intverticalOffsetVirtual method int QListView::verticalOffset()
voidverticalScrollbarAction(int action)Virtual method void QListView::verticalScrollbarAction(int action)
voidverticalScrollbarValueChanged(int value)Virtual method void QListView::verticalScrollbarValueChanged(int value)
[const]intverticalStepsPerItemMethod int QListView::verticalStepsPerItem()
[const]QStyleOptionViewItemviewOptionsVirtual method QStyleOptionViewItem QListView::viewOptions()
boolviewportEvent(QEvent ptr event)Virtual method bool QListView::viewportEvent(QEvent *event)
[const]QMarginsviewportMarginsMethod QMargins QListView::viewportMargins()
[const]QSizeviewportSizeHintVirtual method QSize QListView::viewportSizeHint()
[const]QRegionvisualRegionForSelection(const QItemSelection selection)Virtual method QRegion QListView::visualRegionForSelection(const QItemSelection &selection)
voidwheelEvent(QWheelEvent ptr arg1)Virtual method void QListView::wheelEvent(QWheelEvent *)

Detailed description

Adjust

Signature: [static,const] QListView_ResizeMode Adjust

Description: Enum constant QListView::Adjust

Python specific notes:
The object exposes a readable attribute 'Adjust'. This is the getter.

Batched

Signature: [static,const] QListView_LayoutMode Batched

Description: Enum constant QListView::Batched

Python specific notes:
The object exposes a readable attribute 'Batched'. This is the getter.

Fixed

Signature: [static,const] QListView_ResizeMode Fixed

Description: Enum constant QListView::Fixed

Python specific notes:
The object exposes a readable attribute 'Fixed'. This is the getter.

Free

Signature: [static,const] QListView_Movement Free

Description: Enum constant QListView::Free

Python specific notes:
The object exposes a readable attribute 'Free'. This is the getter.

IconMode

Signature: [static,const] QListView_ViewMode IconMode

Description: Enum constant QListView::IconMode

Python specific notes:
The object exposes a readable attribute 'IconMode'. This is the getter.

LeftToRight

Signature: [static,const] QListView_Flow LeftToRight

Description: Enum constant QListView::LeftToRight

Python specific notes:
The object exposes a readable attribute 'LeftToRight'. This is the getter.

ListMode

Signature: [static,const] QListView_ViewMode ListMode

Description: Enum constant QListView::ListMode

Python specific notes:
The object exposes a readable attribute 'ListMode'. This is the getter.

SinglePass

Signature: [static,const] QListView_LayoutMode SinglePass

Description: Enum constant QListView::SinglePass

Python specific notes:
The object exposes a readable attribute 'SinglePass'. This is the getter.

Snap

Signature: [static,const] QListView_Movement Snap

Description: Enum constant QListView::Snap

Python specific notes:
The object exposes a readable attribute 'Snap'. This is the getter.

Static

Signature: [static,const] QListView_Movement Static

Description: Enum constant QListView::Static

Python specific notes:
The object exposes a readable attribute 'Static'. This is the getter.

TopToBottom

Signature: [static,const] QListView_Flow TopToBottom

Description: Enum constant QListView::TopToBottom

Python specific notes:
The object exposes a readable attribute 'TopToBottom'. This is the getter.

_create

Signature: void _create

Description: Ensures the C++ object is created

Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created.

_destroy

Signature: void _destroy

Description: Explicitly destroys the object

Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing.

_destroyed?

Signature: [const] bool _destroyed?

Description: Returns a value indicating whether the object was already destroyed

This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself.

_is_const_object?

Signature: [const] bool _is_const_object?

Description: Returns a value indicating whether the reference is a const reference

This method returns true, if self is a const reference. In that case, only const methods may be called on self.

_manage

Signature: void _manage

Description: Marks the object as managed by the script side.

After calling this method on an object, the script side will be responsible for the management of the object. This method may be called if an object is returned from a C++ function and the object is known not to be owned by any C++ instance. If necessary, the script side may delete the object if the script's reference is no longer required.

Usually it's not required to call this method. It has been introduced in version 0.24.

_unmanage

Signature: void _unmanage

Description: Marks the object as no longer owned by the script side.

Calling this method will make this object no longer owned by the script's memory management. Instead, the object must be managed in some other way. Usually this method may be called if it is known that some C++ object holds and manages this object. Technically speaking, this method will turn the script's reference into a weak reference. After the script engine decides to delete the reference, the object itself will still exist. If the object is not managed otherwise, memory leaks will occur.

Usually it's not required to call this method. It has been introduced in version 0.24.

actionEvent

Signature: void actionEvent (QActionEvent ptr arg1)

Description: Virtual method void QListView::actionEvent(QActionEvent *)

This method can be reimplemented in a derived class.

activated

Signature: [signal] void activated (const QModelIndex index)

Description: Signal declaration for QListView::activated(const QModelIndex &index)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'activated'. This is the getter.
The object exposes a writable attribute 'activated'. This is the setter.

batchSize

Signature: [const] int batchSize

Description: Method int QListView::batchSize()

Python specific notes:
The object exposes a readable attribute 'batchSize'. This is the getter.

batchSize=

Signature: void batchSize= (int batchSize)

Description: Method void QListView::setBatchSize(int batchSize)

Python specific notes:
The object exposes a writable attribute 'batchSize'. This is the setter.

changeEvent

Signature: void changeEvent (QEvent ptr arg1)

Description: Virtual method void QListView::changeEvent(QEvent *)

This method can be reimplemented in a derived class.

childEvent

Signature: void childEvent (QChildEvent ptr arg1)

Description: Virtual method void QListView::childEvent(QChildEvent *)

This method can be reimplemented in a derived class.

clearPropertyFlags

Signature: void clearPropertyFlags

Description: Method void QListView::clearPropertyFlags()

clicked

Signature: [signal] void clicked (const QModelIndex index)

Description: Signal declaration for QListView::clicked(const QModelIndex &index)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'clicked'. This is the getter.
The object exposes a writable attribute 'clicked'. This is the setter.

closeEditor

Signature: void closeEditor (QWidget ptr editor, const QAbstractItemDelegate_EndEditHint hint)

Description: Virtual method void QListView::closeEditor(QWidget *editor, QAbstractItemDelegate::EndEditHint hint)

This method can be reimplemented in a derived class.

closeEvent

Signature: void closeEvent (QCloseEvent ptr arg1)

Description: Virtual method void QListView::closeEvent(QCloseEvent *)

This method can be reimplemented in a derived class.

commitData

Signature: void commitData (QWidget ptr editor)

Description: Virtual method void QListView::commitData(QWidget *editor)

This method can be reimplemented in a derived class.

contentsSize

Signature: [const] QSize contentsSize

Description: Method QSize QListView::contentsSize()

This method is protected and can only be called from inside a derived class.

contextMenuEvent

Signature: void contextMenuEvent (QContextMenuEvent ptr arg1)

Description: Virtual method void QListView::contextMenuEvent(QContextMenuEvent *)

This method can be reimplemented in a derived class.

currentChanged

Signature: void currentChanged (const QModelIndex current, const QModelIndex previous)

Description: Virtual method void QListView::currentChanged(const QModelIndex &current, const QModelIndex &previous)

This method can be reimplemented in a derived class.

customContextMenuRequested

Signature: [signal] void customContextMenuRequested (const QPoint pos)

Description: Signal declaration for QListView::customContextMenuRequested(const QPoint &pos)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'customContextMenuRequested'. This is the getter.
The object exposes a writable attribute 'customContextMenuRequested'. This is the setter.

customEvent

Signature: void customEvent (QEvent ptr arg1)

Description: Virtual method void QListView::customEvent(QEvent *)

This method can be reimplemented in a derived class.

dataChanged

Signature: void dataChanged (const QModelIndex topLeft, const QModelIndex bottomRight, int[] roles)

Description: Virtual method void QListView::dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector<int> &roles)

This method can be reimplemented in a derived class.

destroyed

Signature: [signal] void destroyed (QObject ptr arg1)

Description: Signal declaration for QListView::destroyed(QObject *)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'destroyed'. This is the getter.
The object exposes a writable attribute 'destroyed'. This is the setter.

dirtyRegionOffset

Signature: [const] QPoint dirtyRegionOffset

Description: Method QPoint QListView::dirtyRegionOffset()

This method is protected and can only be called from inside a derived class.

disconnectNotify

Signature: void disconnectNotify (const QMetaMethod signal)

Description: Virtual method void QListView::disconnectNotify(const QMetaMethod &signal)

This method can be reimplemented in a derived class.

doAutoScroll

Signature: void doAutoScroll

Description: Method void QListView::doAutoScroll()

This method is protected and can only be called from inside a derived class.

doItemsLayout

Signature: void doItemsLayout

Description: Virtual method void QListView::doItemsLayout()

This method can be reimplemented in a derived class.

doubleClicked

Signature: [signal] void doubleClicked (const QModelIndex index)

Description: Signal declaration for QListView::doubleClicked(const QModelIndex &index)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'doubleClicked'. This is the getter.
The object exposes a writable attribute 'doubleClicked'. This is the setter.

dragEnterEvent

Signature: void dragEnterEvent (QDragEnterEvent ptr event)

Description: Virtual method void QListView::dragEnterEvent(QDragEnterEvent *event)

This method can be reimplemented in a derived class.

dragLeaveEvent

Signature: void dragLeaveEvent (QDragLeaveEvent ptr e)

Description: Virtual method void QListView::dragLeaveEvent(QDragLeaveEvent *e)

This method can be reimplemented in a derived class.

dragMoveEvent

Signature: void dragMoveEvent (QDragMoveEvent ptr e)

Description: Virtual method void QListView::dragMoveEvent(QDragMoveEvent *e)

This method can be reimplemented in a derived class.

drawFrame

Signature: void drawFrame (QPainter ptr arg1)

Description: Method void QListView::drawFrame(QPainter *)

This method is protected and can only be called from inside a derived class.

dropEvent

Signature: void dropEvent (QDropEvent ptr e)

Description: Virtual method void QListView::dropEvent(QDropEvent *e)

This method can be reimplemented in a derived class.

dropIndicatorPosition

Signature: [const] unsigned int dropIndicatorPosition

Description: Method QAbstractItemView::DropIndicatorPosition QListView::dropIndicatorPosition()

This method is protected and can only be called from inside a derived class.

edit

Signature: bool edit (const QModelIndex index, const QAbstractItemView_EditTrigger trigger, QEvent ptr event)

Description: Virtual method bool QListView::edit(const QModelIndex &index, QAbstractItemView::EditTrigger trigger, QEvent *event)

This method can be reimplemented in a derived class.

editorDestroyed

Signature: void editorDestroyed (QObject ptr editor)

Description: Virtual method void QListView::editorDestroyed(QObject *editor)

This method can be reimplemented in a derived class.

emit_activated

Signature: void emit_activated (const QModelIndex index)

Description: Emitter for signal void QListView::activated(const QModelIndex &index)

Call this method to emit this signal.

emit_clicked

Signature: void emit_clicked (const QModelIndex index)

Description: Emitter for signal void QListView::clicked(const QModelIndex &index)

Call this method to emit this signal.

emit_customContextMenuRequested

Signature: void emit_customContextMenuRequested (const QPoint pos)

Description: Emitter for signal void QListView::customContextMenuRequested(const QPoint &pos)

Call this method to emit this signal.

emit_destroyed

Signature: void emit_destroyed (QObject ptr arg1 = 0)

Description: Emitter for signal void QListView::destroyed(QObject *)

Call this method to emit this signal.

emit_doubleClicked

Signature: void emit_doubleClicked (const QModelIndex index)

Description: Emitter for signal void QListView::doubleClicked(const QModelIndex &index)

Call this method to emit this signal.

emit_entered

Signature: void emit_entered (const QModelIndex index)

Description: Emitter for signal void QListView::entered(const QModelIndex &index)

Call this method to emit this signal.

emit_iconSizeChanged

Signature: void emit_iconSizeChanged (const QSize size)

Description: Emitter for signal void QListView::iconSizeChanged(const QSize &size)

Call this method to emit this signal.

emit_indexesMoved

Signature: void emit_indexesMoved (QModelIndex[] indexes)

Description: Emitter for signal void QListView::indexesMoved(const QList<QModelIndex> &indexes)

Call this method to emit this signal.

emit_objectNameChanged

Signature: void emit_objectNameChanged (string objectName)

Description: Emitter for signal void QListView::objectNameChanged(const QString &objectName)

Call this method to emit this signal.

emit_pressed

Signature: void emit_pressed (const QModelIndex index)

Description: Emitter for signal void QListView::pressed(const QModelIndex &index)

Call this method to emit this signal.

emit_viewportEntered

Signature: void emit_viewportEntered

Description: Emitter for signal void QListView::viewportEntered()

Call this method to emit this signal.

emit_windowIconChanged

Signature: void emit_windowIconChanged (const QIcon icon)

Description: Emitter for signal void QListView::windowIconChanged(const QIcon &icon)

Call this method to emit this signal.

emit_windowIconTextChanged

Signature: void emit_windowIconTextChanged (string iconText)

Description: Emitter for signal void QListView::windowIconTextChanged(const QString &iconText)

Call this method to emit this signal.

emit_windowTitleChanged

Signature: void emit_windowTitleChanged (string title)

Description: Emitter for signal void QListView::windowTitleChanged(const QString &title)

Call this method to emit this signal.

enterEvent

Signature: void enterEvent (QEvent ptr arg1)

Description: Virtual method void QListView::enterEvent(QEvent *)

This method can be reimplemented in a derived class.

entered

Signature: [signal] void entered (const QModelIndex index)

Description: Signal declaration for QListView::entered(const QModelIndex &index)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'entered'. This is the getter.
The object exposes a writable attribute 'entered'. This is the setter.

event

Signature: bool event (QEvent ptr e)

Description: Virtual method bool QListView::event(QEvent *e)

This method can be reimplemented in a derived class.

eventFilter

Signature: bool eventFilter (QObject ptr arg1, QEvent ptr arg2)

Description: Virtual method bool QListView::eventFilter(QObject *, QEvent *)

This method can be reimplemented in a derived class.

executeDelayedItemsLayout

Signature: void executeDelayedItemsLayout

Description: Method void QListView::executeDelayedItemsLayout()

This method is protected and can only be called from inside a derived class.

flow

Signature: [const] QListView_Flow flow

Description: Method QListView::Flow QListView::flow()

Python specific notes:
The object exposes a readable attribute 'flow'. This is the getter.

flow=

Signature: void flow= (const QListView_Flow flow)

Description: Method void QListView::setFlow(QListView::Flow flow)

Python specific notes:
The object exposes a writable attribute 'flow'. This is the setter.

focusInEvent

Signature: void focusInEvent (QFocusEvent ptr event)

Description: Virtual method void QListView::focusInEvent(QFocusEvent *event)

This method can be reimplemented in a derived class.

focusNextChild

Signature: bool focusNextChild

Description: Method bool QListView::focusNextChild()

This method is protected and can only be called from inside a derived class.

focusNextPrevChild

Signature: bool focusNextPrevChild (bool next)

Description: Virtual method bool QListView::focusNextPrevChild(bool next)

This method can be reimplemented in a derived class.

focusOutEvent

Signature: void focusOutEvent (QFocusEvent ptr event)

Description: Virtual method void QListView::focusOutEvent(QFocusEvent *event)

This method can be reimplemented in a derived class.

focusPreviousChild

Signature: bool focusPreviousChild

Description: Method bool QListView::focusPreviousChild()

This method is protected and can only be called from inside a derived class.

gridSize

Signature: [const] QSize gridSize

Description: Method QSize QListView::gridSize()

Python specific notes:
The object exposes a readable attribute 'gridSize'. This is the getter.

gridSize=

Signature: void gridSize= (const QSize size)

Description: Method void QListView::setGridSize(const QSize &size)

Python specific notes:
The object exposes a writable attribute 'gridSize'. This is the setter.

hasHeightForWidth

Signature: [const] bool hasHeightForWidth

Description: Virtual method bool QListView::hasHeightForWidth()

This method can be reimplemented in a derived class.

heightForWidth

Signature: [const] int heightForWidth (int arg1)

Description: Virtual method int QListView::heightForWidth(int)

This method can be reimplemented in a derived class.

hideEvent

Signature: void hideEvent (QHideEvent ptr arg1)

Description: Virtual method void QListView::hideEvent(QHideEvent *)

This method can be reimplemented in a derived class.

horizontalOffset

Signature: [const] int horizontalOffset

Description: Virtual method int QListView::horizontalOffset()

This method can be reimplemented in a derived class.

horizontalScrollbarAction

Signature: void horizontalScrollbarAction (int action)

Description: Virtual method void QListView::horizontalScrollbarAction(int action)

This method can be reimplemented in a derived class.

horizontalScrollbarValueChanged

Signature: void horizontalScrollbarValueChanged (int value)

Description: Virtual method void QListView::horizontalScrollbarValueChanged(int value)

This method can be reimplemented in a derived class.

horizontalStepsPerItem

Signature: [const] int horizontalStepsPerItem

Description: Method int QListView::horizontalStepsPerItem()

This method is protected and can only be called from inside a derived class.

iconSizeChanged

Signature: [signal] void iconSizeChanged (const QSize size)

Description: Signal declaration for QListView::iconSizeChanged(const QSize &size)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'iconSizeChanged'. This is the getter.
The object exposes a writable attribute 'iconSizeChanged'. This is the setter.

indexAt

Signature: [const] QModelIndex indexAt (const QPoint p)

Description: Virtual method QModelIndex QListView::indexAt(const QPoint &p)

This method can be reimplemented in a derived class.

indexesMoved

Signature: [signal] void indexesMoved (QModelIndex[] indexes)

Description: Signal declaration for QListView::indexesMoved(const QList<QModelIndex> &indexes)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'indexesMoved'. This is the getter.
The object exposes a writable attribute 'indexesMoved'. This is the setter.

initPainter

Signature: [const] void initPainter (QPainter ptr painter)

Description: Virtual method void QListView::initPainter(QPainter *painter)

This method can be reimplemented in a derived class.

initStyleOption

Signature: [const] void initStyleOption (QStyleOptionFrame ptr option)

Description: Method void QListView::initStyleOption(QStyleOptionFrame *option)

This method is protected and can only be called from inside a derived class.

inputMethodEvent

Signature: void inputMethodEvent (QInputMethodEvent ptr event)

Description: Virtual method void QListView::inputMethodEvent(QInputMethodEvent *event)

This method can be reimplemented in a derived class.

inputMethodQuery

Signature: [const] variant inputMethodQuery (const Qt_InputMethodQuery query)

Description: Virtual method QVariant QListView::inputMethodQuery(Qt::InputMethodQuery query)

This method can be reimplemented in a derived class.

isIndexHidden

Signature: [const] bool isIndexHidden (const QModelIndex index)

Description: Virtual method bool QListView::isIndexHidden(const QModelIndex &index)

This method can be reimplemented in a derived class.

isRowHidden?

Signature: [const] bool isRowHidden? (int row)

Description: Method bool QListView::isRowHidden(int row)

isSelectionRectVisible?

Signature: [const] bool isSelectionRectVisible?

Description: Method bool QListView::isSelectionRectVisible()

Python specific notes:
The object exposes a readable attribute 'selectionRectVisible'. This is the getter.

isSignalConnected

Signature: [const] bool isSignalConnected (const QMetaMethod signal)

Description: Method bool QListView::isSignalConnected(const QMetaMethod &signal)

This method is protected and can only be called from inside a derived class.

isWrapping

Signature: [const] bool isWrapping

Description: Method bool QListView::isWrapping()

Python specific notes:
The object exposes a readable attribute 'isWrapping'. This is the getter.
This method is available as 'isWrapping_' in Python to distiguish it from the property with the same name.

isWrapping?

Signature: [const] bool isWrapping?

Description: Method bool QListView::isWrapping()

Python specific notes:
The object exposes a readable attribute 'isWrapping'. This is the getter.
This method is available as 'isWrapping_' in Python to distiguish it from the property with the same name.

keyPressEvent

Signature: void keyPressEvent (QKeyEvent ptr event)

Description: Virtual method void QListView::keyPressEvent(QKeyEvent *event)

This method can be reimplemented in a derived class.

keyReleaseEvent

Signature: void keyReleaseEvent (QKeyEvent ptr arg1)

Description: Virtual method void QListView::keyReleaseEvent(QKeyEvent *)

This method can be reimplemented in a derived class.

keyboardSearch

Signature: void keyboardSearch (string search)

Description: Virtual method void QListView::keyboardSearch(const QString &search)

This method can be reimplemented in a derived class.

layoutMode

Signature: [const] QListView_LayoutMode layoutMode

Description: Method QListView::LayoutMode QListView::layoutMode()

Python specific notes:
The object exposes a readable attribute 'layoutMode'. This is the getter.

layoutMode=

Signature: void layoutMode= (const QListView_LayoutMode mode)

Description: Method void QListView::setLayoutMode(QListView::LayoutMode mode)

Python specific notes:
The object exposes a writable attribute 'layoutMode'. This is the setter.

leaveEvent

Signature: void leaveEvent (QEvent ptr arg1)

Description: Virtual method void QListView::leaveEvent(QEvent *)

This method can be reimplemented in a derived class.

metric

Signature: [const] int metric (const QPaintDevice_PaintDeviceMetric arg1)

Description: Virtual method int QListView::metric(QPaintDevice::PaintDeviceMetric)

This method can be reimplemented in a derived class.

minimumSizeHint

Signature: [const] QSize minimumSizeHint

Description: Virtual method QSize QListView::minimumSizeHint()

This method can be reimplemented in a derived class.

modelColumn

Signature: [const] int modelColumn

Description: Method int QListView::modelColumn()

Python specific notes:
The object exposes a readable attribute 'modelColumn'. This is the getter.

modelColumn=

Signature: void modelColumn= (int column)

Description: Method void QListView::setModelColumn(int column)

Python specific notes:
The object exposes a writable attribute 'modelColumn'. This is the setter.

mouseDoubleClickEvent

Signature: void mouseDoubleClickEvent (QMouseEvent ptr event)

Description: Virtual method void QListView::mouseDoubleClickEvent(QMouseEvent *event)

This method can be reimplemented in a derived class.

mouseMoveEvent

Signature: void mouseMoveEvent (QMouseEvent ptr e)

Description: Virtual method void QListView::mouseMoveEvent(QMouseEvent *e)

This method can be reimplemented in a derived class.

mousePressEvent

Signature: void mousePressEvent (QMouseEvent ptr event)

Description: Virtual method void QListView::mousePressEvent(QMouseEvent *event)

This method can be reimplemented in a derived class.

mouseReleaseEvent

Signature: void mouseReleaseEvent (QMouseEvent ptr e)

Description: Virtual method void QListView::mouseReleaseEvent(QMouseEvent *e)

This method can be reimplemented in a derived class.

moveCursor

Signature: QModelIndex moveCursor (unsigned int cursorAction, Qt_QFlags_KeyboardModifier modifiers)

Description: Virtual method QModelIndex QListView::moveCursor(QAbstractItemView::CursorAction cursorAction, QFlags<Qt::KeyboardModifier> modifiers)

This method can be reimplemented in a derived class.

moveEvent

Signature: void moveEvent (QMoveEvent ptr arg1)

Description: Virtual method void QListView::moveEvent(QMoveEvent *)

This method can be reimplemented in a derived class.

movement

Signature: [const] QListView_Movement movement

Description: Method QListView::Movement QListView::movement()

Python specific notes:
The object exposes a readable attribute 'movement'. This is the getter.

movement=

Signature: void movement= (const QListView_Movement movement)

Description: Method void QListView::setMovement(QListView::Movement movement)

Python specific notes:
The object exposes a writable attribute 'movement'. This is the setter.

nativeEvent

Signature: bool nativeEvent (bytes eventType, void * message, long ptr result)

Description: Virtual method bool QListView::nativeEvent(const QByteArray &eventType, void *message, long int *result)

This method can be reimplemented in a derived class.

new

Signature: [static] new QListView new (QWidget ptr parent = 0)

Description: Constructor QListView::QListView(QWidget *parent)

This method creates an object of class QListView.

Python specific notes:
This method is the default initializer of the object.

objectNameChanged

Signature: [signal] void objectNameChanged (string objectName)

Description: Signal declaration for QListView::objectNameChanged(const QString &objectName)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'objectNameChanged'. This is the getter.
The object exposes a writable attribute 'objectNameChanged'. This is the setter.

paintEngine

Signature: [const] QPaintEngine ptr paintEngine

Description: Virtual method QPaintEngine *QListView::paintEngine()

This method can be reimplemented in a derived class.

paintEvent

Signature: void paintEvent (QPaintEvent ptr e)

Description: Virtual method void QListView::paintEvent(QPaintEvent *e)

This method can be reimplemented in a derived class.

pressed

Signature: [signal] void pressed (const QModelIndex index)

Description: Signal declaration for QListView::pressed(const QModelIndex &index)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'pressed'. This is the getter.
The object exposes a writable attribute 'pressed'. This is the setter.

qt_create

Signature: void qt_create (unsigned long long arg1 = 0, bool initializeWindow = true, bool destroyOldWindow = true)

Description: Method void QListView::create(WId, bool initializeWindow, bool destroyOldWindow)

This method is protected and can only be called from inside a derived class.

qt_destroy

Signature: void qt_destroy (bool destroyWindow = true, bool destroySubWindows = true)

Description: Method void QListView::destroy(bool destroyWindow, bool destroySubWindows)

This method is protected and can only be called from inside a derived class.

receivers

Signature: [const] int receivers (string signal)

Description: Method int QListView::receivers(const char *signal)

This method is protected and can only be called from inside a derived class.

rectForIndex

Signature: [const] QRect rectForIndex (const QModelIndex index)

Description: Method QRect QListView::rectForIndex(const QModelIndex &index)

This method is protected and can only be called from inside a derived class.

redirected

Signature: [const] QPaintDevice ptr redirected (QPoint ptr offset)

Description: Virtual method QPaintDevice *QListView::redirected(QPoint *offset)

This method can be reimplemented in a derived class.

reset

Signature: void reset

Description: Virtual method void QListView::reset()

This method can be reimplemented in a derived class.

resizeContents

Signature: void resizeContents (int width, int height)

Description: Method void QListView::resizeContents(int width, int height)

This method is protected and can only be called from inside a derived class.

resizeEvent

Signature: void resizeEvent (QResizeEvent ptr e)

Description: Virtual method void QListView::resizeEvent(QResizeEvent *e)

This method can be reimplemented in a derived class.

resizeMode

Signature: [const] QListView_ResizeMode resizeMode

Description: Method QListView::ResizeMode QListView::resizeMode()

Python specific notes:
The object exposes a readable attribute 'resizeMode'. This is the getter.

resizeMode=

Signature: void resizeMode= (const QListView_ResizeMode mode)

Description: Method void QListView::setResizeMode(QListView::ResizeMode mode)

Python specific notes:
The object exposes a writable attribute 'resizeMode'. This is the setter.

rootIndex=

Signature: void rootIndex= (const QModelIndex index)

Description: Method void QListView::setRootIndex(const QModelIndex &index)

This is a reimplementation of QAbstractItemView::setRootIndex

Python specific notes:
The object exposes a writable attribute 'rootIndex'. This is the setter.

rowsAboutToBeRemoved

Signature: void rowsAboutToBeRemoved (const QModelIndex parent, int start, int end)

Description: Virtual method void QListView::rowsAboutToBeRemoved(const QModelIndex &parent, int start, int end)

This method can be reimplemented in a derived class.

rowsInserted

Signature: void rowsInserted (const QModelIndex parent, int start, int end)

Description: Virtual method void QListView::rowsInserted(const QModelIndex &parent, int start, int end)

This method can be reimplemented in a derived class.

scheduleDelayedItemsLayout

Signature: void scheduleDelayedItemsLayout

Description: Method void QListView::scheduleDelayedItemsLayout()

This method is protected and can only be called from inside a derived class.

scrollContentsBy

Signature: void scrollContentsBy (int dx, int dy)

Description: Virtual method void QListView::scrollContentsBy(int dx, int dy)

This method can be reimplemented in a derived class.

scrollDirtyRegion

Signature: void scrollDirtyRegion (int dx, int dy)

Description: Method void QListView::scrollDirtyRegion(int dx, int dy)

This method is protected and can only be called from inside a derived class.

scrollTo

Signature: void scrollTo (const QModelIndex index, const QAbstractItemView_ScrollHint hint)

Description: Virtual method void QListView::scrollTo(const QModelIndex &index, QAbstractItemView::ScrollHint hint)

This method can be reimplemented in a derived class.

selectAll

Signature: void selectAll

Description: Virtual method void QListView::selectAll()

This method can be reimplemented in a derived class.

selectedIndexes

Signature: [const] QModelIndex[] selectedIndexes

Description: Virtual method QList<QModelIndex> QListView::selectedIndexes()

This method can be reimplemented in a derived class.

selectionChanged

Signature: void selectionChanged (const QItemSelection selected, const QItemSelection deselected)

Description: Virtual method void QListView::selectionChanged(const QItemSelection &selected, const QItemSelection &deselected)

This method can be reimplemented in a derived class.

selectionCommand

Signature: [const] QItemSelectionModel_QFlags_SelectionFlag selectionCommand (const QModelIndex index, const QEvent ptr event)

Description: Virtual method QFlags<QItemSelectionModel::SelectionFlag> QListView::selectionCommand(const QModelIndex &index, const QEvent *event)

This method can be reimplemented in a derived class.

selectionRectVisible

Signature: [const] bool selectionRectVisible

Description: Method bool QListView::isSelectionRectVisible()

Python specific notes:
The object exposes a readable attribute 'selectionRectVisible'. This is the getter.

selectionRectVisible=

Signature: void selectionRectVisible= (bool show)

Description: Method void QListView::setSelectionRectVisible(bool show)

Python specific notes:
The object exposes a writable attribute 'selectionRectVisible'. This is the setter.

sender

Signature: [const] QObject ptr sender

Description: Method QObject *QListView::sender()

This method is protected and can only be called from inside a derived class.

senderSignalIndex

Signature: [const] int senderSignalIndex

Description: Method int QListView::senderSignalIndex()

This method is protected and can only be called from inside a derived class.

setBatchSize

Signature: void setBatchSize (int batchSize)

Description: Method void QListView::setBatchSize(int batchSize)

Python specific notes:
The object exposes a writable attribute 'batchSize'. This is the setter.

setDirtyRegion

Signature: void setDirtyRegion (const QRegion region)

Description: Method void QListView::setDirtyRegion(const QRegion &region)

This method is protected and can only be called from inside a derived class.

setFlow

Signature: void setFlow (const QListView_Flow flow)

Description: Method void QListView::setFlow(QListView::Flow flow)

Python specific notes:
The object exposes a writable attribute 'flow'. This is the setter.

setGridSize

Signature: void setGridSize (const QSize size)

Description: Method void QListView::setGridSize(const QSize &size)

Python specific notes:
The object exposes a writable attribute 'gridSize'. This is the setter.

setHorizontalStepsPerItem

Signature: void setHorizontalStepsPerItem (int steps)

Description: Method void QListView::setHorizontalStepsPerItem(int steps)

This method is protected and can only be called from inside a derived class.

setLayoutMode

Signature: void setLayoutMode (const QListView_LayoutMode mode)

Description: Method void QListView::setLayoutMode(QListView::LayoutMode mode)

Python specific notes:
The object exposes a writable attribute 'layoutMode'. This is the setter.

setModel

Signature: void setModel (QAbstractItemModel ptr model)

Description: Virtual method void QListView::setModel(QAbstractItemModel *model)

This method can be reimplemented in a derived class.

setModelColumn

Signature: void setModelColumn (int column)

Description: Method void QListView::setModelColumn(int column)

Python specific notes:
The object exposes a writable attribute 'modelColumn'. This is the setter.

setMovement

Signature: void setMovement (const QListView_Movement movement)

Description: Method void QListView::setMovement(QListView::Movement movement)

Python specific notes:
The object exposes a writable attribute 'movement'. This is the setter.

setPositionForIndex

Signature: void setPositionForIndex (const QPoint position, const QModelIndex index)

Description: Method void QListView::setPositionForIndex(const QPoint &position, const QModelIndex &index)

This method is protected and can only be called from inside a derived class.

setResizeMode

Signature: void setResizeMode (const QListView_ResizeMode mode)

Description: Method void QListView::setResizeMode(QListView::ResizeMode mode)

Python specific notes:
The object exposes a writable attribute 'resizeMode'. This is the setter.

setRootIndex

Signature: void setRootIndex (const QModelIndex index)

Description: Virtual method void QListView::setRootIndex(const QModelIndex &index)

This method can be reimplemented in a derived class.

setRowHidden

Signature: void setRowHidden (int row, bool hide)

Description: Method void QListView::setRowHidden(int row, bool hide)

setSelection

Signature: void setSelection (const QRect rect, QItemSelectionModel_QFlags_SelectionFlag command)

Description: Virtual method void QListView::setSelection(const QRect &rect, QFlags<QItemSelectionModel::SelectionFlag> command)

This method can be reimplemented in a derived class.

setSelectionModel

Signature: void setSelectionModel (QItemSelectionModel ptr selectionModel)

Description: Virtual method void QListView::setSelectionModel(QItemSelectionModel *selectionModel)

This method can be reimplemented in a derived class.

setSelectionRectVisible

Signature: void setSelectionRectVisible (bool show)

Description: Method void QListView::setSelectionRectVisible(bool show)

Python specific notes:
The object exposes a writable attribute 'selectionRectVisible'. This is the setter.

setSpacing

Signature: void setSpacing (int space)

Description: Method void QListView::setSpacing(int space)

Python specific notes:
The object exposes a writable attribute 'spacing'. This is the setter.

setState

Signature: void setState (unsigned int state)

Description: Method void QListView::setState(QAbstractItemView::State state)

This method is protected and can only be called from inside a derived class.

setUniformItemSizes

Signature: void setUniformItemSizes (bool enable)

Description: Method void QListView::setUniformItemSizes(bool enable)

Python specific notes:
The object exposes a writable attribute 'uniformItemSizes'. This is the setter.

setVerticalStepsPerItem

Signature: void setVerticalStepsPerItem (int steps)

Description: Method void QListView::setVerticalStepsPerItem(int steps)

This method is protected and can only be called from inside a derived class.

setViewMode

Signature: void setViewMode (const QListView_ViewMode mode)

Description: Method void QListView::setViewMode(QListView::ViewMode mode)

Python specific notes:
The object exposes a writable attribute 'viewMode'. This is the setter.

setViewportMargins

(1) Signature: void setViewportMargins (int left, int top, int right, int bottom)

Description: Method void QListView::setViewportMargins(int left, int top, int right, int bottom)

This method is protected and can only be called from inside a derived class.

(2) Signature: void setViewportMargins (const QMargins margins)

Description: Method void QListView::setViewportMargins(const QMargins &margins)

This method is protected and can only be called from inside a derived class.

setVisible

Signature: void setVisible (bool visible)

Description: Virtual method void QListView::setVisible(bool visible)

This method can be reimplemented in a derived class.

setWordWrap

Signature: void setWordWrap (bool on)

Description: Method void QListView::setWordWrap(bool on)

Python specific notes:
The object exposes a writable attribute 'wordWrap'. This is the setter.

setWrapping

Signature: void setWrapping (bool enable)

Description: Method void QListView::setWrapping(bool enable)

setupViewport

Signature: void setupViewport (QWidget ptr viewport)

Description: Virtual method void QListView::setupViewport(QWidget *viewport)

This method can be reimplemented in a derived class.

sharedPainter

Signature: [const] QPainter ptr sharedPainter

Description: Virtual method QPainter *QListView::sharedPainter()

This method can be reimplemented in a derived class.

showEvent

Signature: void showEvent (QShowEvent ptr arg1)

Description: Virtual method void QListView::showEvent(QShowEvent *)

This method can be reimplemented in a derived class.

sizeHint

Signature: [const] QSize sizeHint

Description: Virtual method QSize QListView::sizeHint()

This method can be reimplemented in a derived class.

sizeHintForColumn

Signature: [const] int sizeHintForColumn (int column)

Description: Virtual method int QListView::sizeHintForColumn(int column)

This method can be reimplemented in a derived class.

sizeHintForRow

Signature: [const] int sizeHintForRow (int row)

Description: Virtual method int QListView::sizeHintForRow(int row)

This method can be reimplemented in a derived class.

spacing

Signature: [const] int spacing

Description: Method int QListView::spacing()

Python specific notes:
The object exposes a readable attribute 'spacing'. This is the getter.

spacing=

Signature: void spacing= (int space)

Description: Method void QListView::setSpacing(int space)

Python specific notes:
The object exposes a writable attribute 'spacing'. This is the setter.

startAutoScroll

Signature: void startAutoScroll

Description: Method void QListView::startAutoScroll()

This method is protected and can only be called from inside a derived class.

startDrag

Signature: void startDrag (Qt_QFlags_DropAction supportedActions)

Description: Virtual method void QListView::startDrag(QFlags<Qt::DropAction> supportedActions)

This method can be reimplemented in a derived class.

state

Signature: [const] unsigned int state

Description: Method QAbstractItemView::State QListView::state()

This method is protected and can only be called from inside a derived class.

staticMetaObject

Signature: [static] QMetaObject staticMetaObject

Description: Obtains the static MetaObject for this class.

stopAutoScroll

Signature: void stopAutoScroll

Description: Method void QListView::stopAutoScroll()

This method is protected and can only be called from inside a derived class.

tabletEvent

Signature: void tabletEvent (QTabletEvent ptr arg1)

Description: Virtual method void QListView::tabletEvent(QTabletEvent *)

This method can be reimplemented in a derived class.

timerEvent

Signature: void timerEvent (QTimerEvent ptr e)

Description: Virtual method void QListView::timerEvent(QTimerEvent *e)

This method can be reimplemented in a derived class.

tr

Signature: [static] string tr (string s, string c = nullptr, int n = -1)

Description: Static method QString QListView::tr(const char *s, const char *c, int n)

This method is static and can be called without an instance.

trUtf8

Signature: [static] string trUtf8 (string s, string c = nullptr, int n = -1)

Description: Static method QString QListView::trUtf8(const char *s, const char *c, int n)

This method is static and can be called without an instance.

uniformItemSizes

Signature: [const] bool uniformItemSizes

Description: Method bool QListView::uniformItemSizes()

Python specific notes:
The object exposes a readable attribute 'uniformItemSizes'. This is the getter.

uniformItemSizes=

Signature: void uniformItemSizes= (bool enable)

Description: Method void QListView::setUniformItemSizes(bool enable)

Python specific notes:
The object exposes a writable attribute 'uniformItemSizes'. This is the setter.

updateEditorData

Signature: void updateEditorData

Description: Virtual method void QListView::updateEditorData()

This method can be reimplemented in a derived class.

updateEditorGeometries

Signature: void updateEditorGeometries

Description: Virtual method void QListView::updateEditorGeometries()

This method can be reimplemented in a derived class.

updateGeometries

Signature: void updateGeometries

Description: Virtual method void QListView::updateGeometries()

This method can be reimplemented in a derived class.

updateMicroFocus

Signature: void updateMicroFocus

Description: Method void QListView::updateMicroFocus()

This method is protected and can only be called from inside a derived class.

verticalOffset

Signature: [const] int verticalOffset

Description: Virtual method int QListView::verticalOffset()

This method can be reimplemented in a derived class.

verticalScrollbarAction

Signature: void verticalScrollbarAction (int action)

Description: Virtual method void QListView::verticalScrollbarAction(int action)

This method can be reimplemented in a derived class.

verticalScrollbarValueChanged

Signature: void verticalScrollbarValueChanged (int value)

Description: Virtual method void QListView::verticalScrollbarValueChanged(int value)

This method can be reimplemented in a derived class.

verticalStepsPerItem

Signature: [const] int verticalStepsPerItem

Description: Method int QListView::verticalStepsPerItem()

This method is protected and can only be called from inside a derived class.

viewMode

Signature: [const] QListView_ViewMode viewMode

Description: Method QListView::ViewMode QListView::viewMode()

Python specific notes:
The object exposes a readable attribute 'viewMode'. This is the getter.

viewMode=

Signature: void viewMode= (const QListView_ViewMode mode)

Description: Method void QListView::setViewMode(QListView::ViewMode mode)

Python specific notes:
The object exposes a writable attribute 'viewMode'. This is the setter.

viewOptions

Signature: [const] QStyleOptionViewItem viewOptions

Description: Virtual method QStyleOptionViewItem QListView::viewOptions()

This method can be reimplemented in a derived class.

viewportEntered

Signature: [signal] void viewportEntered

Description: Signal declaration for QListView::viewportEntered()

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'viewportEntered'. This is the getter.
The object exposes a writable attribute 'viewportEntered'. This is the setter.

viewportEvent

Signature: bool viewportEvent (QEvent ptr event)

Description: Virtual method bool QListView::viewportEvent(QEvent *event)

This method can be reimplemented in a derived class.

viewportMargins

Signature: [const] QMargins viewportMargins

Description: Method QMargins QListView::viewportMargins()

This method is protected and can only be called from inside a derived class.

viewportSizeHint

Signature: [const] QSize viewportSizeHint

Description: Virtual method QSize QListView::viewportSizeHint()

This method can be reimplemented in a derived class.

visualRect

Signature: [const] QRect visualRect (const QModelIndex index)

Description: Virtual method QRect QListView::visualRect(const QModelIndex &index)

This method can be reimplemented in a derived class.

visualRegionForSelection

Signature: [const] QRegion visualRegionForSelection (const QItemSelection selection)

Description: Virtual method QRegion QListView::visualRegionForSelection(const QItemSelection &selection)

This method can be reimplemented in a derived class.

wheelEvent

Signature: void wheelEvent (QWheelEvent ptr arg1)

Description: Virtual method void QListView::wheelEvent(QWheelEvent *)

This method can be reimplemented in a derived class.

windowIconChanged

Signature: [signal] void windowIconChanged (const QIcon icon)

Description: Signal declaration for QListView::windowIconChanged(const QIcon &icon)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'windowIconChanged'. This is the getter.
The object exposes a writable attribute 'windowIconChanged'. This is the setter.

windowIconTextChanged

Signature: [signal] void windowIconTextChanged (string iconText)

Description: Signal declaration for QListView::windowIconTextChanged(const QString &iconText)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'windowIconTextChanged'. This is the getter.
The object exposes a writable attribute 'windowIconTextChanged'. This is the setter.

windowTitleChanged

Signature: [signal] void windowTitleChanged (string title)

Description: Signal declaration for QListView::windowTitleChanged(const QString &title)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'windowTitleChanged'. This is the getter.
The object exposes a writable attribute 'windowTitleChanged'. This is the setter.

wordWrap

Signature: [const] bool wordWrap

Description: Method bool QListView::wordWrap()

Python specific notes:
The object exposes a readable attribute 'wordWrap'. This is the getter.

wordWrap=

Signature: void wordWrap= (bool on)

Description: Method void QListView::setWordWrap(bool on)

Python specific notes:
The object exposes a writable attribute 'wordWrap'. This is the setter.