Modified ui for resizable widgets

This commit is contained in:
Parona 2020-08-19 02:23:50 +03:00
parent ddeda5fae4
commit f8c7475842
1 changed files with 54 additions and 32 deletions

View File

@ -6,39 +6,61 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>1023</width> <width>1000</width>
<height>720</height> <height>654</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
<string>MainWindow</string> <string>MainWindow</string>
</property> </property>
<widget class="QWidget" name="centralwidget"> <widget class="QWidget" name="centralwidget">
<layout class="QVBoxLayout" name="verticalLayout"> <property name="enabled">
<item> <bool>true</bool>
<layout class="QHBoxLayout" name="horizontalLayout"> </property>
<item> <property name="minimumSize">
<size>
<width>700</width>
<height>500</height>
</size>
</property>
<property name="acceptDrops">
<bool>false</bool>
</property>
<property name="autoFillBackground">
<bool>false</bool>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QSplitter" name="splitter_2">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<widget class="QSplitter" name="splitter">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<widget class="QTreeWidget" name="treeWidget"> <widget class="QTreeWidget" name="treeWidget">
<property name="sizeAdjustPolicy">
<enum>QAbstractScrollArea::AdjustToContents</enum>
</property>
<column> <column>
<property name="text"> <property name="text">
<string notr="true">1</string> <string notr="true">1</string>
</property> </property>
</column> </column>
</widget> </widget>
</item>
<item>
<widget class="QTabWidget" name="tabWidget"> <widget class="QTabWidget" name="tabWidget">
<property name="minimumSize"> <property name="sizePolicy">
<size> <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<width>500</width> <horstretch>0</horstretch>
<height>500</height> <verstretch>0</verstretch>
</size> </sizepolicy>
</property>
<property name="baseSize">
<size>
<width>500</width>
<height>500</height>
</size>
</property> </property>
<property name="currentIndex"> <property name="currentIndex">
<number>0</number> <number>0</number>
@ -47,9 +69,9 @@
<attribute name="title"> <attribute name="title">
<string>Tab 1</string> <string>Tab 1</string>
</attribute> </attribute>
<layout class="QGridLayout" name="gridLayout"> <layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="0"> <item row="0" column="0">
<widget class="QTextBrowser" name="textBrowser_2"/> <widget class="QTextEdit" name="textEdit"/>
</item> </item>
</layout> </layout>
</widget> </widget>
@ -57,21 +79,21 @@
<attribute name="title"> <attribute name="title">
<string>Tab 2</string> <string>Tab 2</string>
</attribute> </attribute>
<layout class="QGridLayout" name="gridLayout_2"> <layout class="QGridLayout" name="gridLayout_3">
<item row="0" column="0"> <item row="0" column="0">
<widget class="QTextBrowser" name="textBrowser_3"/> <widget class="QTextEdit" name="textEdit_2"/>
</item> </item>
</layout> </layout>
</widget> </widget>
</widget> </widget>
</item> <widget class="QListWidget" name="listWidget">
<item alignment="Qt::AlignRight"> <property name="sizeAdjustPolicy">
<widget class="QListWidget" name="listWidget"/> <enum>QAbstractScrollArea::AdjustToContents</enum>
</item> </property>
</layout> </widget>
</item> </widget>
<item alignment="Qt::AlignBottom"> <widget class="QTextBrowser" name="textBrowser"/>
<widget class="QTextBrowser" name="textBrowser"/> </widget>
</item> </item>
</layout> </layout>
</widget> </widget>
@ -80,7 +102,7 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>1023</width> <width>1000</width>
<height>18</height> <height>18</height>
</rect> </rect>
</property> </property>