PDA

View Full Version : Insert data to QTableView



Lodhart
23rd April 2009, 10:33
Hi, I'm new in this and i can not insert some data to Table. There is not exist property like:
Table->setRow=5;
Table->setCol=5;
Table->Cell[2, 3]=variable;

Please can anybody help me to write simple code to create table for example [5,5]. with inserting data ?

Lykurg
23rd April 2009, 10:38
Hi, I'm new in this and i can not insert some data to Table. There is not exist property like:
Table->setRow=5;
Table->setCol=5;
Table->Cell[2, 3]=variable;

Please can anybody help me to write simple code to create table for example [5,5]. with inserting data ?

Hi, first there is a Newbie forum, second please use the assistant - the Qt documentation "tool". -> QTableWidget::setColumnCount() etc... (also see the Detailed Description of QTableWidget)