UI restyling

Try to use up less space, in case users have smaller screens.
master
Salvo 'LtWorf' Tomaselli 2015-06-07 13:38:50 +07:00
parent 3060a8562f
commit 0aacdefade
1 changed files with 507 additions and 721 deletions

@ -8,20 +8,15 @@
<x>0</x>
<y>0</y>
<width>800</width>
<height>669</height>
<height>671</height>
</rect>
</property>
<property name="windowTitle">
<string>Relational</string>
</property>
<widget class="QWidget" name="centralwidget">
<layout class="QVBoxLayout" name="verticalLayout_7">
<layout class="QHBoxLayout" name="horizontalLayout_4">
<item>
<widget class="QSplitter" name="splitter_4">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<widget class="QWidget" name="layoutWidget">
<layout class="QVBoxLayout" name="verticalLayout_11">
<item>
<widget class="QGroupBox" name="groupBox_3">
@ -47,13 +42,7 @@
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupOperators">
<property name="title">
<string/>
</property>
<property name="flat">
<bool>true</bool>
</property>
<widget class="QFrame" name="groupOperators">
<layout class="QVBoxLayout" name="verticalLayout_10">
<item>
<widget class="QPushButton" name="cmdProduct">
@ -199,7 +188,10 @@
</widget>
</item>
</layout>
</widget>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QSplitter" name="splitter_3">
<property name="orientation">
<enum>Qt::Horizontal</enum>
@ -378,7 +370,7 @@
<property name="title">
<string>Relations</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<layout class="QVBoxLayout" name="verticalLayout_7">
<item>
<widget class="QListWidget" name="lstRelations">
<property name="sizePolicy">
@ -399,40 +391,44 @@
</widget>
</item>
<item>
<widget class="QPushButton" name="cmdNew">
<property name="text">
<string>New relation</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="cmdLoad">
<property name="text">
<string>Load relation</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="cmdSave">
<property name="text">
<string>Save relation</string>
</property>
</widget>
</item>
<item>
<layout class="QGridLayout" name="gridLayout">
<item row="1" column="1">
<widget class="QPushButton" name="cmdEdit">
<property name="text">
<string>Edit relation</string>
<string>Edit</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="cmdUnload">
<item row="0" column="0">
<widget class="QPushButton" name="cmdLoad">
<property name="text">
<string>Unload relation</string>
<string>Load</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QPushButton" name="cmdSave">
<property name="text">
<string>Save</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QPushButton" name="cmdNew">
<property name="text">
<string>New</string>
</property>
</widget>
</item>
<item row="2" column="0" colspan="2">
<widget class="QPushButton" name="cmdUnload">
<property name="text">
<string>Unload</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
<widget class="QGroupBox" name="groupBox_2">
@ -472,7 +468,6 @@
</widget>
</widget>
</widget>
</widget>
</item>
<item>
<widget class="QFrame" name="lineExpressionFrame">
@ -536,6 +531,8 @@
</widget>
</item>
</layout>
</item>
</layout>
</widget>
<widget class="QMenuBar" name="menubar">
<property name="geometry">
@ -698,9 +695,6 @@
<tabstop>cmdClearMultilineQuery</tabstop>
<tabstop>cmdExecuteMultiline</tabstop>
<tabstop>lstRelations</tabstop>
<tabstop>cmdNew</tabstop>
<tabstop>cmdLoad</tabstop>
<tabstop>cmdSave</tabstop>
<tabstop>cmdEdit</tabstop>
<tabstop>cmdUnload</tabstop>
<tabstop>lstAttributes</tabstop>
@ -743,102 +737,6 @@
</hint>
</hints>
</connection>
<connection>
<sender>cmdProduct</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>addProduct()</slot>
<hints>
<hint type="sourcelabel">
<x>53</x>
<y>166</y>
</hint>
<hint type="destinationlabel">
<x>180</x>
<y>611</y>
</hint>
</hints>
</connection>
<connection>
<sender>cmdDifference</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>addDifference()</slot>
<hints>
<hint type="sourcelabel">
<x>94</x>
<y>193</y>
</hint>
<hint type="destinationlabel">
<x>46</x>
<y>611</y>
</hint>
</hints>
</connection>
<connection>
<sender>cmdArrow</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>addArrow()</slot>
<hints>
<hint type="sourcelabel">
<x>101</x>
<y>538</y>
</hint>
<hint type="destinationlabel">
<x>58</x>
<y>608</y>
</hint>
</hints>
</connection>
<connection>
<sender>cmdRename</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>addRename()</slot>
<hints>
<hint type="sourcelabel">
<x>69</x>
<y>507</y>
</hint>
<hint type="destinationlabel">
<x>111</x>
<y>611</y>
</hint>
</hints>
</connection>
<connection>
<sender>cmdSelection</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>addSelection()</slot>
<hints>
<hint type="sourcelabel">
<x>99</x>
<y>476</y>
</hint>
<hint type="destinationlabel">
<x>16</x>
<y>611</y>
</hint>
</hints>
</connection>
<connection>
<sender>cmdProjection</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>addProjection()</slot>
<hints>
<hint type="sourcelabel">
<x>101</x>
<y>445</y>
</hint>
<hint type="destinationlabel">
<x>91</x>
<y>597</y>
</hint>
</hints>
</connection>
<connection>
<sender>cmdUnload</sender>
<signal>clicked()</signal>
@ -887,118 +785,6 @@
</hint>
</hints>
</connection>
<connection>
<sender>cmdOuterRight</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>addORight()</slot>
<hints>
<hint type="sourcelabel">
<x>101</x>
<y>383</y>
</hint>
<hint type="destinationlabel">
<x>58</x>
<y>611</y>
</hint>
</hints>
</connection>
<connection>
<sender>cmdOuter</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>addOuter()</slot>
<hints>
<hint type="sourcelabel">
<x>61</x>
<y>414</y>
</hint>
<hint type="destinationlabel">
<x>86</x>
<y>611</y>
</hint>
</hints>
</connection>
<connection>
<sender>cmdOuterLeft</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>addOLeft()</slot>
<hints>
<hint type="sourcelabel">
<x>44</x>
<y>328</y>
</hint>
<hint type="destinationlabel">
<x>66</x>
<y>611</y>
</hint>
</hints>
</connection>
<connection>
<sender>cmdJoin</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>addJoin()</slot>
<hints>
<hint type="sourcelabel">
<x>101</x>
<y>321</y>
</hint>
<hint type="destinationlabel">
<x>147</x>
<y>611</y>
</hint>
</hints>
</connection>
<connection>
<sender>cmdDivision</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>addDivision()</slot>
<hints>
<hint type="sourcelabel">
<x>71</x>
<y>272</y>
</hint>
<hint type="destinationlabel">
<x>185</x>
<y>611</y>
</hint>
</hints>
</connection>
<connection>
<sender>cmdIntersection</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>addIntersection()</slot>
<hints>
<hint type="sourcelabel">
<x>99</x>
<y>244</y>
</hint>
<hint type="destinationlabel">
<x>228</x>
<y>611</y>
</hint>
</hints>
</connection>
<connection>
<sender>cmdUnion</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>addUnion()</slot>
<hints>
<hint type="sourcelabel">
<x>32</x>
<y>220</y>
</hint>
<hint type="destinationlabel">
<x>279</x>
<y>611</y>
</hint>
</hints>
</connection>
<connection>
<sender>lstRelations</sender>
<signal>itemDoubleClicked(QListWidgetItem*)</signal>