How can I create a separation line with some information in QlistWidget?
Moved
Unsolved
Qt for Python
-
Hi all!
I'm doing a dicom viewer with thumbnail list on the left side, just like Radiant.
The thumbnail list is a Qlistwidget with lots of item in it,
and I want to add a separation line between them.
but not just a line, I also want to have some information of the items below it on the separation line.
For example,
I want it look like the dark red square in the picture below:
(this is a screen shot of Radiant)
How can I do it?
Is there anything similar to what I'm saying that I can use in Pyqt5?
Sorry for my poor English.
Thank you very much! -
Hi and welcome to devnet,
You should take a look at the QStyledItemDelegate class.
It's also available for PyQt5.