take a look at QTableWidgetItem::setIcon.
take a look at QTableWidgetItem::setIcon.
Qt Assistant -- rocks!
please, use tags [CODE] & [/CODE].
Is there a way to add a picture / icon to a QLabel? It has to be beside the text.
If not, what's the best way to add it beside a QLabel within a HBoxLayout?
Regards,
Pembar
To have a icon AND text side-by-side you should use to different labels, one holding the icon to other for the text. Both labels in a QHBoxLayout as already stated.
Last edited by Boron; 18th May 2009 at 18:59.
Pembar (19th May 2009)
Bookmarks