I have QTableView
and QAbstractTableModel
. I require rows to have height equal to 24. I know the only way to do this is by calling QTableView::setRowHeight
. Since the model is dynamic it may be added new rows, but I don't want to call setRowHeight
each time new row is added.
How can I configure QTableView
such that it uses the same height for new added rows or can a model be sent the height of rows?