void setRowHeight(int row, int height);
void setVerticalHeaderLabels(const QStringList &labels);
void setHorizontalHeaderLabels(const QStringList &labels);
horizontalHeader()->setDefaultSectionSize();
verticalHeader()->setDefaultSectionSize();
void clear();
void clearContents();
QTableWidget *table = new QTableWidget(this);
table->setRowCount(2);
table->setColumnCount(2);
for(int i = 0; i < 2; i++)
{
for(int j = 0; j < 2; j++)
{
QTableWidgetItem *item = new QTableWidgetItem;
item->setText(QString("%1").arg(i + j));
table->setItem(i, j, item);
}
}