source: sasview/src/sas/qtgui/Calculators/UI/DensityPanel.ui

ESS_GUI
Last change on this file was 457d961, checked in by Celine Durniak <celine.durniak@…>, 7 years ago

Corrected bugs in display of new GUI (angstrom, size of line edit)

  • Property mode set to 100644
File size: 6.5 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<ui version="4.0">
3 <class>DensityPanel</class>
4 <widget class="QDialog" name="DensityPanel">
5  <property name="geometry">
6   <rect>
7    <x>0</x>
8    <y>0</y>
9    <width>345</width>
10    <height>236</height>
11   </rect>
12  </property>
13  <property name="sizePolicy">
14   <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
15    <horstretch>0</horstretch>
16    <verstretch>0</verstretch>
17   </sizepolicy>
18  </property>
19  <property name="windowTitle">
20   <string>Density/Volume Calculator</string>
21  </property>
22  <property name="windowIcon">
23   <iconset>
24    <normaloff>:/res/ball.ico</normaloff>:/res/ball.ico</iconset>
25  </property>
26  <layout class="QGridLayout" name="gridLayout_2">
27   <item row="0" column="0">
28    <layout class="QGridLayout" name="gridLayout">
29     <item row="0" column="0">
30      <widget class="QLabel" name="label_1">
31       <property name="text">
32        <string>Molecular Formula</string>
33       </property>
34      </widget>
35     </item>
36     <item row="0" column="1">
37      <widget class="QLineEdit" name="editMolecularFormula">
38       <property name="minimumSize">
39        <size>
40         <width>61</width>
41         <height>21</height>
42        </size>
43       </property>
44       <property name="baseSize">
45        <size>
46         <width>61</width>
47         <height>21</height>
48        </size>
49       </property>
50      </widget>
51     </item>
52     <item row="0" column="2">
53      <widget class="QLabel" name="label_3">
54       <property name="text">
55        <string>e.g. H2O</string>
56       </property>
57      </widget>
58     </item>
59     <item row="1" column="0">
60      <widget class="QLabel" name="label_2">
61       <property name="text">
62        <string>Molar Mass</string>
63       </property>
64      </widget>
65     </item>
66     <item row="1" column="1">
67      <widget class="QLineEdit" name="editMolarMass">
68       <property name="minimumSize">
69        <size>
70         <width>61</width>
71         <height>21</height>
72        </size>
73       </property>
74       <property name="baseSize">
75        <size>
76         <width>61</width>
77         <height>21</height>
78        </size>
79       </property>
80       <property name="styleSheet">
81        <string notr="true"/>
82       </property>
83       <property name="readOnly">
84        <bool>true</bool>
85       </property>
86      </widget>
87     </item>
88     <item row="1" column="2">
89      <widget class="QLabel" name="label_4">
90       <property name="text">
91        <string>g/mol</string>
92       </property>
93      </widget>
94     </item>
95     <item row="2" column="0" colspan="3">
96      <widget class="QFrame" name="frame">
97       <property name="minimumSize">
98        <size>
99         <width>0</width>
100         <height>5</height>
101        </size>
102       </property>
103       <property name="frameShape">
104        <enum>QFrame::HLine</enum>
105       </property>
106       <property name="frameShadow">
107        <enum>QFrame::Raised</enum>
108       </property>
109       <property name="lineWidth">
110        <number>1</number>
111       </property>
112       <property name="midLineWidth">
113        <number>0</number>
114       </property>
115      </widget>
116     </item>
117     <item row="3" column="0">
118      <widget class="QLabel" name="label_5">
119       <property name="text">
120        <string>Molar Volume</string>
121       </property>
122      </widget>
123     </item>
124     <item row="3" column="1">
125      <widget class="QLineEdit" name="editMolarVolume">
126       <property name="minimumSize">
127        <size>
128         <width>61</width>
129         <height>21</height>
130        </size>
131       </property>
132       <property name="baseSize">
133        <size>
134         <width>61</width>
135         <height>21</height>
136        </size>
137       </property>
138      </widget>
139     </item>
140     <item row="3" column="2">
141      <widget class="QLabel" name="label_6">
142       <property name="text">
143        <string>cm³/mol</string>
144       </property>
145      </widget>
146     </item>
147     <item row="4" column="0">
148      <widget class="QLabel" name="label_7">
149       <property name="text">
150        <string>Mass Density</string>
151       </property>
152      </widget>
153     </item>
154     <item row="4" column="1">
155      <widget class="QLineEdit" name="editMassDensity">
156       <property name="minimumSize">
157        <size>
158         <width>61</width>
159         <height>21</height>
160        </size>
161       </property>
162       <property name="baseSize">
163        <size>
164         <width>61</width>
165         <height>21</height>
166        </size>
167       </property>
168      </widget>
169     </item>
170     <item row="4" column="2">
171      <widget class="QLabel" name="label_8">
172       <property name="text">
173        <string>g/cm³</string>
174       </property>
175      </widget>
176     </item>
177    </layout>
178   </item>
179   <item row="1" column="0">
180    <spacer name="verticalSpacer">
181     <property name="orientation">
182      <enum>Qt::Vertical</enum>
183     </property>
184     <property name="sizeType">
185      <enum>QSizePolicy::Expanding</enum>
186     </property>
187     <property name="sizeHint" stdset="0">
188      <size>
189       <width>20</width>
190       <height>40</height>
191      </size>
192     </property>
193    </spacer>
194   </item>
195   <item row="2" column="0">
196    <widget class="QDialogButtonBox" name="buttonBox">
197     <property name="sizePolicy">
198      <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
199       <horstretch>0</horstretch>
200       <verstretch>0</verstretch>
201      </sizepolicy>
202     </property>
203     <property name="orientation">
204      <enum>Qt::Horizontal</enum>
205     </property>
206     <property name="standardButtons">
207      <set>QDialogButtonBox::Close|QDialogButtonBox::Help|QDialogButtonBox::Reset</set>
208     </property>
209     <property name="centerButtons">
210      <bool>true</bool>
211     </property>
212    </widget>
213   </item>
214  </layout>
215 </widget>
216 <tabstops>
217  <tabstop>editMolecularFormula</tabstop>
218  <tabstop>editMolarMass</tabstop>
219  <tabstop>editMolarVolume</tabstop>
220  <tabstop>editMassDensity</tabstop>
221  <tabstop>buttonBox</tabstop>
222 </tabstops>
223 <resources/>
224 <connections>
225  <connection>
226   <sender>buttonBox</sender>
227   <signal>accepted()</signal>
228   <receiver>DensityPanel</receiver>
229   <slot>accept()</slot>
230   <hints>
231    <hint type="sourcelabel">
232     <x>248</x>
233     <y>254</y>
234    </hint>
235    <hint type="destinationlabel">
236     <x>157</x>
237     <y>274</y>
238    </hint>
239   </hints>
240  </connection>
241  <connection>
242   <sender>buttonBox</sender>
243   <signal>rejected()</signal>
244   <receiver>DensityPanel</receiver>
245   <slot>reject()</slot>
246   <hints>
247    <hint type="sourcelabel">
248     <x>316</x>
249     <y>260</y>
250    </hint>
251    <hint type="destinationlabel">
252     <x>286</x>
253     <y>274</y>
254    </hint>
255   </hints>
256  </connection>
257 </connections>
258</ui>
Note: See TracBrowser for help on using the repository browser.