Top "Qlistwidget" questions

The QListWidget is a Qt class that provides an item-based list widget

How to set minimum height of QListWidgetItem?

How can I set the minimum height of a QListWidgetItem? I'm using QListWidget::setItemWidget() with a customized widget, and although …

qt qlistwidget qlistview
QListWidget or QListView with QItemDelegate?

Let's say I need to display a list of items. Each item contains a QPushButton an image and some text. …

qt qlistview qitemdelegate qlistwidget
Multiple Selection QTreeWidget

Does anyone know if its possible to select multiple items on a QTreeWidget and how to go about enabling the …

select pyqt qlistwidget qtreewidget
Can I store some user data in every item of a QListWidget?

I want to store some filenames in a QListWidget. I need to have the full file paths, but I only …

c++ qt qlistwidget
How can I empty a QListWidget without having it delete all of the QListItemWidgets it contains?

QListWidget has a member named clear(). The docs for this method state: void QListWidget::clear () [slot] Removes all items and …

qt qlistwidget
How do I remove all the selected items in a QListWidget?

QListWidget::selectedItems returns a list of QListWidgetItem, but the only function for removing an item that I found is takeItem, …

c++ qt qlistwidget
Clearing selection in QListWidget

I'm using PyQt4 and I have a QListWidget in a window where I added items to it at run-time. I …

python pyqt4 qlistwidget
PyQt: How to get most of QListWidget

The code builds a dialog box with a single QListWidget and a single QPushButton. Clicking the button adds a single …

python drag-and-drop pyqt pyqt4 qlistwidget
How to show icons without text in QListWidget?

I want to show only icons in my QListWidget. I set text to empty string. When I select an icon …

qt qt4 icons qlistwidget
Qt/C++: Signal for when a QListWidgetItem is checked?

In my form I have a QListWidget which contains checkable QListWidgetItems. I'm looking for a way to capture the event …

c++ qt qlistwidget qt-signals