PDA

View Full Version : Creating columns on a QTableWidgetItem



jasminelee_44
6th September 2007, 09:46
Hi,

We are able to create numble of column for a QTableWidget. For a cell within the table, can we further create for example 8 columns....so that the cell is divided into yet another 8 columns....Anyone know how to do it....

Thanks

jpn
6th September 2007, 12:37
You can change column count on the fly, see QTableWidget::setColumnCount() (http://doc.trolltech.com/latest/qtablewidget.html#columnCount-prop).