[570a58f9] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
---|
| 2 | <ui version="4.0"> |
---|
| 3 | <class>LinearFitUI</class> |
---|
| 4 | <widget class="QDialog" name="LinearFitUI"> |
---|
| 5 | <property name="geometry"> |
---|
| 6 | <rect> |
---|
| 7 | <x>0</x> |
---|
| 8 | <y>0</y> |
---|
[2e3e959] | 9 | <width>439</width> |
---|
| 10 | <height>324</height> |
---|
[570a58f9] | 11 | </rect> |
---|
| 12 | </property> |
---|
| 13 | <property name="sizePolicy"> |
---|
[2e3e959] | 14 | <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> |
---|
[570a58f9] | 15 | <horstretch>0</horstretch> |
---|
| 16 | <verstretch>0</verstretch> |
---|
| 17 | </sizepolicy> |
---|
| 18 | </property> |
---|
| 19 | <property name="windowTitle"> |
---|
| 20 | <string>Linear Fit</string> |
---|
| 21 | </property> |
---|
| 22 | <property name="windowIcon"> |
---|
[cd2cc745] | 23 | <iconset> |
---|
[570a58f9] | 24 | <normaloff>:/res/ball.ico</normaloff>:/res/ball.ico</iconset> |
---|
| 25 | </property> |
---|
| 26 | <layout class="QGridLayout" name="gridLayout_4"> |
---|
| 27 | <item row="0" column="0"> |
---|
| 28 | <widget class="QLabel" name="label"> |
---|
| 29 | <property name="text"> |
---|
[2e3e959] | 30 | <string><html><head/><body><p>Perform fit for <span style=" font-weight:600; font-style:italic;">y(x) = ax + b</span></p></body></html></string> |
---|
[570a58f9] | 31 | </property> |
---|
| 32 | </widget> |
---|
| 33 | </item> |
---|
| 34 | <item row="1" column="0" colspan="2"> |
---|
[2e3e959] | 35 | <widget class="QGroupBox" name="groupBox_2"> |
---|
| 36 | <property name="title"> |
---|
| 37 | <string>Fit ranges</string> |
---|
| 38 | </property> |
---|
| 39 | <layout class="QGridLayout" name="gridLayout_3"> |
---|
| 40 | <item row="0" column="0"> |
---|
| 41 | <layout class="QGridLayout" name="gridLayout_2"> |
---|
| 42 | <item row="0" column="1"> |
---|
| 43 | <widget class="QLabel" name="label_9"> |
---|
| 44 | <property name="text"> |
---|
| 45 | <string>Min</string> |
---|
| 46 | </property> |
---|
| 47 | </widget> |
---|
| 48 | </item> |
---|
| 49 | <item row="0" column="2"> |
---|
| 50 | <widget class="QLabel" name="label_10"> |
---|
| 51 | <property name="text"> |
---|
| 52 | <string>Max</string> |
---|
| 53 | </property> |
---|
| 54 | </widget> |
---|
| 55 | </item> |
---|
| 56 | <item row="1" column="0"> |
---|
| 57 | <widget class="QLabel" name="label_8"> |
---|
| 58 | <property name="text"> |
---|
| 59 | <string>Range (linear scale)</string> |
---|
| 60 | </property> |
---|
| 61 | </widget> |
---|
| 62 | </item> |
---|
| 63 | <item row="1" column="1"> |
---|
| 64 | <widget class="QLineEdit" name="txtRangeMin"> |
---|
| 65 | <property name="toolTip"> |
---|
| 66 | <string><html><head/><body><p>Minimum value on the x-axis for the plotted data.</p></body></html></string> |
---|
| 67 | </property> |
---|
| 68 | <property name="autoFillBackground"> |
---|
| 69 | <bool>true</bool> |
---|
| 70 | </property> |
---|
| 71 | <property name="readOnly"> |
---|
| 72 | <bool>true</bool> |
---|
| 73 | </property> |
---|
| 74 | </widget> |
---|
| 75 | </item> |
---|
| 76 | <item row="1" column="2"> |
---|
| 77 | <widget class="QLineEdit" name="txtRangeMax"> |
---|
| 78 | <property name="toolTip"> |
---|
| 79 | <string><html><head/><body><p>Maximum value on the x-axis for the plotted data.</p></body></html></string> |
---|
| 80 | </property> |
---|
| 81 | <property name="autoFillBackground"> |
---|
| 82 | <bool>true</bool> |
---|
| 83 | </property> |
---|
| 84 | <property name="readOnly"> |
---|
| 85 | <bool>true</bool> |
---|
| 86 | </property> |
---|
| 87 | </widget> |
---|
| 88 | </item> |
---|
| 89 | <item row="2" column="0"> |
---|
| 90 | <widget class="QLabel" name="lblRange"> |
---|
| 91 | <property name="text"> |
---|
| 92 | <string><html><head/><body><p>Fit range</p></body></html></string> |
---|
| 93 | </property> |
---|
| 94 | </widget> |
---|
| 95 | </item> |
---|
| 96 | <item row="2" column="1"> |
---|
| 97 | <widget class="QLineEdit" name="txtFitRangeMin"> |
---|
| 98 | <property name="toolTip"> |
---|
| 99 | <string><html><head/><body><p>Enter the minimum value on the x-axis to be included in the fit.</p></body></html></string> |
---|
| 100 | </property> |
---|
| 101 | </widget> |
---|
| 102 | </item> |
---|
| 103 | <item row="2" column="2"> |
---|
| 104 | <widget class="QLineEdit" name="txtFitRangeMax"> |
---|
| 105 | <property name="toolTip"> |
---|
| 106 | <string><html><head/><body><p>Enter the maximum value on the x-axis to be included in the fit.</p></body></html></string> |
---|
| 107 | </property> |
---|
| 108 | </widget> |
---|
| 109 | </item> |
---|
| 110 | </layout> |
---|
| 111 | </item> |
---|
| 112 | </layout> |
---|
| 113 | </widget> |
---|
| 114 | </item> |
---|
| 115 | <item row="2" column="0" colspan="2"> |
---|
[570a58f9] | 116 | <widget class="QGroupBox" name="groupBox"> |
---|
| 117 | <property name="title"> |
---|
| 118 | <string>Fit parameters</string> |
---|
| 119 | </property> |
---|
| 120 | <layout class="QGridLayout" name="gridLayout"> |
---|
| 121 | <item row="0" column="0"> |
---|
| 122 | <layout class="QFormLayout" name="formLayout"> |
---|
| 123 | <item row="0" column="0"> |
---|
| 124 | <widget class="QLabel" name="label_3"> |
---|
| 125 | <property name="text"> |
---|
| 126 | <string>a</string> |
---|
| 127 | </property> |
---|
| 128 | </widget> |
---|
| 129 | </item> |
---|
| 130 | <item row="0" column="1"> |
---|
| 131 | <widget class="QLineEdit" name="txtA"> |
---|
| 132 | <property name="toolTip"> |
---|
| 133 | <string><html><head/><body><p>Fit value for the slope parameter.</p></body></html></string> |
---|
| 134 | </property> |
---|
| 135 | <property name="readOnly"> |
---|
| 136 | <bool>true</bool> |
---|
| 137 | </property> |
---|
| 138 | </widget> |
---|
| 139 | </item> |
---|
| 140 | <item row="1" column="0"> |
---|
| 141 | <widget class="QLabel" name="label_4"> |
---|
| 142 | <property name="text"> |
---|
| 143 | <string>b</string> |
---|
| 144 | </property> |
---|
| 145 | </widget> |
---|
| 146 | </item> |
---|
| 147 | <item row="1" column="1"> |
---|
| 148 | <widget class="QLineEdit" name="txtB"> |
---|
| 149 | <property name="toolTip"> |
---|
| 150 | <string><html><head/><body><p>Fit value for the constant parameter.</p></body></html></string> |
---|
| 151 | </property> |
---|
| 152 | <property name="readOnly"> |
---|
| 153 | <bool>true</bool> |
---|
| 154 | </property> |
---|
| 155 | </widget> |
---|
| 156 | </item> |
---|
| 157 | <item row="2" column="0"> |
---|
| 158 | <widget class="QLabel" name="label_7"> |
---|
| 159 | <property name="text"> |
---|
| 160 | <string><html><head/><body><p>Ï<span style=" vertical-align:super;">2</span>/dof</p></body></html></string> |
---|
| 161 | </property> |
---|
| 162 | </widget> |
---|
| 163 | </item> |
---|
| 164 | <item row="2" column="1"> |
---|
| 165 | <widget class="QLineEdit" name="txtChi2"> |
---|
| 166 | <property name="toolTip"> |
---|
| 167 | <string><html><head/><body><p>Ï<span style=" vertical-align:super;">2</span> over degrees of freedom.</p></body></html></string> |
---|
| 168 | </property> |
---|
| 169 | <property name="readOnly"> |
---|
| 170 | <bool>true</bool> |
---|
| 171 | </property> |
---|
| 172 | </widget> |
---|
| 173 | </item> |
---|
| 174 | </layout> |
---|
| 175 | </item> |
---|
| 176 | <item row="0" column="1"> |
---|
| 177 | <layout class="QFormLayout" name="formLayout_2"> |
---|
| 178 | <item row="0" column="0"> |
---|
| 179 | <widget class="QLabel" name="label_5"> |
---|
| 180 | <property name="text"> |
---|
| 181 | <string>+/-</string> |
---|
| 182 | </property> |
---|
| 183 | </widget> |
---|
| 184 | </item> |
---|
| 185 | <item row="0" column="1"> |
---|
| 186 | <widget class="QLineEdit" name="txtAerr"> |
---|
| 187 | <property name="toolTip"> |
---|
| 188 | <string><html><head/><body><p>Error on the slope parameter.</p></body></html></string> |
---|
| 189 | </property> |
---|
| 190 | <property name="readOnly"> |
---|
| 191 | <bool>true</bool> |
---|
| 192 | </property> |
---|
| 193 | </widget> |
---|
| 194 | </item> |
---|
| 195 | <item row="1" column="0"> |
---|
| 196 | <widget class="QLabel" name="label_6"> |
---|
| 197 | <property name="text"> |
---|
| 198 | <string>+/-</string> |
---|
| 199 | </property> |
---|
| 200 | </widget> |
---|
| 201 | </item> |
---|
| 202 | <item row="1" column="1"> |
---|
| 203 | <widget class="QLineEdit" name="txtBerr"> |
---|
| 204 | <property name="toolTip"> |
---|
| 205 | <string><html><head/><body><p>Error on the constant parameter.</p></body></html></string> |
---|
| 206 | </property> |
---|
| 207 | <property name="readOnly"> |
---|
| 208 | <bool>true</bool> |
---|
| 209 | </property> |
---|
| 210 | </widget> |
---|
| 211 | </item> |
---|
| 212 | </layout> |
---|
| 213 | </item> |
---|
| 214 | </layout> |
---|
| 215 | </widget> |
---|
| 216 | </item> |
---|
| 217 | <item row="3" column="0" colspan="2"> |
---|
| 218 | <widget class="QLabel" name="label_2"> |
---|
| 219 | <property name="text"> |
---|
[2e3e959] | 220 | <string><html><head/><body><p><span style=" color:#000000;">Resolution is NOT accounted for.<br/>Slit smeared data will give very wrong answers!</span></p></body></html></string> |
---|
[570a58f9] | 221 | </property> |
---|
| 222 | </widget> |
---|
| 223 | </item> |
---|
| 224 | <item row="4" column="1"> |
---|
| 225 | <spacer name="verticalSpacer"> |
---|
| 226 | <property name="orientation"> |
---|
| 227 | <enum>Qt::Vertical</enum> |
---|
| 228 | </property> |
---|
| 229 | <property name="sizeHint" stdset="0"> |
---|
| 230 | <size> |
---|
| 231 | <width>20</width> |
---|
| 232 | <height>3</height> |
---|
| 233 | </size> |
---|
| 234 | </property> |
---|
| 235 | </spacer> |
---|
| 236 | </item> |
---|
| 237 | <item row="5" column="0" colspan="2"> |
---|
| 238 | <layout class="QHBoxLayout" name="horizontalLayout_2"> |
---|
| 239 | <item> |
---|
| 240 | <spacer name="horizontalSpacer"> |
---|
| 241 | <property name="orientation"> |
---|
| 242 | <enum>Qt::Horizontal</enum> |
---|
| 243 | </property> |
---|
| 244 | <property name="sizeHint" stdset="0"> |
---|
| 245 | <size> |
---|
| 246 | <width>40</width> |
---|
| 247 | <height>20</height> |
---|
| 248 | </size> |
---|
| 249 | </property> |
---|
| 250 | </spacer> |
---|
| 251 | </item> |
---|
| 252 | <item> |
---|
| 253 | <layout class="QHBoxLayout" name="horizontalLayout"> |
---|
| 254 | <item> |
---|
| 255 | <widget class="QPushButton" name="cmdFit"> |
---|
| 256 | <property name="text"> |
---|
| 257 | <string>Fit</string> |
---|
| 258 | </property> |
---|
| 259 | </widget> |
---|
| 260 | </item> |
---|
| 261 | <item> |
---|
| 262 | <widget class="QPushButton" name="cmdClose"> |
---|
| 263 | <property name="text"> |
---|
| 264 | <string>Close</string> |
---|
| 265 | </property> |
---|
| 266 | </widget> |
---|
| 267 | </item> |
---|
| 268 | </layout> |
---|
| 269 | </item> |
---|
| 270 | </layout> |
---|
| 271 | </item> |
---|
| 272 | </layout> |
---|
| 273 | </widget> |
---|
[cd2cc745] | 274 | <resources/> |
---|
[570a58f9] | 275 | <connections> |
---|
| 276 | <connection> |
---|
| 277 | <sender>cmdClose</sender> |
---|
| 278 | <signal>clicked()</signal> |
---|
| 279 | <receiver>LinearFitUI</receiver> |
---|
| 280 | <slot>accept()</slot> |
---|
| 281 | <hints> |
---|
| 282 | <hint type="sourcelabel"> |
---|
| 283 | <x>284</x> |
---|
| 284 | <y>304</y> |
---|
| 285 | </hint> |
---|
| 286 | <hint type="destinationlabel"> |
---|
| 287 | <x>166</x> |
---|
| 288 | <y>163</y> |
---|
| 289 | </hint> |
---|
| 290 | </hints> |
---|
| 291 | </connection> |
---|
| 292 | </connections> |
---|
| 293 | </ui> |
---|