PDA

View Full Version : How to add a QLabel in QListView?



live_07
24th September 2010, 09:20
Hi,

How to add a QLabel in QListView?

Thanks in advance.

Lykurg
24th September 2010, 09:23
You might want use QListWidget or you have to paint the label in a custom delegate yourself.

wysota
24th September 2010, 14:52
How to add a QLabel in QListView?
Why do you want to add a label in QListView?

tbscope
24th September 2010, 15:16
Probably to get rich text

live_07
28th September 2010, 06:39
Why do you want to add a label in QListView?

I need to add hyperlink inside the list view, when the hyperlink is clicked we need to open the website in browser