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>
<widget class="QDialog" name="NameDialog" >
<property name="geometry" >
<widget class="QDialog" name="NameDialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
......@@ -9,44 +10,62 @@
<height>184</height>
</rect>
</property>
<property name="windowTitle" >
<property name="windowTitle">
<string>Configure Names</string>
</property>
<layout class="QVBoxLayout" >
<property name="margin" >
<layout class="QVBoxLayout">
<property name="spacing">
<number>6</number>
</property>
<property name="leftMargin">
<number>9</number>
</property>
<property name="spacing" >
<number>6</number>
<property name="topMargin">
<number>9</number>
</property>
<property name="rightMargin">
<number>9</number>
</property>
<property name="bottomMargin">
<number>9</number>
</property>
<item>
<widget class="QGroupBox" name="groupBox" >
<property name="title" >
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>Player Names</string>
</property>
<layout class="QGridLayout" >
<property name="margin" >
<layout class="QGridLayout">
<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>
</property>
<property name="spacing" >
<property name="spacing">
<number>6</number>
</property>
<item row="1" column="1" >
<widget class="QLineEdit" name="editPlayer2" />
<item row="1" column="1">
<widget class="QLineEdit" name="editPlayer2"/>
</item>
<item row="0" column="1" >
<widget class="QLineEdit" name="editPlayer1" />
<item row="0" column="1">
<widget class="QLineEdit" name="editPlayer1"/>
</item>
<item row="0" column="0" >
<widget class="QLabel" name="label_1" >
<property name="text" >
<item row="0" column="0">
<widget class="QLabel" name="label_1">
<property name="text">
<string>Player 1:</string>
</property>
</widget>
</item>
<item row="1" column="0" >
<widget class="QLabel" name="label_2" >
<property name="text" >
<item row="1" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Player 2:</string>
</property>
</widget>
......@@ -55,19 +74,28 @@
</widget>
</item>
<item>
<layout class="QHBoxLayout" >
<property name="margin" >
<layout class="QHBoxLayout">
<property name="spacing">
<number>6</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="spacing" >
<number>6</number>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<spacer>
<property name="orientation" >
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" >
<property name="sizeHint" stdset="0">
<size>
<width>31</width>
<height>31</height>
......@@ -76,15 +104,15 @@
</spacer>
</item>
<item>
<widget class="QPushButton" name="okButton" >
<property name="text" >
<widget class="QPushButton" name="okButton">
<property name="text">
<string>OK</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="cancelButton" >
<property name="text" >
<widget class="QPushButton" name="cancelButton">
<property name="text">
<string>Cancel</string>
</property>
</widget>
......@@ -101,11 +129,11 @@
<receiver>NameDialog</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel" >
<hint type="sourcelabel">
<x>95</x>
<y>158</y>
</hint>
<hint type="destinationlabel" >
<hint type="destinationlabel">
<x>119</x>
<y>91</y>
</hint>
......@@ -117,11 +145,11 @@
<receiver>NameDialog</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel" >
<hint type="sourcelabel">
<x>186</x>
<y>158</y>
</hint>
<hint type="destinationlabel" >
<hint type="destinationlabel">
<x>119</x>
<y>91</y>
</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