From 2fe77b7349224267a65cfafe1058387a5d6a7535 Mon Sep 17 00:00:00 2001 From: Jordan Aurey <aurejordan@gmail.com> Date: Wed, 20 Mar 2019 10:00:22 +0100 Subject: [PATCH] =?UTF-8?q?Ui=20modifi=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/mainwindow.ui | 297 +++++++++++++++------------------------------- 1 file changed, 98 insertions(+), 199 deletions(-) diff --git a/app/mainwindow.ui b/app/mainwindow.ui index 87f93b0..5355607 100644 --- a/app/mainwindow.ui +++ b/app/mainwindow.ui @@ -77,218 +77,117 @@ </size> </property> <property name="currentIndex"> - <number>1</number> + <number>0</number> </property> <widget class="QWidget" name="tab"> <attribute name="title"> <string>Tasks</string> </attribute> - <widget class="QWidget" name="gridLayoutWidget"> - <property name="geometry"> - <rect> - <x>10</x> - <y>10</y> - <width>256</width> - <height>38</height> - </rect> - </property> - <layout class="QHBoxLayout" name="horizontalLayout_4"> - <property name="sizeConstraint"> - <enum>QLayout::SetMaximumSize</enum> - </property> - <item> - <widget class="QCommandLinkButton" name="commandLinkButton_6"> - <property name="minimumSize"> - <size> - <width>60</width> - <height>30</height> - </size> - </property> - <property name="text"> - <string>sendSignal</string> - </property> - </widget> - </item> - <item> - <widget class="QComboBox" name="comboBox"> - <property name="minimumSize"> - <size> - <width>80</width> - <height>30</height> - </size> - </property> - <item> - <property name="text"> - <string>Tree</string> - </property> - </item> - <item> - <property name="text"> - <string>List</string> + <layout class="QHBoxLayout" name="horizontalLayout_8"> + <item> + <layout class="QVBoxLayout" name="verticalLayout_4"> + <item> + <layout class="QHBoxLayout" name="horizontalLayout_4"> + <property name="sizeConstraint"> + <enum>QLayout::SetMaximumSize</enum> </property> - </item> - </widget> - </item> - </layout> - </widget> - <widget class="QWidget" name="gridLayoutWidget_3"> - <property name="geometry"> - <rect> - <x>40</x> - <y>340</y> - <width>411</width> - <height>361</height> - </rect> - </property> - <layout class="QGridLayout" name="gridLayout"> - <item row="0" column="0"> - <widget class="QGroupBox" name="groupBox_2"> - <property name="title"> - <string>ListView</string> - </property> - <layout class="QFormLayout" name="formLayout_3"> - <item row="0" column="0"> - <widget class="QListWidget" name="listWidget"/> + <item> + <widget class="QCommandLinkButton" name="commandLinkButton_6"> + <property name="minimumSize"> + <size> + <width>60</width> + <height>30</height> + </size> + </property> + <property name="text"> + <string>sendSignal</string> + </property> + </widget> + </item> + <item> + <widget class="QComboBox" name="comboBox"> + <property name="minimumSize"> + <size> + <width>80</width> + <height>30</height> + </size> + </property> + <item> + <property name="text"> + <string>Tree</string> + </property> + </item> + <item> + <property name="text"> + <string>List</string> + </property> + </item> + </widget> </item> </layout> - </widget> - </item> - </layout> - </widget> - <widget class="QGroupBox" name="groupBox"> - <property name="geometry"> - <rect> - <x>20</x> - <y>80</y> - <width>500</width> - <height>234</height> - </rect> - </property> - <property name="sizePolicy"> - <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="minimumSize"> - <size> - <width>500</width> - <height>200</height> - </size> - </property> - <property name="maximumSize"> - <size> - <width>1920</width> - <height>1080</height> - </size> - </property> - <property name="autoFillBackground"> - <bool>true</bool> - </property> - <property name="title"> - <string>TreeView</string> - </property> - <property name="flat"> - <bool>false</bool> - </property> - <layout class="QVBoxLayout" name="verticalLayout_3"> - <item> - <widget class="QTreeWidget" name="treeWidget"> - <property name="minimumSize"> - <size> - <width>300</width> - <height>150</height> - </size> - </property> - <column> - <property name="text"> - <string notr="true">1</string> - </property> - </column> - </widget> - </item> - </layout> - </widget> + </item> + <item> + <widget class="QListWidget" name="listWidget"/> + </item> + <item> + <widget class="QTreeView" name="treeView"/> + </item> + </layout> + </item> + </layout> </widget> <widget class="QWidget" name="tab2"> <attribute name="title"> <string>Services</string> </attribute> - <widget class="QListView" name="listView"> - <property name="geometry"> - <rect> - <x>40</x> - <y>110</y> - <width>256</width> - <height>192</height> - </rect> - </property> - </widget> - <widget class="QCommandLinkButton" name="commandLinkButton"> - <property name="geometry"> - <rect> - <x>20</x> - <y>20</y> - <width>71</width> - <height>31</height> - </rect> - </property> - <property name="text"> - <string>Start</string> - </property> - </widget> - <widget class="QCommandLinkButton" name="commandLinkButton_2"> - <property name="geometry"> - <rect> - <x>560</x> - <y>20</y> - <width>91</width> - <height>41</height> - </rect> - </property> - <property name="text"> - <string>Disable</string> - </property> - </widget> - <widget class="QCommandLinkButton" name="commandLinkButton_3"> - <property name="geometry"> - <rect> - <x>130</x> - <y>20</y> - <width>81</width> - <height>41</height> - </rect> - </property> - <property name="text"> - <string>Stop</string> - </property> - </widget> - <widget class="QCommandLinkButton" name="commandLinkButton_4"> - <property name="geometry"> - <rect> - <x>240</x> - <y>20</y> - <width>91</width> - <height>41</height> - </rect> - </property> - <property name="text"> - <string>Restart</string> - </property> - </widget> - <widget class="QCommandLinkButton" name="commandLinkButton_5"> - <property name="geometry"> - <rect> - <x>470</x> - <y>20</y> - <width>81</width> - <height>41</height> - </rect> - </property> - <property name="text"> - <string>Enable</string> - </property> - </widget> + <layout class="QHBoxLayout" name="horizontalLayout_7"> + <item> + <layout class="QVBoxLayout" name="verticalLayout_3"> + <item> + <layout class="QHBoxLayout" name="horizontalLayout_6"> + <item> + <widget class="QCommandLinkButton" name="commandLinkButton_3"> + <property name="text"> + <string>Stop</string> + </property> + </widget> + </item> + <item> + <widget class="QCommandLinkButton" name="commandLinkButton_4"> + <property name="text"> + <string>Restart</string> + </property> + </widget> + </item> + <item> + <widget class="QCommandLinkButton" name="commandLinkButton_2"> + <property name="text"> + <string>Disable</string> + </property> + </widget> + </item> + <item> + <widget class="QCommandLinkButton" name="commandLinkButton_5"> + <property name="text"> + <string>Enable</string> + </property> + </widget> + </item> + <item> + <widget class="QCommandLinkButton" name="commandLinkButton"> + <property name="text"> + <string>Start</string> + </property> + </widget> + </item> + </layout> + </item> + <item> + <widget class="QListView" name="listView"/> + </item> + </layout> + </item> + </layout> </widget> </widget> </item> -- GitLab