gui: add tree view and side widget

This commit is contained in:
august-alt 2021-05-13 16:05:57 +04:00
parent 01dd2386d4
commit 4fa9630470

View File

@ -13,7 +13,51 @@
<property name="windowTitle">
<string>MainWindow</string>
</property>
<widget class="QWidget" name="centralwidget"/>
<widget class="QWidget" name="centralwidget">
<layout class="QVBoxLayout" name="verticalLayout">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QSplitter" name="splitter">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>2</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<widget class="QTreeView" name="treeView">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
<widget class="QWidget" name="widget" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>2</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</widget>
</item>
</layout>
</widget>
<widget class="QMenuBar" name="menubar">
<property name="geometry">
<rect>
@ -121,7 +165,8 @@
</action>
<action name="actionGoUp">
<property name="icon">
<iconset theme="go-up"/>
<iconset theme="go-up">
<normaloff>.</normaloff>.</iconset>
</property>
<property name="text">
<string>Go &amp;Up</string>
@ -135,7 +180,8 @@
</action>
<action name="actionReload">
<property name="icon">
<iconset theme="reload"/>
<iconset theme="reload">
<normaloff>.</normaloff>.</iconset>
</property>
<property name="text">
<string>&amp;Reload</string>
@ -173,7 +219,8 @@
</action>
<action name="actionOptions">
<property name="icon">
<iconset theme="settings"/>
<iconset theme="settings">
<normaloff>.</normaloff>.</iconset>
</property>
<property name="text">
<string>&amp;Options</string>
@ -184,7 +231,8 @@
</action>
<action name="actionExit">
<property name="icon">
<iconset theme="exit"/>
<iconset theme="exit">
<normaloff>.</normaloff>.</iconset>
</property>
<property name="text">
<string>&amp;Exit</string>