KLayout 0.29.8 (2024-11-26 926dac96c) [master]

API reference - Class QListWidget

Notation used in Ruby API documentation

Module: QtWidgets

Description: Binding of QListWidget

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

Public constructors

new QListWidgetnew(QWidget ptr parent = nullptr)Constructor QListWidget::QListWidget(QWidget *parent)

Public methods

[const]QListWidget ptr_const_castReturns a non-const reference to self.
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 QListWidget::activated(const QModelIndex &index)
voidaddItem(string label)Method void QListWidget::addItem(const QString &label)
voidaddItem(QListWidgetItem ptr item)Method void QListWidget::addItem(QListWidgetItem *item)
voidaddItems(string[] labels)Method void QListWidget::addItems(const QStringList &labels)
voidclearMethod void QListWidget::clear()
[signal]voidclicked(const QModelIndex index)Signal declaration for QListWidget::clicked(const QModelIndex &index)
voidclosePersistentEditor(QListWidgetItem ptr item)Method void QListWidget::closePersistentEditor(QListWidgetItem *item)
[const]intcountMethod int QListWidget::count()
[const]QListWidgetItem ptrcurrentItemMethod QListWidgetItem *QListWidget::currentItem()
voidcurrentItem=(QListWidgetItem ptr item)Method void QListWidget::setCurrentItem(QListWidgetItem *item)
[signal]voidcurrentItemChanged(QListWidgetItem ptr current,
QListWidgetItem ptr previous)
Signal declaration for QListWidget::currentItemChanged(QListWidgetItem *current, QListWidgetItem *previous)
[const]intcurrentRowMethod int QListWidget::currentRow()
voidcurrentRow=(int row)Method void QListWidget::setCurrentRow(int row)
[signal]voidcurrentRowChanged(int currentRow)Signal declaration for QListWidget::currentRowChanged(int currentRow)
[signal]voidcurrentTextChanged(string currentText)Signal declaration for QListWidget::currentTextChanged(const QString &currentText)
[signal]voidcustomContextMenuRequested(const QPoint pos)Signal declaration for QListWidget::customContextMenuRequested(const QPoint &pos)
[signal]voiddestroyed(QObject ptr arg1)Signal declaration for QListWidget::destroyed(QObject *)
voiddoItemsLayoutVirtual method void QListWidget::doItemsLayout()
[signal]voiddoubleClicked(const QModelIndex index)Signal declaration for QListWidget::doubleClicked(const QModelIndex &index)
voiddropEvent(QDropEvent ptr event)Virtual method void QListWidget::dropEvent(QDropEvent *event)
voideditItem(QListWidgetItem ptr item)Method void QListWidget::editItem(QListWidgetItem *item)
voidemit_activated(const QModelIndex index)Emitter for signal void QListWidget::activated(const QModelIndex &index)
voidemit_clicked(const QModelIndex index)Emitter for signal void QListWidget::clicked(const QModelIndex &index)
voidemit_currentItemChanged(QListWidgetItem ptr current,
QListWidgetItem ptr previous)
Emitter for signal void QListWidget::currentItemChanged(QListWidgetItem *current, QListWidgetItem *previous)
voidemit_currentRowChanged(int currentRow)Emitter for signal void QListWidget::currentRowChanged(int currentRow)
voidemit_currentTextChanged(string currentText)Emitter for signal void QListWidget::currentTextChanged(const QString &currentText)
voidemit_customContextMenuRequested(const QPoint pos)Emitter for signal void QListWidget::customContextMenuRequested(const QPoint &pos)
voidemit_destroyed(QObject ptr arg1 = nullptr)Emitter for signal void QListWidget::destroyed(QObject *)
voidemit_doubleClicked(const QModelIndex index)Emitter for signal void QListWidget::doubleClicked(const QModelIndex &index)
voidemit_entered(const QModelIndex index)Emitter for signal void QListWidget::entered(const QModelIndex &index)
voidemit_iconSizeChanged(const QSize size)Emitter for signal void QListWidget::iconSizeChanged(const QSize &size)
voidemit_indexesMoved(QModelIndex[] indexes)Emitter for signal void QListWidget::indexesMoved(const QList<QModelIndex> &indexes)
voidemit_itemActivated(QListWidgetItem ptr item)Emitter for signal void QListWidget::itemActivated(QListWidgetItem *item)
voidemit_itemChanged(QListWidgetItem ptr item)Emitter for signal void QListWidget::itemChanged(QListWidgetItem *item)
voidemit_itemClicked(QListWidgetItem ptr item)Emitter for signal void QListWidget::itemClicked(QListWidgetItem *item)
voidemit_itemDoubleClicked(QListWidgetItem ptr item)Emitter for signal void QListWidget::itemDoubleClicked(QListWidgetItem *item)
voidemit_itemEntered(QListWidgetItem ptr item)Emitter for signal void QListWidget::itemEntered(QListWidgetItem *item)
voidemit_itemPressed(QListWidgetItem ptr item)Emitter for signal void QListWidget::itemPressed(QListWidgetItem *item)
voidemit_itemSelectionChangedEmitter for signal void QListWidget::itemSelectionChanged()
voidemit_objectNameChanged(string objectName)Emitter for signal void QListWidget::objectNameChanged(const QString &objectName)
voidemit_pressed(const QModelIndex index)Emitter for signal void QListWidget::pressed(const QModelIndex &index)
voidemit_viewportEnteredEmitter for signal void QListWidget::viewportEntered()
voidemit_windowIconChanged(const QIcon icon)Emitter for signal void QListWidget::windowIconChanged(const QIcon &icon)
voidemit_windowIconTextChanged(string iconText)Emitter for signal void QListWidget::windowIconTextChanged(const QString &iconText)
voidemit_windowTitleChanged(string title)Emitter for signal void QListWidget::windowTitleChanged(const QString &title)
[signal]voidentered(const QModelIndex index)Signal declaration for QListWidget::entered(const QModelIndex &index)
[const]QListWidgetItem ptr[]findItems(string text,
Qt_QFlags_MatchFlag flags)
Method QList<QListWidgetItem*> QListWidget::findItems(const QString &text, QFlags<Qt::MatchFlag> flags)
[const]boolhasHeightForWidthVirtual method bool QListWidget::hasHeightForWidth()
[const]intheightForWidth(int arg1)Virtual method int QListWidget::heightForWidth(int)
[signal]voidiconSizeChanged(const QSize size)Signal declaration for QListWidget::iconSizeChanged(const QSize &size)
[const]QModelIndexindexAt(const QPoint p)Virtual method QModelIndex QListWidget::indexAt(const QPoint &p)
[signal]voidindexesMoved(QModelIndex[] indexes)Signal declaration for QListWidget::indexesMoved(const QList<QModelIndex> &indexes)
[const]variantinputMethodQuery(const Qt_InputMethodQuery query)Virtual method QVariant QListWidget::inputMethodQuery(Qt::InputMethodQuery query)
voidinsertItem(int row,
QListWidgetItem ptr item)
Method void QListWidget::insertItem(int row, QListWidgetItem *item)
voidinsertItem(int row,
string label)
Method void QListWidget::insertItem(int row, const QString &label)
voidinsertItems(int row,
string[] labels)
Method void QListWidget::insertItems(int row, const QStringList &labels)
[const]boolisItemHidden?(const QListWidgetItem ptr item)Method bool QListWidget::isItemHidden(const QListWidgetItem *item)
[const]boolisItemSelected?(const QListWidgetItem ptr item)Method bool QListWidget::isItemSelected(const QListWidgetItem *item)
[const]boolisPersistentEditorOpen?(const QModelIndex index)Method bool QListWidget::isPersistentEditorOpen(const QModelIndex &index)
[const]boolisPersistentEditorOpen?(QListWidgetItem ptr item)Method bool QListWidget::isPersistentEditorOpen(QListWidgetItem *item)
[const]boolisSortingEnabled?Method bool QListWidget::isSortingEnabled()
[const]QListWidgetItem ptritem(int row)Method QListWidgetItem *QListWidget::item(int row)
[signal]voiditemActivated(QListWidgetItem ptr item)Signal declaration for QListWidget::itemActivated(QListWidgetItem *item)
[const]QListWidgetItem ptritemAt(const QPoint p)Method QListWidgetItem *QListWidget::itemAt(const QPoint &p)
[const]QListWidgetItem ptritemAt(int x,
int y)
Method QListWidgetItem *QListWidget::itemAt(int x, int y)
[signal]voiditemChanged(QListWidgetItem ptr item)Signal declaration for QListWidget::itemChanged(QListWidgetItem *item)
[signal]voiditemClicked(QListWidgetItem ptr item)Signal declaration for QListWidget::itemClicked(QListWidgetItem *item)
[signal]voiditemDoubleClicked(QListWidgetItem ptr item)Signal declaration for QListWidget::itemDoubleClicked(QListWidgetItem *item)
[signal]voiditemEntered(QListWidgetItem ptr item)Signal declaration for QListWidget::itemEntered(QListWidgetItem *item)
[signal]voiditemPressed(QListWidgetItem ptr item)Signal declaration for QListWidget::itemPressed(QListWidgetItem *item)
[signal]voiditemSelectionChangedSignal declaration for QListWidget::itemSelectionChanged()
[const]QWidget ptritemWidget(QListWidgetItem ptr item)Method QWidget *QListWidget::itemWidget(QListWidgetItem *item)
voidkeyboardSearch(string search)Virtual method void QListWidget::keyboardSearch(const QString &search)
[const]QSizeminimumSizeHintVirtual method QSize QListWidget::minimumSizeHint()
[signal]voidobjectNameChanged(string objectName)Signal declaration for QListWidget::objectNameChanged(const QString &objectName)
voidopenPersistentEditor(QListWidgetItem ptr item)Method void QListWidget::openPersistentEditor(QListWidgetItem *item)
[const]QPaintEngine ptrpaintEngineVirtual method QPaintEngine *QListWidget::paintEngine()
[signal]voidpressed(const QModelIndex index)Signal declaration for QListWidget::pressed(const QModelIndex &index)
voidremoveItemWidget(QListWidgetItem ptr item)Method void QListWidget::removeItemWidget(QListWidgetItem *item)
voidresetVirtual method void QListWidget::reset()
[const]introw(const QListWidgetItem ptr item)Method int QListWidget::row(const QListWidgetItem *item)
voidscrollTo(const QModelIndex index,
const QAbstractItemView_ScrollHint hint)
Virtual method void QListWidget::scrollTo(const QModelIndex &index, QAbstractItemView::ScrollHint hint)
voidscrollToItem(const QListWidgetItem ptr item,
const QAbstractItemView_ScrollHint hint = QAbstractItemView::EnsureVisible)
Method void QListWidget::scrollToItem(const QListWidgetItem *item, QAbstractItemView::ScrollHint hint)
voidselectAllVirtual method void QListWidget::selectAll()
[const]QListWidgetItem ptr[]selectedItemsMethod QList<QListWidgetItem*> QListWidget::selectedItems()
voidselectionModel=(QItemSelectionModel ptr selectionModel)Method void QListWidget::setSelectionModel(QItemSelectionModel *selectionModel)
voidsetCurrentItem(QListWidgetItem ptr item)Method void QListWidget::setCurrentItem(QListWidgetItem *item)
voidsetCurrentItem(QListWidgetItem ptr item,
QItemSelectionModel_QFlags_SelectionFlag command)
Method void QListWidget::setCurrentItem(QListWidgetItem *item, QFlags<QItemSelectionModel::SelectionFlag> command)
voidsetCurrentRow(int row)Method void QListWidget::setCurrentRow(int row)
voidsetCurrentRow(int row,
QItemSelectionModel_QFlags_SelectionFlag command)
Method void QListWidget::setCurrentRow(int row, QFlags<QItemSelectionModel::SelectionFlag> command)
voidsetItemHidden(const QListWidgetItem ptr item,
bool hide)
Method void QListWidget::setItemHidden(const QListWidgetItem *item, bool hide)
voidsetItemSelected(const QListWidgetItem ptr item,
bool select)
Method void QListWidget::setItemSelected(const QListWidgetItem *item, bool select)
voidsetItemWidget(QListWidgetItem ptr item,
QWidget ptr widget)
Method void QListWidget::setItemWidget(QListWidgetItem *item, QWidget *widget)
voidsetRootIndex(const QModelIndex index)Virtual method void QListWidget::setRootIndex(const QModelIndex &index)
voidsetSelectionModel(QItemSelectionModel ptr selectionModel)Virtual method void QListWidget::setSelectionModel(QItemSelectionModel *selectionModel)
voidsetSortingEnabled(bool enable)Method void QListWidget::setSortingEnabled(bool enable)
voidsetVisible(bool visible)Virtual method void QListWidget::setVisible(bool visible)
voidsetupViewport(QWidget ptr viewport)Virtual method void QListWidget::setupViewport(QWidget *viewport)
[const]QSizesizeHintVirtual method QSize QListWidget::sizeHint()
[const]intsizeHintForColumn(int column)Virtual method int QListWidget::sizeHintForColumn(int column)
[const]intsizeHintForRow(int row)Virtual method int QListWidget::sizeHintForRow(int row)
voidsortItems(const Qt_SortOrder order = Qt::AscendingOrder)Method void QListWidget::sortItems(Qt::SortOrder order)
[const]boolsortingEnabledMethod bool QListWidget::isSortingEnabled()
voidsortingEnabled=(bool enable)Method void QListWidget::setSortingEnabled(bool enable)
new QListWidgetItem ptrtakeItem(int row)Method QListWidgetItem *QListWidget::takeItem(int row)
[signal]voidviewportEnteredSignal declaration for QListWidget::viewportEntered()
[const]QRectvisualItemRect(const QListWidgetItem ptr item)Method QRect QListWidget::visualItemRect(const QListWidgetItem *item)
[const]QRectvisualRect(const QModelIndex index)Virtual method QRect QListWidget::visualRect(const QModelIndex &index)
[signal]voidwindowIconChanged(const QIcon icon)Signal declaration for QListWidget::windowIconChanged(const QIcon &icon)
[signal]voidwindowIconTextChanged(string iconText)Signal declaration for QListWidget::windowIconTextChanged(const QString &iconText)
[signal]voidwindowTitleChanged(string title)Signal declaration for QListWidget::windowTitleChanged(const QString &title)

Public static methods and constants

QMetaObjectstaticMetaObjectObtains the static MetaObject for this class.
stringtr(string s,
string c = nullptr,
int n = -1)
Static method QString QListWidget::tr(const char *s, const char *c, int n)
stringtrUtf8(string s,
string c = nullptr,
int n = -1)
Static method QString QListWidget::trUtf8(const char *s, const char *c, int n)

Protected methods (static, non-static and constructors)

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

Detailed description

_const_cast

Signature: [const] QListWidget ptr _const_cast

Description: Returns a non-const reference to self.

Basically, this method allows turning a const object reference to a non-const one. This method is provided as last resort to remove the constness from an object. Usually there is a good reason for a const object reference, so using this method may have undesired side effects.

This method has been introduced in version 0.29.6.

_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 event)

Description: Virtual method void QListWidget::actionEvent(QActionEvent *event)

This method can be reimplemented in a derived class.

activated

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

Description: Signal declaration for QListWidget::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.

addItem

(1) Signature: void addItem (string label)

Description: Method void QListWidget::addItem(const QString &label)

(2) Signature: void addItem (QListWidgetItem ptr item)

Description: Method void QListWidget::addItem(QListWidgetItem *item)

addItems

Signature: void addItems (string[] labels)

Description: Method void QListWidget::addItems(const QStringList &labels)

changeEvent

Signature: void changeEvent (QEvent ptr arg1)

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

This method can be reimplemented in a derived class.

childEvent

Signature: void childEvent (QChildEvent ptr event)

Description: Virtual method void QListWidget::childEvent(QChildEvent *event)

This method can be reimplemented in a derived class.

clear

Signature: void clear

Description: Method void QListWidget::clear()

clicked

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

Description: Signal declaration for QListWidget::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 QListWidget::closeEditor(QWidget *editor, QAbstractItemDelegate::EndEditHint hint)

This method can be reimplemented in a derived class.

closeEvent

Signature: void closeEvent (QCloseEvent ptr event)

Description: Virtual method void QListWidget::closeEvent(QCloseEvent *event)

This method can be reimplemented in a derived class.

closePersistentEditor

Signature: void closePersistentEditor (QListWidgetItem ptr item)

Description: Method void QListWidget::closePersistentEditor(QListWidgetItem *item)

commitData

Signature: void commitData (QWidget ptr editor)

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

This method can be reimplemented in a derived class.

contentsSize

Signature: [const] QSize contentsSize

Description: Method QSize QListWidget::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 QListWidget::contextMenuEvent(QContextMenuEvent *)

This method can be reimplemented in a derived class.

count

Signature: [const] int count

Description: Method int QListWidget::count()

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

create

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

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

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

currentChanged

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

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

This method can be reimplemented in a derived class.

currentItem

Signature: [const] QListWidgetItem ptr currentItem

Description: Method QListWidgetItem *QListWidget::currentItem()

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

currentItem=

Signature: void currentItem= (QListWidgetItem ptr item)

Description: Method void QListWidget::setCurrentItem(QListWidgetItem *item)

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

currentItemChanged

Signature: [signal] void currentItemChanged (QListWidgetItem ptr current, QListWidgetItem ptr previous)

Description: Signal declaration for QListWidget::currentItemChanged(QListWidgetItem *current, QListWidgetItem *previous)

You can bind a procedure to this signal.

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

currentRow

Signature: [const] int currentRow

Description: Method int QListWidget::currentRow()

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

currentRow=

Signature: void currentRow= (int row)

Description: Method void QListWidget::setCurrentRow(int row)

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

currentRowChanged

Signature: [signal] void currentRowChanged (int currentRow)

Description: Signal declaration for QListWidget::currentRowChanged(int currentRow)

You can bind a procedure to this signal.

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

currentTextChanged

Signature: [signal] void currentTextChanged (string currentText)

Description: Signal declaration for QListWidget::currentTextChanged(const QString &currentText)

You can bind a procedure to this signal.

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

customContextMenuRequested

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

Description: Signal declaration for QListWidget::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 event)

Description: Virtual method void QListWidget::customEvent(QEvent *event)

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 QListWidget::dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector<int> &roles)

This method can be reimplemented in a derived class.

destroy

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

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

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

destroyed

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

Description: Signal declaration for QListWidget::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 QListWidget::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 QListWidget::disconnectNotify(const QMetaMethod &signal)

This method can be reimplemented in a derived class.

doAutoScroll

Signature: void doAutoScroll

Description: Method void QListWidget::doAutoScroll()

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

doItemsLayout

Signature: void doItemsLayout

Description: Virtual method void QListWidget::doItemsLayout()

This method can be reimplemented in a derived class.

doubleClicked

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

Description: Signal declaration for QListWidget::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 QListWidget::dragEnterEvent(QDragEnterEvent *event)

This method can be reimplemented in a derived class.

dragLeaveEvent

Signature: void dragLeaveEvent (QDragLeaveEvent ptr e)

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

This method can be reimplemented in a derived class.

dragMoveEvent

Signature: void dragMoveEvent (QDragMoveEvent ptr e)

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

This method can be reimplemented in a derived class.

drawFrame

Signature: void drawFrame (QPainter ptr arg1)

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

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

dropEvent

Signature: void dropEvent (QDropEvent ptr event)

Description: Virtual method void QListWidget::dropEvent(QDropEvent *event)

This method can be reimplemented in a derived class.

dropIndicatorPosition

Signature: [const] unsigned int dropIndicatorPosition

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

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

dropMimeData

Signature: bool dropMimeData (int index, const QMimeData ptr data, const Qt_DropAction action)

Description: Virtual method bool QListWidget::dropMimeData(int index, const QMimeData *data, Qt::DropAction action)

This method can be reimplemented in a derived class.

edit

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

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

This method can be reimplemented in a derived class.

editItem

Signature: void editItem (QListWidgetItem ptr item)

Description: Method void QListWidget::editItem(QListWidgetItem *item)

editorDestroyed

Signature: void editorDestroyed (QObject ptr editor)

Description: Virtual method void QListWidget::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 QListWidget::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 QListWidget::clicked(const QModelIndex &index)

Call this method to emit this signal.

emit_currentItemChanged

Signature: void emit_currentItemChanged (QListWidgetItem ptr current, QListWidgetItem ptr previous)

Description: Emitter for signal void QListWidget::currentItemChanged(QListWidgetItem *current, QListWidgetItem *previous)

Call this method to emit this signal.

emit_currentRowChanged

Signature: void emit_currentRowChanged (int currentRow)

Description: Emitter for signal void QListWidget::currentRowChanged(int currentRow)

Call this method to emit this signal.

emit_currentTextChanged

Signature: void emit_currentTextChanged (string currentText)

Description: Emitter for signal void QListWidget::currentTextChanged(const QString &currentText)

Call this method to emit this signal.

emit_customContextMenuRequested

Signature: void emit_customContextMenuRequested (const QPoint pos)

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

Call this method to emit this signal.

emit_destroyed

Signature: void emit_destroyed (QObject ptr arg1 = nullptr)

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

Call this method to emit this signal.

emit_doubleClicked

Signature: void emit_doubleClicked (const QModelIndex index)

Description: Emitter for signal void QListWidget::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 QListWidget::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 QListWidget::iconSizeChanged(const QSize &size)

Call this method to emit this signal.

emit_indexesMoved

Signature: void emit_indexesMoved (QModelIndex[] indexes)

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

Call this method to emit this signal.

emit_itemActivated

Signature: void emit_itemActivated (QListWidgetItem ptr item)

Description: Emitter for signal void QListWidget::itemActivated(QListWidgetItem *item)

Call this method to emit this signal.

emit_itemChanged

Signature: void emit_itemChanged (QListWidgetItem ptr item)

Description: Emitter for signal void QListWidget::itemChanged(QListWidgetItem *item)

Call this method to emit this signal.

emit_itemClicked

Signature: void emit_itemClicked (QListWidgetItem ptr item)

Description: Emitter for signal void QListWidget::itemClicked(QListWidgetItem *item)

Call this method to emit this signal.

emit_itemDoubleClicked

Signature: void emit_itemDoubleClicked (QListWidgetItem ptr item)

Description: Emitter for signal void QListWidget::itemDoubleClicked(QListWidgetItem *item)

Call this method to emit this signal.

emit_itemEntered

Signature: void emit_itemEntered (QListWidgetItem ptr item)

Description: Emitter for signal void QListWidget::itemEntered(QListWidgetItem *item)

Call this method to emit this signal.

emit_itemPressed

Signature: void emit_itemPressed (QListWidgetItem ptr item)

Description: Emitter for signal void QListWidget::itemPressed(QListWidgetItem *item)

Call this method to emit this signal.

emit_itemSelectionChanged

Signature: void emit_itemSelectionChanged

Description: Emitter for signal void QListWidget::itemSelectionChanged()

Call this method to emit this signal.

emit_objectNameChanged

Signature: void emit_objectNameChanged (string objectName)

Description: Emitter for signal void QListWidget::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 QListWidget::pressed(const QModelIndex &index)

Call this method to emit this signal.

emit_viewportEntered

Signature: void emit_viewportEntered

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

Call this method to emit this signal.

emit_windowIconChanged

Signature: void emit_windowIconChanged (const QIcon icon)

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

Call this method to emit this signal.

emit_windowIconTextChanged

Signature: void emit_windowIconTextChanged (string iconText)

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

Call this method to emit this signal.

emit_windowTitleChanged

Signature: void emit_windowTitleChanged (string title)

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

Call this method to emit this signal.

enterEvent

Signature: void enterEvent (QEvent ptr event)

Description: Virtual method void QListWidget::enterEvent(QEvent *event)

This method can be reimplemented in a derived class.

entered

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

Description: Signal declaration for QListWidget::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 QListWidget::event(QEvent *e)

This method can be reimplemented in a derived class.

eventFilter

Signature: bool eventFilter (QObject ptr object, QEvent ptr event)

Description: Virtual method bool QListWidget::eventFilter(QObject *object, QEvent *event)

This method can be reimplemented in a derived class.

executeDelayedItemsLayout

Signature: void executeDelayedItemsLayout

Description: Method void QListWidget::executeDelayedItemsLayout()

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

findItems

Signature: [const] QListWidgetItem ptr[] findItems (string text, Qt_QFlags_MatchFlag flags)

Description: Method QList<QListWidgetItem*> QListWidget::findItems(const QString &text, QFlags<Qt::MatchFlag> flags)

focusInEvent

Signature: void focusInEvent (QFocusEvent ptr event)

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

This method can be reimplemented in a derived class.

focusNextChild

Signature: bool focusNextChild

Description: Method bool QListWidget::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 QListWidget::focusNextPrevChild(bool next)

This method can be reimplemented in a derived class.

focusOutEvent

Signature: void focusOutEvent (QFocusEvent ptr event)

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

This method can be reimplemented in a derived class.

focusPreviousChild

Signature: bool focusPreviousChild

Description: Method bool QListWidget::focusPreviousChild()

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

hasHeightForWidth

Signature: [const] bool hasHeightForWidth

Description: Virtual method bool QListWidget::hasHeightForWidth()

This method can be reimplemented in a derived class.

heightForWidth

Signature: [const] int heightForWidth (int arg1)

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

This method can be reimplemented in a derived class.

hideEvent

Signature: void hideEvent (QHideEvent ptr event)

Description: Virtual method void QListWidget::hideEvent(QHideEvent *event)

This method can be reimplemented in a derived class.

horizontalOffset

Signature: [const] int horizontalOffset

Description: Virtual method int QListWidget::horizontalOffset()

This method can be reimplemented in a derived class.

horizontalScrollbarAction

Signature: void horizontalScrollbarAction (int action)

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

This method can be reimplemented in a derived class.

horizontalScrollbarValueChanged

Signature: void horizontalScrollbarValueChanged (int value)

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

This method can be reimplemented in a derived class.

horizontalStepsPerItem

Signature: [const] int horizontalStepsPerItem

Description: Method int QListWidget::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 QListWidget::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 QListWidget::indexAt(const QPoint &p)

This method can be reimplemented in a derived class.

indexFromItem

(1) Signature: [const] QModelIndex indexFromItem (const QListWidgetItem ptr item)

Description: Method QModelIndex QListWidget::indexFromItem(const QListWidgetItem *item)

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

(2) Signature: [const] QModelIndex indexFromItem (QListWidgetItem ptr item)

Description: Method QModelIndex QListWidget::indexFromItem(QListWidgetItem *item)

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

indexesMoved

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

Description: Signal declaration for QListWidget::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 QListWidget::initPainter(QPainter *painter)

This method can be reimplemented in a derived class.

initStyleOption

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

Description: Method void QListWidget::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 QListWidget::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 QListWidget::inputMethodQuery(Qt::InputMethodQuery query)

This method can be reimplemented in a derived class.

insertItem

(1) Signature: void insertItem (int row, QListWidgetItem ptr item)

Description: Method void QListWidget::insertItem(int row, QListWidgetItem *item)

(2) Signature: void insertItem (int row, string label)

Description: Method void QListWidget::insertItem(int row, const QString &label)

insertItems

Signature: void insertItems (int row, string[] labels)

Description: Method void QListWidget::insertItems(int row, const QStringList &labels)

isIndexHidden

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

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

This method can be reimplemented in a derived class.

isItemHidden?

Signature: [const] bool isItemHidden? (const QListWidgetItem ptr item)

Description: Method bool QListWidget::isItemHidden(const QListWidgetItem *item)

isItemSelected?

Signature: [const] bool isItemSelected? (const QListWidgetItem ptr item)

Description: Method bool QListWidget::isItemSelected(const QListWidgetItem *item)

isPersistentEditorOpen?

(1) Signature: [const] bool isPersistentEditorOpen? (const QModelIndex index)

Description: Method bool QListWidget::isPersistentEditorOpen(const QModelIndex &index)

(2) Signature: [const] bool isPersistentEditorOpen? (QListWidgetItem ptr item)

Description: Method bool QListWidget::isPersistentEditorOpen(QListWidgetItem *item)

isSignalConnected

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

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

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

isSortingEnabled?

Signature: [const] bool isSortingEnabled?

Description: Method bool QListWidget::isSortingEnabled()

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

item

Signature: [const] QListWidgetItem ptr item (int row)

Description: Method QListWidgetItem *QListWidget::item(int row)

itemActivated

Signature: [signal] void itemActivated (QListWidgetItem ptr item)

Description: Signal declaration for QListWidget::itemActivated(QListWidgetItem *item)

You can bind a procedure to this signal.

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

itemAt

(1) Signature: [const] QListWidgetItem ptr itemAt (const QPoint p)

Description: Method QListWidgetItem *QListWidget::itemAt(const QPoint &p)

(2) Signature: [const] QListWidgetItem ptr itemAt (int x, int y)

Description: Method QListWidgetItem *QListWidget::itemAt(int x, int y)

itemChanged

Signature: [signal] void itemChanged (QListWidgetItem ptr item)

Description: Signal declaration for QListWidget::itemChanged(QListWidgetItem *item)

You can bind a procedure to this signal.

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

itemClicked

Signature: [signal] void itemClicked (QListWidgetItem ptr item)

Description: Signal declaration for QListWidget::itemClicked(QListWidgetItem *item)

You can bind a procedure to this signal.

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

itemDoubleClicked

Signature: [signal] void itemDoubleClicked (QListWidgetItem ptr item)

Description: Signal declaration for QListWidget::itemDoubleClicked(QListWidgetItem *item)

You can bind a procedure to this signal.

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

itemEntered

Signature: [signal] void itemEntered (QListWidgetItem ptr item)

Description: Signal declaration for QListWidget::itemEntered(QListWidgetItem *item)

You can bind a procedure to this signal.

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

itemFromIndex

Signature: [const] QListWidgetItem ptr itemFromIndex (const QModelIndex index)

Description: Method QListWidgetItem *QListWidget::itemFromIndex(const QModelIndex &index)

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

itemPressed

Signature: [signal] void itemPressed (QListWidgetItem ptr item)

Description: Signal declaration for QListWidget::itemPressed(QListWidgetItem *item)

You can bind a procedure to this signal.

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

itemSelectionChanged

Signature: [signal] void itemSelectionChanged

Description: Signal declaration for QListWidget::itemSelectionChanged()

You can bind a procedure to this signal.

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

itemWidget

Signature: [const] QWidget ptr itemWidget (QListWidgetItem ptr item)

Description: Method QWidget *QListWidget::itemWidget(QListWidgetItem *item)

items

Signature: [const] QListWidgetItem ptr[] items (const QMimeData ptr data)

Description: Method QList<QListWidgetItem*> QListWidget::items(const QMimeData *data)

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

keyPressEvent

Signature: void keyPressEvent (QKeyEvent ptr event)

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

This method can be reimplemented in a derived class.

keyReleaseEvent

Signature: void keyReleaseEvent (QKeyEvent ptr event)

Description: Virtual method void QListWidget::keyReleaseEvent(QKeyEvent *event)

This method can be reimplemented in a derived class.

keyboardSearch

Signature: void keyboardSearch (string search)

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

This method can be reimplemented in a derived class.

leaveEvent

Signature: void leaveEvent (QEvent ptr event)

Description: Virtual method void QListWidget::leaveEvent(QEvent *event)

This method can be reimplemented in a derived class.

metric

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

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

This method can be reimplemented in a derived class.

mimeData

Signature: [const] QMimeData ptr mimeData ([] items)

Description: Virtual method QMimeData *QListWidget::mimeData(const QList<QListWidgetItem*> items)

This method can be reimplemented in a derived class.

mimeTypes

Signature: [const] string[] mimeTypes

Description: Virtual method QStringList QListWidget::mimeTypes()

This method can be reimplemented in a derived class.

minimumSizeHint

Signature: [const] QSize minimumSizeHint

Description: Virtual method QSize QListWidget::minimumSizeHint()

This method can be reimplemented in a derived class.

mouseDoubleClickEvent

Signature: void mouseDoubleClickEvent (QMouseEvent ptr event)

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

This method can be reimplemented in a derived class.

mouseMoveEvent

Signature: void mouseMoveEvent (QMouseEvent ptr e)

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

This method can be reimplemented in a derived class.

mousePressEvent

Signature: void mousePressEvent (QMouseEvent ptr event)

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

This method can be reimplemented in a derived class.

mouseReleaseEvent

Signature: void mouseReleaseEvent (QMouseEvent ptr e)

Description: Virtual method void QListWidget::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 QListWidget::moveCursor(QAbstractItemView::CursorAction cursorAction, QFlags<Qt::KeyboardModifier> modifiers)

This method can be reimplemented in a derived class.

moveEvent

Signature: void moveEvent (QMoveEvent ptr event)

Description: Virtual method void QListWidget::moveEvent(QMoveEvent *event)

This method can be reimplemented in a derived class.

nativeEvent

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

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

This method can be reimplemented in a derived class.

new

Signature: [static] new QListWidget new (QWidget ptr parent = nullptr)

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

This method creates an object of class QListWidget.

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

objectNameChanged

Signature: [signal] void objectNameChanged (string objectName)

Description: Signal declaration for QListWidget::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.

openPersistentEditor

Signature: void openPersistentEditor (QListWidgetItem ptr item)

Description: Method void QListWidget::openPersistentEditor(QListWidgetItem *item)

paintEngine

Signature: [const] QPaintEngine ptr paintEngine

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

This method can be reimplemented in a derived class.

paintEvent

Signature: void paintEvent (QPaintEvent ptr e)

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

This method can be reimplemented in a derived class.

pressed

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

Description: Signal declaration for QListWidget::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 QListWidget::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 QListWidget::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 QListWidget::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 QListWidget::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 *QListWidget::redirected(QPoint *offset)

This method can be reimplemented in a derived class.

removeItemWidget

Signature: void removeItemWidget (QListWidgetItem ptr item)

Description: Method void QListWidget::removeItemWidget(QListWidgetItem *item)

reset

Signature: void reset

Description: Virtual method void QListWidget::reset()

This method can be reimplemented in a derived class.

resizeContents

Signature: void resizeContents (int width, int height)

Description: Method void QListWidget::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 QListWidget::resizeEvent(QResizeEvent *e)

This method can be reimplemented in a derived class.

row

Signature: [const] int row (const QListWidgetItem ptr item)

Description: Method int QListWidget::row(const QListWidgetItem *item)

rowsAboutToBeRemoved

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

Description: Virtual method void QListWidget::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 QListWidget::rowsInserted(const QModelIndex &parent, int start, int end)

This method can be reimplemented in a derived class.

scheduleDelayedItemsLayout

Signature: void scheduleDelayedItemsLayout

Description: Method void QListWidget::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 QListWidget::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 QListWidget::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 QListWidget::scrollTo(const QModelIndex &index, QAbstractItemView::ScrollHint hint)

This method can be reimplemented in a derived class.

scrollToItem

Signature: void scrollToItem (const QListWidgetItem ptr item, const QAbstractItemView_ScrollHint hint = QAbstractItemView::EnsureVisible)

Description: Method void QListWidget::scrollToItem(const QListWidgetItem *item, QAbstractItemView::ScrollHint hint)

selectAll

Signature: void selectAll

Description: Virtual method void QListWidget::selectAll()

This method can be reimplemented in a derived class.

selectedIndexes

Signature: [const] QModelIndex[] selectedIndexes

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

This method can be reimplemented in a derived class.

selectedItems

Signature: [const] QListWidgetItem ptr[] selectedItems

Description: Method QList<QListWidgetItem*> QListWidget::selectedItems()

selectionChanged

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

Description: Virtual method void QListWidget::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> QListWidget::selectionCommand(const QModelIndex &index, const QEvent *event)

This method can be reimplemented in a derived class.

selectionModel=

Signature: void selectionModel= (QItemSelectionModel ptr selectionModel)

Description: Method void QListWidget::setSelectionModel(QItemSelectionModel *selectionModel)

This is a reimplementation of QAbstractItemView::setSelectionModel

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

sender

Signature: [const] QObject ptr sender

Description: Method QObject *QListWidget::sender()

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

senderSignalIndex

Signature: [const] int senderSignalIndex

Description: Method int QListWidget::senderSignalIndex()

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

setCurrentItem

(1) Signature: void setCurrentItem (QListWidgetItem ptr item)

Description: Method void QListWidget::setCurrentItem(QListWidgetItem *item)

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

(2) Signature: void setCurrentItem (QListWidgetItem ptr item, QItemSelectionModel_QFlags_SelectionFlag command)

Description: Method void QListWidget::setCurrentItem(QListWidgetItem *item, QFlags<QItemSelectionModel::SelectionFlag> command)

setCurrentRow

(1) Signature: void setCurrentRow (int row)

Description: Method void QListWidget::setCurrentRow(int row)

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

(2) Signature: void setCurrentRow (int row, QItemSelectionModel_QFlags_SelectionFlag command)

Description: Method void QListWidget::setCurrentRow(int row, QFlags<QItemSelectionModel::SelectionFlag> command)

setDirtyRegion

Signature: void setDirtyRegion (const QRegion region)

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

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

setHorizontalStepsPerItem

Signature: void setHorizontalStepsPerItem (int steps)

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

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

setItemHidden

Signature: void setItemHidden (const QListWidgetItem ptr item, bool hide)

Description: Method void QListWidget::setItemHidden(const QListWidgetItem *item, bool hide)

setItemSelected

Signature: void setItemSelected (const QListWidgetItem ptr item, bool select)

Description: Method void QListWidget::setItemSelected(const QListWidgetItem *item, bool select)

setItemWidget

Signature: void setItemWidget (QListWidgetItem ptr item, QWidget ptr widget)

Description: Method void QListWidget::setItemWidget(QListWidgetItem *item, QWidget *widget)

setPositionForIndex

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

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

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

setRootIndex

Signature: void setRootIndex (const QModelIndex index)

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

This method can be reimplemented in a derived class.

setSelection

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

Description: Virtual method void QListWidget::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 QListWidget::setSelectionModel(QItemSelectionModel *selectionModel)

This method can be reimplemented in a derived class.

setSortingEnabled

Signature: void setSortingEnabled (bool enable)

Description: Method void QListWidget::setSortingEnabled(bool enable)

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

setState

Signature: void setState (unsigned int state)

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

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

setVerticalStepsPerItem

Signature: void setVerticalStepsPerItem (int steps)

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

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

setViewportMargins

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

Description: Method void QListWidget::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 QListWidget::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 QListWidget::setVisible(bool visible)

This method can be reimplemented in a derived class.

setupViewport

Signature: void setupViewport (QWidget ptr viewport)

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

This method can be reimplemented in a derived class.

sharedPainter

Signature: [const] QPainter ptr sharedPainter

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

This method can be reimplemented in a derived class.

showEvent

Signature: void showEvent (QShowEvent ptr event)

Description: Virtual method void QListWidget::showEvent(QShowEvent *event)

This method can be reimplemented in a derived class.

sizeHint

Signature: [const] QSize sizeHint

Description: Virtual method QSize QListWidget::sizeHint()

This method can be reimplemented in a derived class.

sizeHintForColumn

Signature: [const] int sizeHintForColumn (int column)

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

This method can be reimplemented in a derived class.

sizeHintForRow

Signature: [const] int sizeHintForRow (int row)

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

This method can be reimplemented in a derived class.

sortItems

Signature: void sortItems (const Qt_SortOrder order = Qt::AscendingOrder)

Description: Method void QListWidget::sortItems(Qt::SortOrder order)

sortingEnabled

Signature: [const] bool sortingEnabled

Description: Method bool QListWidget::isSortingEnabled()

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

sortingEnabled=

Signature: void sortingEnabled= (bool enable)

Description: Method void QListWidget::setSortingEnabled(bool enable)

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

startAutoScroll

Signature: void startAutoScroll

Description: Method void QListWidget::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 QListWidget::startDrag(QFlags<Qt::DropAction> supportedActions)

This method can be reimplemented in a derived class.

state

Signature: [const] unsigned int state

Description: Method QAbstractItemView::State QListWidget::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 QListWidget::stopAutoScroll()

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

supportedDropActions

Signature: [const] Qt_QFlags_DropAction supportedDropActions

Description: Virtual method QFlags<Qt::DropAction> QListWidget::supportedDropActions()

This method can be reimplemented in a derived class.

tabletEvent

Signature: void tabletEvent (QTabletEvent ptr event)

Description: Virtual method void QListWidget::tabletEvent(QTabletEvent *event)

This method can be reimplemented in a derived class.

takeItem

Signature: new QListWidgetItem ptr takeItem (int row)

Description: Method QListWidgetItem *QListWidget::takeItem(int row)

timerEvent

Signature: void timerEvent (QTimerEvent ptr e)

Description: Virtual method void QListWidget::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 QListWidget::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 QListWidget::trUtf8(const char *s, const char *c, int n)

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

updateEditorData

Signature: void updateEditorData

Description: Virtual method void QListWidget::updateEditorData()

This method can be reimplemented in a derived class.

updateEditorGeometries

Signature: void updateEditorGeometries

Description: Virtual method void QListWidget::updateEditorGeometries()

This method can be reimplemented in a derived class.

updateGeometries

Signature: void updateGeometries

Description: Virtual method void QListWidget::updateGeometries()

This method can be reimplemented in a derived class.

updateMicroFocus

Signature: void updateMicroFocus

Description: Method void QListWidget::updateMicroFocus()

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

verticalOffset

Signature: [const] int verticalOffset

Description: Virtual method int QListWidget::verticalOffset()

This method can be reimplemented in a derived class.

verticalScrollbarAction

Signature: void verticalScrollbarAction (int action)

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

This method can be reimplemented in a derived class.

verticalScrollbarValueChanged

Signature: void verticalScrollbarValueChanged (int value)

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

This method can be reimplemented in a derived class.

verticalStepsPerItem

Signature: [const] int verticalStepsPerItem

Description: Method int QListWidget::verticalStepsPerItem()

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

viewOptions

Signature: [const] QStyleOptionViewItem viewOptions

Description: Virtual method QStyleOptionViewItem QListWidget::viewOptions()

This method can be reimplemented in a derived class.

viewportEntered

Signature: [signal] void viewportEntered

Description: Signal declaration for QListWidget::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 QListWidget::viewportEvent(QEvent *event)

This method can be reimplemented in a derived class.

viewportMargins

Signature: [const] QMargins viewportMargins

Description: Method QMargins QListWidget::viewportMargins()

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

viewportSizeHint

Signature: [const] QSize viewportSizeHint

Description: Virtual method QSize QListWidget::viewportSizeHint()

This method can be reimplemented in a derived class.

visualItemRect

Signature: [const] QRect visualItemRect (const QListWidgetItem ptr item)

Description: Method QRect QListWidget::visualItemRect(const QListWidgetItem *item)

visualRect

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

Description: Virtual method QRect QListWidget::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 QListWidget::visualRegionForSelection(const QItemSelection &selection)

This method can be reimplemented in a derived class.

wheelEvent

Signature: void wheelEvent (QWheelEvent ptr e)

Description: Virtual method void QListWidget::wheelEvent(QWheelEvent *e)

This method can be reimplemented in a derived class.

windowIconChanged

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

Description: Signal declaration for QListWidget::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 QListWidget::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 QListWidget::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.