QTableView resized automatically in a QVBoxLayout
General and Desktop
3
Posts
2
Posters
2.3k
Views
1
Watching
-
Hi!
If I understand correctly, you want to display table view full of cells as in for example in M$ Excel?
You can user function "QTableWidget::setRowCount(int rows)":http://qt-project.org/doc/qt-5.0/qtablewidget.html#rowCount-prop and "QTableWidget::setColumnCount(int columns)":http://qt-project.org/doc/qt-5.0/qtablewidget.html#columnCount-prop .Regards,
Jake