Top "Qlistwidget" questions

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

QListView/QListWidget with custom items and custom item widgets

I'm writing a PyQt application and am having some trouble creating a custom list view. I'd like the list to …

qt pyqt qitemdelegate qlistview qlistwidget
How do I set the selected item in a QListWidget?

I am adding two items to a listwidget using the code below. Now I want to set "Weekend Plus" as …

qt qlistwidget
PyQt4: How do you iterate all items in a QListWidget

Currently, I use the following while loop in a class that inherits QtGui.QListWidget to iterate all items: i = 0 while …

python pyqt4 qlistwidget
Adding items to QlistView

I'm using pyqt4 with python 2.7 and I have a list view widget that I can't add items to it # -*…

python pyqt pyqt4 qlistwidget qlistview
QListWidget and Multiple Selection

I have a regular QListWidget with couple of signals and slots hookedup. Everything works as I expect. I can update, …

python user-interface pyqt qlistwidget
How can i iterate through QListWidget items and work with each item?

In CSharp its as simple as writting : listBox1.Items.Add("Hello"); listBox1.Items.Add("There"); foreach (string item in listBox1.…

c++ qt qlistwidget
Remove selected items from listWidget

How to remove selected items from qlistWidget. I have tried write the following code, but does not work. QList<…

c++ qt qt5 qlistwidget
PyQt4 - Remove Item Widget from QListWidget

I have a QListWidget and I need to remove some items. From what I've researched, this is a generally unpleasant …

python pyqt4 qlistwidget
PyQt5 ListWidget add list items

while learning PyQt5 i found a little problem( maybe a bug) in the ListWidget Widget (and all other widgets) the …

python pyqt pyqt5 qlistwidget
How to change the text color of items in a QListWidget?

I want to change the text color of the items in QListWidget. For example, some items are in red text …

qt qlistwidget qlistwidgetitem