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:
parent
1ab119c29a
commit
f492c8f9bc
3 changed files with 37 additions and 12 deletions
|
|
@ -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">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue