Commit 76830fb5 authored by Pino Toscano's avatar Pino Toscano

open & save ui file

simply open the ui file in designer and save it, so it is up-to-date
wrt the XML format, and there will be less differences on further
changes
parent bc7604ea
<ui version="4.0" > <?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>NameDialog</class> <class>NameDialog</class>
<widget class="QDialog" name="NameDialog" > <widget class="QDialog" name="NameDialog">
<property name="geometry" > <property name="geometry">
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
...@@ -9,44 +10,62 @@ ...@@ -9,44 +10,62 @@
<height>184</height> <height>184</height>
</rect> </rect>
</property> </property>
<property name="windowTitle" > <property name="windowTitle">
<string>Configure Names</string> <string>Configure Names</string>
</property> </property>
<layout class="QVBoxLayout" > <layout class="QVBoxLayout">
<property name="margin" > <property name="spacing">
<number>6</number>
</property>
<property name="leftMargin">
<number>9</number> <number>9</number>
</property> </property>
<property name="spacing" > <property name="topMargin">
<number>6</number> <number>9</number>
</property>
<property name="rightMargin">
<number>9</number>
</property>
<property name="bottomMargin">
<number>9</number>
</property> </property>
<item> <item>
<widget class="QGroupBox" name="groupBox" > <widget class="QGroupBox" name="groupBox">
<property name="title" > <property name="title">
<string>Player Names</string> <string>Player Names</string>
</property> </property>
<layout class="QGridLayout" > <layout class="QGridLayout">
<property name="margin" > <property name="leftMargin">
<number>9</number>
</property>
<property name="topMargin">
<number>9</number>
</property>
<property name="rightMargin">
<number>9</number>
</property>
<property name="bottomMargin">
<number>9</number> <number>9</number>
</property> </property>
<property name="spacing" > <property name="spacing">
<number>6</number> <number>6</number>
</property> </property>
<item row="1" column="1" > <item row="1" column="1">
<widget class="QLineEdit" name="editPlayer2" /> <widget class="QLineEdit" name="editPlayer2"/>
</item> </item>
<item row="0" column="1" > <item row="0" column="1">
<widget class="QLineEdit" name="editPlayer1" /> <widget class="QLineEdit" name="editPlayer1"/>
</item> </item>
<item row="0" column="0" > <item row="0" column="0">
<widget class="QLabel" name="label_1" > <widget class="QLabel" name="label_1">
<property name="text" > <property name="text">
<string>Player 1:</string> <string>Player 1:</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="0" > <item row="1" column="0">
<widget class="QLabel" name="label_2" > <widget class="QLabel" name="label_2">
<property name="text" > <property name="text">
<string>Player 2:</string> <string>Player 2:</string>
</property> </property>
</widget> </widget>
...@@ -55,19 +74,28 @@ ...@@ -55,19 +74,28 @@
</widget> </widget>
</item> </item>
<item> <item>
<layout class="QHBoxLayout" > <layout class="QHBoxLayout">
<property name="margin" > <property name="spacing">
<number>6</number>
</property>
<property name="leftMargin">
<number>0</number> <number>0</number>
</property> </property>
<property name="spacing" > <property name="topMargin">
<number>6</number> <number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property> </property>
<item> <item>
<spacer> <spacer>
<property name="orientation" > <property name="orientation">
<enum>Qt::Horizontal</enum> <enum>Qt::Horizontal</enum>
</property> </property>
<property name="sizeHint" > <property name="sizeHint" stdset="0">
<size> <size>
<width>31</width> <width>31</width>
<height>31</height> <height>31</height>
...@@ -76,15 +104,15 @@ ...@@ -76,15 +104,15 @@
</spacer> </spacer>
</item> </item>
<item> <item>
<widget class="QPushButton" name="okButton" > <widget class="QPushButton" name="okButton">
<property name="text" > <property name="text">
<string>OK</string> <string>OK</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QPushButton" name="cancelButton" > <widget class="QPushButton" name="cancelButton">
<property name="text" > <property name="text">
<string>Cancel</string> <string>Cancel</string>
</property> </property>
</widget> </widget>
...@@ -101,11 +129,11 @@ ...@@ -101,11 +129,11 @@
<receiver>NameDialog</receiver> <receiver>NameDialog</receiver>
<slot>accept()</slot> <slot>accept()</slot>
<hints> <hints>
<hint type="sourcelabel" > <hint type="sourcelabel">
<x>95</x> <x>95</x>
<y>158</y> <y>158</y>
</hint> </hint>
<hint type="destinationlabel" > <hint type="destinationlabel">
<x>119</x> <x>119</x>
<y>91</y> <y>91</y>
</hint> </hint>
...@@ -117,11 +145,11 @@ ...@@ -117,11 +145,11 @@
<receiver>NameDialog</receiver> <receiver>NameDialog</receiver>
<slot>reject()</slot> <slot>reject()</slot>
<hints> <hints>
<hint type="sourcelabel" > <hint type="sourcelabel">
<x>186</x> <x>186</x>
<y>158</y> <y>158</y>
</hint> </hint>
<hint type="destinationlabel" > <hint type="destinationlabel">
<x>119</x> <x>119</x>
<y>91</y> <y>91</y>
</hint> </hint>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment