PDA

View Full Version : Question on QTableWidget



impeteperry
1st June 2009, 16:57
HI, I'm using QTableWidget for the first time and I am having troble finding out how to populate a table..

I want to place "text item" in cell row 3, column 5.

Please help.

thanks

Lykurg
1st June 2009, 17:05
QTableWidget::setItem ( int row, int column, QTableWidgetItem * item )

Have also a look to the detailed description of the documentation of QTableWidget.

impeteperry
2nd June 2009, 01:30
Thanks, I have been doing that all day, but I have a lot of problems with the terminology. It gets worse with every upgrade. Examples showing the implementation of these items would be most helpful.

I have found an example in "the Book of Qt 4" on page 254. all of this just to put a bit of text into a position in a table. tsk tsk!

Enhansements to the point of non-usability.

Sorry for the diatrib.

But thanks anyway, I appreciate it.

impeteperry
2nd June 2009, 03:33
The reference in the book did the trick.
Sorry I got a bit testi. But I'm 83 and my patience is not that great.