Add row number column in model instead of vertical header

THis is because the column can be sorted but the header not.
This commit is contained in:
eelke 2022-04-02 13:55:24 +02:00
parent 1ab119c29a
commit f492c8f9bc
3 changed files with 37 additions and 12 deletions

View file

@ -15,7 +15,11 @@
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QTableView" name="tableView"/>
<widget class="QTableView" name="tableView">
<attribute name="verticalHeaderVisible">
<bool>false</bool>
</attribute>
</widget>
</item>
</layout>
<action name="actionRemove_rows">