source: sasview/src/sas/qtgui/UI/DensityPanel.ui @ 6083d6e

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 6083d6e was 6083d6e, checked in by davidm, 8 years ago

added DensityPanel? (todo: add help button and add to menu)

  • Property mode set to 100644
File size: 4.8 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>633</width>
10    <height>293</height>
11   </rect>
12  </property>
13  <property name="windowTitle">
14   <string>Density/Volume Calculator</string>
15  </property>
16  <layout class="QGridLayout" name="gridLayout_2">
17   <item row="0" column="0">
18    <layout class="QGridLayout" name="gridLayout">
19     <item row="0" column="0">
20      <widget class="QLabel" name="label_1">
21       <property name="text">
22        <string>Molecular Formula</string>
23       </property>
24      </widget>
25     </item>
26     <item row="0" column="1">
27      <widget class="QLineEdit" name="editMolecularFormula"/>
28     </item>
29     <item row="0" column="2">
30      <widget class="QLabel" name="label_3">
31       <property name="text">
32        <string>e.g. H2O</string>
33       </property>
34      </widget>
35     </item>
36     <item row="1" column="0">
37      <widget class="QLabel" name="label_2">
38       <property name="text">
39        <string>Molar Mass</string>
40       </property>
41      </widget>
42     </item>
43     <item row="1" column="1">
44      <widget class="QLineEdit" name="editMolarMass">
45       <property name="styleSheet">
46        <string notr="true"/>
47       </property>
48       <property name="readOnly">
49        <bool>true</bool>
50       </property>
51      </widget>
52     </item>
53     <item row="1" column="2">
54      <widget class="QLabel" name="label_4">
55       <property name="text">
56        <string>g/mol</string>
57       </property>
58      </widget>
59     </item>
60     <item row="2" column="0" colspan="3">
61      <widget class="QFrame" name="frame">
62       <property name="minimumSize">
63        <size>
64         <width>0</width>
65         <height>5</height>
66        </size>
67       </property>
68       <property name="frameShape">
69        <enum>QFrame::HLine</enum>
70       </property>
71       <property name="frameShadow">
72        <enum>QFrame::Raised</enum>
73       </property>
74       <property name="lineWidth">
75        <number>1</number>
76       </property>
77       <property name="midLineWidth">
78        <number>0</number>
79       </property>
80      </widget>
81     </item>
82     <item row="3" column="0">
83      <widget class="QLabel" name="label_5">
84       <property name="text">
85        <string>Molar Volume</string>
86       </property>
87      </widget>
88     </item>
89     <item row="3" column="1">
90      <widget class="QLineEdit" name="editMolarVolume"/>
91     </item>
92     <item row="3" column="2">
93      <widget class="QLabel" name="label_6">
94       <property name="text">
95        <string>cm³/mol</string>
96       </property>
97      </widget>
98     </item>
99     <item row="4" column="0">
100      <widget class="QLabel" name="label_7">
101       <property name="text">
102        <string>Mass Density</string>
103       </property>
104      </widget>
105     </item>
106     <item row="4" column="1">
107      <widget class="QLineEdit" name="editMassDensity"/>
108     </item>
109     <item row="4" column="2">
110      <widget class="QLabel" name="label_8">
111       <property name="text">
112        <string>g/cm³</string>
113       </property>
114      </widget>
115     </item>
116    </layout>
117   </item>
118   <item row="1" column="0">
119    <spacer name="verticalSpacer">
120     <property name="orientation">
121      <enum>Qt::Vertical</enum>
122     </property>
123     <property name="sizeType">
124      <enum>QSizePolicy::Expanding</enum>
125     </property>
126     <property name="sizeHint" stdset="0">
127      <size>
128       <width>20</width>
129       <height>40</height>
130      </size>
131     </property>
132    </spacer>
133   </item>
134   <item row="2" column="0">
135    <widget class="QDialogButtonBox" name="buttonBox">
136     <property name="orientation">
137      <enum>Qt::Horizontal</enum>
138     </property>
139     <property name="standardButtons">
140      <set>QDialogButtonBox::Close|QDialogButtonBox::Reset</set>
141     </property>
142     <property name="centerButtons">
143      <bool>true</bool>
144     </property>
145    </widget>
146   </item>
147  </layout>
148 </widget>
149 <tabstops>
150  <tabstop>editMolecularFormula</tabstop>
151  <tabstop>editMolarMass</tabstop>
152  <tabstop>editMolarVolume</tabstop>
153  <tabstop>editMassDensity</tabstop>
154  <tabstop>buttonBox</tabstop>
155 </tabstops>
156 <resources/>
157 <connections>
158  <connection>
159   <sender>buttonBox</sender>
160   <signal>accepted()</signal>
161   <receiver>DensityPanel</receiver>
162   <slot>accept()</slot>
163   <hints>
164    <hint type="sourcelabel">
165     <x>248</x>
166     <y>254</y>
167    </hint>
168    <hint type="destinationlabel">
169     <x>157</x>
170     <y>274</y>
171    </hint>
172   </hints>
173  </connection>
174  <connection>
175   <sender>buttonBox</sender>
176   <signal>rejected()</signal>
177   <receiver>DensityPanel</receiver>
178   <slot>reject()</slot>
179   <hints>
180    <hint type="sourcelabel">
181     <x>316</x>
182     <y>260</y>
183    </hint>
184    <hint type="destinationlabel">
185     <x>286</x>
186     <y>274</y>
187    </hint>
188   </hints>
189  </connection>
190 </connections>
191</ui>
Note: See TracBrowser for help on using the repository browser.