[Qt-interest] A tough question about QTableWidget for the gurus.

LIM Fung-Chai lim.fung.chai at gmail.com
Sat Apr 4 17:50:14 CEST 2009


Hi Cuters,

I want to create a QTableWidget where some of the cells
(QTableWidgetItem) may be QTableWidget's themselves while most of the
cells are the "normal" types.  Therefore, you will see a spreadsheet
where some of the cells contain "mini" spreadsheets.

In general, I would like to make some of the cells to be any QWidget
subclass as I also want to make some of the cells to be QLabel's so
that I can have some fancy html text rendered in those cells.

How can I do the above?  If I need to use QTableView, please show me
how.  Thanks in advance.

When you reply, please cc to me; I have configured the mailing list
*not* to send me any postings as I prefer to read the mailing list
archives.  Thank you.

Regards,
Fung Chai.

-- 
FWIW: $\lnot \exists x \, {\rm Right} (x) \leftarrow \forall x \, {\rm
Wrong} (x)$ \hfill -- Stephen Stills

Freedom's just another word for nothin' left to lose -- Kris Kristofferson



More information about the Qt-interest-old mailing list