Browse Source

Make table view and tree view resizeable

basic-view
Ali Hatami Tajik 6 months ago
parent
commit
8af822f449
  1. 25
      MainWindow.ui

25
MainWindow.ui

@ -26,10 +26,13 @@
<string>MainWindow</string> <string>MainWindow</string>
</property> </property>
<widget class="QWidget" name="widget"> <widget class="QWidget" name="widget">
<layout class="QVBoxLayout" name="verticalLayout_2"> <layout class="QVBoxLayout" name="verticalLayout">
<item> <item>
<layout class="QVBoxLayout" name="verticalLayout"> <widget class="QSplitter" name="splitter">
<item> <property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<widget class="QWidget" name="">
<layout class="QHBoxLayout" name="horizontalLayout"> <layout class="QHBoxLayout" name="horizontalLayout">
<item> <item>
<widget class="QLineEdit" name="lineEdit"/> <widget class="QLineEdit" name="lineEdit"/>
@ -49,14 +52,10 @@
</widget> </widget>
</item> </item>
</layout> </layout>
</item> </widget>
<item> <widget class="QTableView" name="tableView"/>
<widget class="QTableView" name="tableView"/> <widget class="QTreeView" name="treeView"/>
</item> </widget>
<item>
<widget class="QTreeView" name="treeView"/>
</item>
</layout>
</item> </item>
</layout> </layout>
</widget> </widget>
@ -79,7 +78,7 @@
<property name="title"> <property name="title">
<string>File</string> <string>File</string>
</property> </property>
<addaction name="action_2"/> <addaction name="actionOpen"/>
<addaction name="actionSave"/> <addaction name="actionSave"/>
<addaction name="actionSave_As"/> <addaction name="actionSave_As"/>
<addaction name="actionClose"/> <addaction name="actionClose"/>
@ -120,7 +119,7 @@
<bool>false</bool> <bool>false</bool>
</attribute> </attribute>
</widget> </widget>
<action name="action_2"> <action name="actionOpen">
<property name="text"> <property name="text">
<string>Open</string> <string>Open</string>
</property> </property>

Loading…
Cancel
Save