qnetdice

view ui/server.ui @ 1:92377189a5c6

moving along
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 22 Dec 2013 04:08:50 +0200
parents
children
line source
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>ServerDialog</class>
4 <widget class="QDialog" name="ServerDialog">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>378</width>
10 <height>233</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>Start server</string>
15 </property>
16 <layout class="QVBoxLayout" name="verticalLayout">
17 <item>
18 <layout class="QFormLayout" name="formLayout">
19 <item row="0" column="0">
20 <widget class="QLabel" name="label_2">
21 <property name="text">
22 <string>Port</string>
23 </property>
24 <property name="alignment">
25 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
26 </property>
27 </widget>
28 </item>
29 <item row="0" column="1">
30 <widget class="QLineEdit" name="tx_port"/>
31 </item>
32 <item row="1" column="0">
33 <widget class="QLabel" name="label">
34 <property name="text">
35 <string>Password</string>
36 </property>
37 <property name="alignment">
38 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
39 </property>
40 </widget>
41 </item>
42 <item row="1" column="1">
43 <widget class="QLineEdit" name="tx_passwd">
44 <property name="echoMode">
45 <enum>QLineEdit::PasswordEchoOnEdit</enum>
46 </property>
47 </widget>
48 </item>
49 </layout>
50 </item>
51 <item>
52 <spacer name="verticalSpacer">
53 <property name="orientation">
54 <enum>Qt::Vertical</enum>
55 </property>
56 <property name="sizeHint" stdset="0">
57 <size>
58 <width>20</width>
59 <height>113</height>
60 </size>
61 </property>
62 </spacer>
63 </item>
64 <item>
65 <layout class="QHBoxLayout" name="horizontalLayout">
66 <item>
67 <widget class="QPushButton" name="pushButton_2">
68 <property name="text">
69 <string>&amp;Cancel</string>
70 </property>
71 </widget>
72 </item>
73 <item>
74 <spacer name="horizontalSpacer">
75 <property name="orientation">
76 <enum>Qt::Horizontal</enum>
77 </property>
78 <property name="sizeHint" stdset="0">
79 <size>
80 <width>40</width>
81 <height>20</height>
82 </size>
83 </property>
84 </spacer>
85 </item>
86 <item>
87 <widget class="QPushButton" name="pushButton">
88 <property name="text">
89 <string>&amp;Start Server</string>
90 </property>
91 </widget>
92 </item>
93 </layout>
94 </item>
95 </layout>
96 </widget>
97 <resources/>
98 <connections>
99 <connection>
100 <sender>pushButton</sender>
101 <signal>clicked()</signal>
102 <receiver>ServerDialog</receiver>
103 <slot>accept()</slot>
104 <hints>
105 <hint type="sourcelabel">
106 <x>315</x>
107 <y>207</y>
108 </hint>
109 <hint type="destinationlabel">
110 <x>276</x>
111 <y>139</y>
112 </hint>
113 </hints>
114 </connection>
115 <connection>
116 <sender>pushButton_2</sender>
117 <signal>clicked()</signal>
118 <receiver>ServerDialog</receiver>
119 <slot>reject()</slot>
120 <hints>
121 <hint type="sourcelabel">
122 <x>70</x>
123 <y>204</y>
124 </hint>
125 <hint type="destinationlabel">
126 <x>23</x>
127 <y>137</y>
128 </hint>
129 </hints>
130 </connection>
131 </connections>
132 </ui>