Make the form a bit better.

HEAD
Simon Quigley 6 years ago
parent ab293880a2
commit 40e573ec71

@ -6,20 +6,20 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>650</width> <width>630</width>
<height>425</height> <height>425</height>
</rect> </rect>
</property> </property>
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>650</width> <width>625</width>
<height>425</height> <height>425</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>650</width> <width>630</width>
<height>425</height> <height>430</height>
</size> </size>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
@ -29,8 +29,21 @@
<iconset resource="main.qrc"> <iconset resource="main.qrc">
<normaloff>:/images/Lubuntu.png</normaloff>:/images/Lubuntu.png</iconset> <normaloff>:/images/Lubuntu.png</normaloff>:/images/Lubuntu.png</iconset>
</property> </property>
<layout class="QGridLayout" name="gridLayout_2"> <layout class="QVBoxLayout" name="verticalLayout">
<item row="1" column="1"> <item>
<spacer name="verticalSpacer_2">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QWidget" name="mainform" native="true"> <widget class="QWidget" name="mainform" native="true">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
@ -44,9 +57,9 @@
<height>400</height> <height>400</height>
</size> </size>
</property> </property>
<layout class="QGridLayout" name="gridLayout"> <layout class="QVBoxLayout" name="verticalLayout_2">
<item row="5" column="0"> <item>
<spacer name="verticalSpacer3"> <spacer name="verticalSpacer2">
<property name="orientation"> <property name="orientation">
<enum>Qt::Vertical</enum> <enum>Qt::Vertical</enum>
</property> </property>
@ -58,69 +71,7 @@
</property> </property>
</spacer> </spacer>
</item> </item>
<item row="11" column="0" colspan="4"> <item>
<layout class="QHBoxLayout" name="buttonslayout">
<item>
<widget class="QPushButton" name="translation">
<property name="minimumSize">
<size>
<width>100</width>
<height>30</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>100</width>
<height>30</height>
</size>
</property>
<property name="text">
<string>Translation</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="license">
<property name="minimumSize">
<size>
<width>100</width>
<height>30</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>100</width>
<height>30</height>
</size>
</property>
<property name="text">
<string>License</string>
</property>
</widget>
</item>
<item>
<spacer name="buttonspacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QDialogButtonBox" name="close">
<property name="standardButtons">
<set>QDialogButtonBox::Close</set>
</property>
</widget>
</item>
</layout>
</item>
<item row="1" column="0" rowspan="4" colspan="4">
<layout class="QGridLayout" name="itemcontainer"> <layout class="QGridLayout" name="itemcontainer">
<item row="0" column="0"> <item row="0" column="0">
<layout class="QHBoxLayout" name="logoandtextlayout"> <layout class="QHBoxLayout" name="logoandtextlayout">
@ -190,34 +141,8 @@
</item> </item>
</layout> </layout>
</item> </item>
<item row="10" column="0"> <item>
<widget class="Line" name="line"> <spacer name="verticalSpacer3">
<property name="minimumSize">
<size>
<width>800</width>
<height>0</height>
</size>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item row="0" column="0">
<spacer name="verticalSpacer2">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
<item row="9" column="0">
<spacer name="verticalSpacer1">
<property name="orientation"> <property name="orientation">
<enum>Qt::Vertical</enum> <enum>Qt::Vertical</enum>
</property> </property>
@ -229,7 +154,7 @@
</property> </property>
</spacer> </spacer>
</item> </item>
<item row="8" column="0"> <item>
<layout class="QVBoxLayout" name="specs"> <layout class="QVBoxLayout" name="specs">
<item> <item>
<layout class="QHBoxLayout" name="hostname"> <layout class="QHBoxLayout" name="hostname">
@ -282,7 +207,8 @@
<string/> <string/>
</property> </property>
<property name="icon"> <property name="icon">
<iconset theme="computer"/> <iconset theme="computer">
<normaloff>.</normaloff>.</iconset>
</property> </property>
<property name="iconSize"> <property name="iconSize">
<size> <size>
@ -343,7 +269,8 @@
<string/> <string/>
</property> </property>
<property name="icon"> <property name="icon">
<iconset theme="cpu"/> <iconset theme="cpu">
<normaloff>.</normaloff>.</iconset>
</property> </property>
<property name="iconSize"> <property name="iconSize">
<size> <size>
@ -395,7 +322,8 @@
<string/> <string/>
</property> </property>
<property name="icon"> <property name="icon">
<iconset theme="media-flash"/> <iconset theme="media-flash">
<normaloff>.</normaloff>.</iconset>
</property> </property>
<property name="iconSize"> <property name="iconSize">
<size> <size>
@ -447,7 +375,8 @@
<string/> <string/>
</property> </property>
<property name="icon"> <property name="icon">
<iconset theme="video-display"/> <iconset theme="video-display">
<normaloff>.</normaloff>.</iconset>
</property> </property>
<property name="iconSize"> <property name="iconSize">
<size> <size>
@ -493,10 +422,116 @@
</item> </item>
</layout> </layout>
</item> </item>
<item>
<spacer name="verticalSpacer1">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="Line" name="line">
<property name="minimumSize">
<size>
<width>800</width>
<height>0</height>
</size>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="buttonslayout">
<item>
<widget class="QPushButton" name="translation">
<property name="minimumSize">
<size>
<width>100</width>
<height>30</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>100</width>
<height>30</height>
</size>
</property>
<property name="text">
<string>Translation</string>
</property>
<property name="autoDefault">
<bool>false</bool>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="license">
<property name="minimumSize">
<size>
<width>100</width>
<height>30</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>100</width>
<height>30</height>
</size>
</property>
<property name="text">
<string>License</string>
</property>
<property name="autoDefault">
<bool>false</bool>
</property>
</widget>
</item>
<item>
<spacer name="buttonspacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="close">
<property name="minimumSize">
<size>
<width>100</width>
<height>30</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>100</width>
<height>30</height>
</size>
</property>
<property name="text">
<string>Close</string>
</property>
</widget>
</item>
</layout>
</item>
</layout> </layout>
</widget> </widget>
</item> </item>
<item row="2" column="1"> <item>
<spacer name="verticalSpacer"> <spacer name="verticalSpacer">
<property name="orientation"> <property name="orientation">
<enum>Qt::Vertical</enum> <enum>Qt::Vertical</enum>
@ -509,45 +544,6 @@
</property> </property>
</spacer> </spacer>
</item> </item>
<item row="1" column="2">
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="0">
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="0" column="1">
<spacer name="verticalSpacer_2">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout> </layout>
</widget> </widget>
<resources> <resources>
@ -556,17 +552,17 @@
<connections> <connections>
<connection> <connection>
<sender>close</sender> <sender>close</sender>
<signal>clicked(QAbstractButton*)</signal> <signal>clicked()</signal>
<receiver>Dialog</receiver> <receiver>Dialog</receiver>
<slot>close()</slot> <slot>close()</slot>
<hints> <hints>
<hint type="sourcelabel"> <hint type="sourcelabel">
<x>509</x> <x>564</x>
<y>387</y> <y>389</y>
</hint> </hint>
<hint type="destinationlabel"> <hint type="destinationlabel">
<x>299</x> <x>324</x>
<y>199</y> <y>212</y>
</hint> </hint>
</hints> </hints>
</connection> </connection>

Loading…
Cancel
Save