qnetdice

view ui/dicedialog.ui @ 0:0e9c16d77e47

initial commit
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 19 Dec 2013 13:34:40 +0200
parents
children
line source
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>DiceDialog</class>
4 <widget class="QDialog" name="DiceDialog">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>581</width>
10 <height>384</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>Dialog</string>
15 </property>
16 <layout class="QVBoxLayout" name="verticalLayout">
17 <item>
18 <layout class="QHBoxLayout" name="horizontalLayout">
19 <item>
20 <spacer name="horizontalSpacer">
21 <property name="orientation">
22 <enum>Qt::Horizontal</enum>
23 </property>
24 <property name="sizeHint" stdset="0">
25 <size>
26 <width>40</width>
27 <height>20</height>
28 </size>
29 </property>
30 </spacer>
31 </item>
32 <item>
33 <widget class="QSpinBox" name="spin_count">
34 <property name="toolTip">
35 <string>number of dice</string>
36 </property>
37 <property name="minimum">
38 <number>1</number>
39 </property>
40 <property name="maximum">
41 <number>100</number>
42 </property>
43 </widget>
44 </item>
45 <item>
46 <widget class="QComboBox" name="combo_type">
47 <property name="cursor">
48 <cursorShape>ArrowCursor</cursorShape>
49 </property>
50 <property name="toolTip">
51 <string>type of dice</string>
52 </property>
53 <property name="editable">
54 <bool>true</bool>
55 </property>
56 <property name="currentIndex">
57 <number>4</number>
58 </property>
59 <item>
60 <property name="text">
61 <string>d4</string>
62 </property>
63 </item>
64 <item>
65 <property name="text">
66 <string>d6</string>
67 </property>
68 </item>
69 <item>
70 <property name="text">
71 <string>d8</string>
72 </property>
73 </item>
74 <item>
75 <property name="text">
76 <string>d12</string>
77 </property>
78 </item>
79 <item>
80 <property name="text">
81 <string>d20</string>
82 </property>
83 </item>
84 <item>
85 <property name="text">
86 <string>d100</string>
87 </property>
88 </item>
89 </widget>
90 </item>
91 <item>
92 <spacer name="horizontalSpacer_2">
93 <property name="orientation">
94 <enum>Qt::Horizontal</enum>
95 </property>
96 <property name="sizeHint" stdset="0">
97 <size>
98 <width>40</width>
99 <height>20</height>
100 </size>
101 </property>
102 </spacer>
103 </item>
104 </layout>
105 </item>
106 <item>
107 <spacer name="verticalSpacer_2">
108 <property name="orientation">
109 <enum>Qt::Vertical</enum>
110 </property>
111 <property name="sizeHint" stdset="0">
112 <size>
113 <width>20</width>
114 <height>106</height>
115 </size>
116 </property>
117 </spacer>
118 </item>
119 <item>
120 <layout class="QHBoxLayout" name="horizontalLayout_2">
121 <item>
122 <spacer name="horizontalSpacer_3">
123 <property name="orientation">
124 <enum>Qt::Horizontal</enum>
125 </property>
126 <property name="sizeHint" stdset="0">
127 <size>
128 <width>40</width>
129 <height>20</height>
130 </size>
131 </property>
132 </spacer>
133 </item>
134 <item>
135 <widget class="QLineEdit" name="tx_dice"/>
136 </item>
137 <item>
138 <spacer name="horizontalSpacer_4">
139 <property name="orientation">
140 <enum>Qt::Horizontal</enum>
141 </property>
142 <property name="sizeHint" stdset="0">
143 <size>
144 <width>40</width>
145 <height>20</height>
146 </size>
147 </property>
148 </spacer>
149 </item>
150 </layout>
151 </item>
152 <item>
153 <spacer name="verticalSpacer">
154 <property name="orientation">
155 <enum>Qt::Vertical</enum>
156 </property>
157 <property name="sizeHint" stdset="0">
158 <size>
159 <width>20</width>
160 <height>106</height>
161 </size>
162 </property>
163 </spacer>
164 </item>
165 <item>
166 <widget class="QDialogButtonBox" name="buttonBox">
167 <property name="orientation">
168 <enum>Qt::Horizontal</enum>
169 </property>
170 <property name="standardButtons">
171 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
172 </property>
173 </widget>
174 </item>
175 </layout>
176 </widget>
177 <resources/>
178 <connections>
179 <connection>
180 <sender>buttonBox</sender>
181 <signal>accepted()</signal>
182 <receiver>DiceDialog</receiver>
183 <slot>accept()</slot>
184 <hints>
185 <hint type="sourcelabel">
186 <x>227</x>
187 <y>335</y>
188 </hint>
189 <hint type="destinationlabel">
190 <x>157</x>
191 <y>224</y>
192 </hint>
193 </hints>
194 </connection>
195 <connection>
196 <sender>buttonBox</sender>
197 <signal>rejected()</signal>
198 <receiver>DiceDialog</receiver>
199 <slot>reject()</slot>
200 <hints>
201 <hint type="sourcelabel">
202 <x>295</x>
203 <y>335</y>
204 </hint>
205 <hint type="destinationlabel">
206 <x>286</x>
207 <y>224</y>
208 </hint>
209 </hints>
210 </connection>
211 </connections>
212 </ui>