PDA

View Full Version : QTableWidgetItem



weixj2003ld
11th August 2011, 04:08
Hi,Every one.
I want to put an icon and text together into QTableWidget.
I find that
QTableWidgetItem ( const QIcon & icon, const QString & text, int type = Type ) can do it.
But I want to put the icon on the right of the text,and what the upper code done is putting the icon on the left of the text.
How to do?
Thk u.

Santosh Reddy
11th August 2011, 07:35
I don't think you can do this, you may need to have custom widget set as cell widget.