setTableFlags(Tbl_autoScrollBars);
}
+QSize EmptyTable::sizeHint() const
+{
+ return QSize(cellsize * numCols(), cellsize * numRows());
+}
+
+
void EmptyTable::paintCell(QPainter *p, int row, int col)
{
int const x2 = cellWidth(col) - 1;
return;
setAutoUpdate(false);
setNumCols(nr_cols);
+ updateGeometry();
setAutoUpdate(true);
update();
emit colsChanged(nr_cols);
return;
setAutoUpdate(false);
setNumRows(nr_rows);
+ updateGeometry();
setAutoUpdate(true);
update();
emit rowsChanged(nr_rows);