First step in using HorizontalProxyModel to show selected row in properties table.
HorizontalProxyModel now inherits from QIdentityProxyModel which provides a more complete base implementation (maybe to much?) for now it seems to do what we want, forward relevant signals which the abstract base didn't. Issues: Properties table needs formatting and shows all rows as columns instead of values of a single row.
This commit is contained in:
parent
49f009bdf9
commit
3080523b0d
4 changed files with 16 additions and 7 deletions
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>TablesPage</class>
|
||||
<widget class="QWidget" name="TablesPage">
|
||||
|
|
@ -13,7 +13,7 @@
|
|||
<property name="windowTitle">
|
||||
<string>Form</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_3">
|
||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||
<item>
|
||||
<widget class="QSplitter" name="splitter">
|
||||
<property name="orientation">
|
||||
|
|
@ -38,7 +38,7 @@
|
|||
</widget>
|
||||
<widget class="QTabWidget" name="tabWidget">
|
||||
<property name="currentIndex">
|
||||
<number>0</number>
|
||||
<number>3</number>
|
||||
</property>
|
||||
<widget class="QWidget" name="columnsTab">
|
||||
<attribute name="title">
|
||||
|
|
@ -90,6 +90,11 @@
|
|||
<attribute name="title">
|
||||
<string>Properties</string>
|
||||
</attribute>
|
||||
<layout class="QVBoxLayout" name="verticalLayoutProperties">
|
||||
<item>
|
||||
<widget class="QTableView" name="tablePropertiesTable"/>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="QWidget" name="statisticsTab">
|
||||
<attribute name="title">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue