qlistwidgetitem Questions
3
Solved
We're looking for a way to increase the padding (or margins) for a QListWidget we are using in our application. We'd like to increase this for all four directions to give the text in our list some ...
Ledge asked 21/3, 2018 at 14:55
1
Solved
I am learning PySide and I was confused how to set the flag for a QListWidget item back to selectable after first setting it to unselectable. I know I can:
QListWidget.SetFlags(QtCore.Qt.ItemIsSele...
Improvise asked 27/5, 2018 at 5:26
2
Solved
To remove a given QListWidgetItem* item from a QListWidget* lst I can use following code (taken from this answer):
delete lst->takeItem(lst->row(item)); // method 1
On the other hand, if I...
Subchloride asked 27/6, 2017 at 14:43
2
Solved
I want to change the text color of the items in QListWidget.
For example, some items are in red text while others are in blue text. How do I do that? Thank you.
Henleigh asked 5/2, 2010 at 21:3
1
I have got a QListWidgetItem, which has a QWidget and some QLabels. The height of the labels (imageLabel, titleLabel and descriptionLabel) varies depending on the text length. So does the height of...
Hidalgo asked 6/8, 2014 at 10:33
1
Solved
how can i create a QListWidgetItem that has 1 image and 2 labels/strings underneath, that have support for css?
this is the last thing i have tried:
class CustomListWidgetItem(QListWidgetItem, QL...
Brucine asked 7/8, 2014 at 16:17
1
© 2022 - 2024 — McMap. All rights reserved.