source: sasview/src/sas/qtgui/UI/BoxSumUI.ui @ e712ca5

ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalc
Last change on this file since e712ca5 was e712ca5, checked in by Piotr Rozyczko <rozyczko@…>, 7 years ago

Code review fixes to the BoxSum? dialog

  • Property mode set to 100755
File size: 12.8 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<ui version="4.0">
3 <class>BoxSumUI</class>
4 <widget class="QDialog" name="BoxSumUI">
5  <property name="geometry">
6   <rect>
7    <x>0</x>
8    <y>0</y>
9    <width>447</width>
10    <height>315</height>
11   </rect>
12  </property>
13  <property name="sizePolicy">
14   <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
15    <horstretch>0</horstretch>
16    <verstretch>0</verstretch>
17   </sizepolicy>
18  </property>
19  <property name="windowTitle">
20   <string>Box Sum</string>
21  </property>
22  <property name="windowIcon">
23   <iconset resource="main_resources.qrc">
24    <normaloff>:/res/ball.ico</normaloff>:/res/ball.ico</iconset>
25  </property>
26  <layout class="QGridLayout" name="gridLayout_7">
27   <item row="0" column="0" colspan="2">
28    <widget class="QGroupBox" name="groupBox">
29     <property name="title">
30      <string>Box dimensions</string>
31     </property>
32     <layout class="QGridLayout" name="gridLayout_4">
33      <item row="0" column="0">
34       <layout class="QGridLayout" name="gridLayout_3">
35        <item row="0" column="0">
36         <widget class="QGroupBox" name="groupBox_4">
37          <property name="title">
38           <string>Box size</string>
39          </property>
40          <layout class="QGridLayout" name="gridLayout">
41           <item row="0" column="0">
42            <widget class="QLabel" name="label">
43             <property name="toolTip">
44              <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Height of the box.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
45             </property>
46             <property name="text">
47              <string>Height</string>
48             </property>
49            </widget>
50           </item>
51           <item row="0" column="1">
52            <widget class="QLineEdit" name="txtBoxHeight">
53             <property name="toolTip">
54              <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Height of the box.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
55             </property>
56            </widget>
57           </item>
58           <item row="0" column="2">
59            <widget class="QLabel" name="label_10">
60             <property name="text">
61              <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;A&lt;span style=&quot; vertical-align:super;&quot;&gt;-1&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
62             </property>
63            </widget>
64           </item>
65           <item row="1" column="0">
66            <widget class="QLabel" name="label_2">
67             <property name="toolTip">
68              <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Width of the box.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
69             </property>
70             <property name="text">
71              <string>Width</string>
72             </property>
73            </widget>
74           </item>
75           <item row="1" column="1">
76            <widget class="QLineEdit" name="txtBoxWidth">
77             <property name="toolTip">
78              <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Width of the box.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
79             </property>
80            </widget>
81           </item>
82           <item row="1" column="2">
83            <widget class="QLabel" name="label_11">
84             <property name="text">
85              <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;A&lt;span style=&quot; vertical-align:super;&quot;&gt;-1&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
86             </property>
87            </widget>
88           </item>
89          </layout>
90         </widget>
91        </item>
92        <item row="0" column="1">
93         <widget class="QGroupBox" name="groupBox_2">
94          <property name="title">
95           <string>Box center</string>
96          </property>
97          <layout class="QGridLayout" name="gridLayout_2">
98           <item row="0" column="0">
99            <widget class="QLabel" name="label_3">
100             <property name="toolTip">
101              <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;X coordinate of the center of the box.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
102             </property>
103             <property name="text">
104              <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Q&lt;span style=&quot; vertical-align:sub;&quot;&gt;X&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
105             </property>
106            </widget>
107           </item>
108           <item row="0" column="1">
109            <widget class="QLineEdit" name="txtCenterX">
110             <property name="toolTip">
111              <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;X coordinate of the center of the box.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
112             </property>
113            </widget>
114           </item>
115           <item row="0" column="2">
116            <widget class="QLabel" name="label_13">
117             <property name="text">
118              <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;A&lt;span style=&quot; vertical-align:super;&quot;&gt;-1&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
119             </property>
120            </widget>
121           </item>
122           <item row="1" column="0">
123            <widget class="QLabel" name="label_4">
124             <property name="toolTip">
125              <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Y coordinate of the center of the box.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
126             </property>
127             <property name="text">
128              <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Q&lt;span style=&quot; vertical-align:sub;&quot;&gt;Y&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
129             </property>
130            </widget>
131           </item>
132           <item row="1" column="1">
133            <widget class="QLineEdit" name="txtCenterY">
134             <property name="toolTip">
135              <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Y coordinate of the center of the box.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
136             </property>
137             <property name="text">
138              <string/>
139             </property>
140            </widget>
141           </item>
142           <item row="1" column="2">
143            <widget class="QLabel" name="label_12">
144             <property name="text">
145              <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;A&lt;span style=&quot; vertical-align:super;&quot;&gt;-1&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
146             </property>
147            </widget>
148           </item>
149          </layout>
150         </widget>
151        </item>
152       </layout>
153      </item>
154     </layout>
155    </widget>
156   </item>
157   <item row="1" column="0" colspan="2">
158    <widget class="QGroupBox" name="groupBox_3">
159     <property name="title">
160      <string>Box parameters</string>
161     </property>
162     <layout class="QGridLayout" name="gridLayout_5">
163      <item row="0" column="0">
164       <layout class="QFormLayout" name="formLayout">
165        <item row="0" column="0">
166         <widget class="QLabel" name="label_5">
167          <property name="toolTip">
168           <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Average point count in selected region.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
169          </property>
170          <property name="text">
171           <string>Avg:</string>
172          </property>
173         </widget>
174        </item>
175        <item row="0" column="1">
176         <widget class="QLabel" name="lblAvg">
177          <property name="toolTip">
178           <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Average point count in selected region.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
179          </property>
180          <property name="text">
181           <string>TextLabel</string>
182          </property>
183         </widget>
184        </item>
185        <item row="1" column="0">
186         <widget class="QLabel" name="label_6">
187          <property name="toolTip">
188           <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Error of average point count in selected region.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
189          </property>
190          <property name="text">
191           <string>Avg error:</string>
192          </property>
193         </widget>
194        </item>
195        <item row="1" column="1">
196         <widget class="QLabel" name="lblAvgErr">
197          <property name="toolTip">
198           <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Error of average point count in selected region.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
199          </property>
200          <property name="text">
201           <string>TextLabel</string>
202          </property>
203         </widget>
204        </item>
205        <item row="2" column="0">
206         <widget class="QLabel" name="label_7">
207          <property name="toolTip">
208           <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Total number of points in the selected region.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
209          </property>
210          <property name="text">
211           <string>Num. of points:</string>
212          </property>
213         </widget>
214        </item>
215        <item row="2" column="1">
216         <widget class="QLabel" name="lblNumPoints">
217          <property name="toolTip">
218           <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Total number of points in the selected region.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
219          </property>
220          <property name="text">
221           <string>TextLabel</string>
222          </property>
223         </widget>
224        </item>
225        <item row="3" column="0">
226         <widget class="QLabel" name="label_8">
227          <property name="toolTip">
228           <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Sum of point intensities for all points in the selected region.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
229          </property>
230          <property name="text">
231           <string>Sum:</string>
232          </property>
233         </widget>
234        </item>
235        <item row="3" column="1">
236         <widget class="QLabel" name="lblSum">
237          <property name="toolTip">
238           <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Sum of point intensities for all points in the selected region.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
239          </property>
240          <property name="text">
241           <string>TextLabel</string>
242          </property>
243         </widget>
244        </item>
245        <item row="4" column="0">
246         <widget class="QLabel" name="label_9">
247          <property name="toolTip">
248           <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Error of point intensity sum for all points in the selected region.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
249          </property>
250          <property name="text">
251           <string>Sum error:</string>
252          </property>
253         </widget>
254        </item>
255        <item row="4" column="1">
256         <widget class="QLabel" name="lblSumErr">
257          <property name="toolTip">
258           <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Error of point intensity sum for all points in the selected region.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
259          </property>
260          <property name="text">
261           <string>TextLabel</string>
262          </property>
263         </widget>
264        </item>
265       </layout>
266      </item>
267     </layout>
268    </widget>
269   </item>
270   <item row="2" column="0">
271    <spacer name="verticalSpacer">
272     <property name="orientation">
273      <enum>Qt::Vertical</enum>
274     </property>
275     <property name="sizeHint" stdset="0">
276      <size>
277       <width>20</width>
278       <height>18</height>
279      </size>
280     </property>
281    </spacer>
282   </item>
283   <item row="3" column="1">
284    <widget class="QDialogButtonBox" name="buttonBox">
285     <property name="orientation">
286      <enum>Qt::Horizontal</enum>
287     </property>
288     <property name="standardButtons">
289      <set>QDialogButtonBox::Close</set>
290     </property>
291    </widget>
292   </item>
293  </layout>
294 </widget>
295 <resources>
296  <include location="main_resources.qrc"/>
297 </resources>
298 <connections>
299  <connection>
300   <sender>buttonBox</sender>
301   <signal>accepted()</signal>
302   <receiver>BoxSumUI</receiver>
303   <slot>accept()</slot>
304   <hints>
305    <hint type="sourcelabel">
306     <x>248</x>
307     <y>254</y>
308    </hint>
309    <hint type="destinationlabel">
310     <x>157</x>
311     <y>274</y>
312    </hint>
313   </hints>
314  </connection>
315  <connection>
316   <sender>buttonBox</sender>
317   <signal>rejected()</signal>
318   <receiver>BoxSumUI</receiver>
319   <slot>reject()</slot>
320   <hints>
321    <hint type="sourcelabel">
322     <x>316</x>
323     <y>260</y>
324    </hint>
325    <hint type="destinationlabel">
326     <x>286</x>
327     <y>274</y>
328    </hint>
329   </hints>
330  </connection>
331 </connections>
332</ui>
Note: See TracBrowser for help on using the repository browser.