| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<ui version="4.0"> |
| 3 |
<class>MainWindow</class> |
| 4 |
<widget class="QMainWindow" name="MainWindow"> |
| 5 |
<property name="geometry"> |
| 6 |
<rect> |
| 7 |
<x>0</x> |
| 8 |
<y>0</y> |
| 9 |
<width>807</width> |
| 10 |
<height>563</height> |
| 11 |
</rect> |
| 12 |
</property> |
| 13 |
<property name="windowTitle"> |
| 14 |
<string>MainWindow</string> |
| 15 |
</property> |
| 16 |
<widget class="QWidget" name="centralwidget"> |
| 17 |
<layout class="QGridLayout" name="gridLayout"> |
| 18 |
<property name="margin"> |
| 19 |
<number>2</number> |
| 20 |
</property> |
| 21 |
<property name="spacing"> |
| 22 |
<number>2</number> |
| 23 |
</property> |
| 24 |
<item row="0" column="4"> |
| 25 |
<widget class="QComboBox" name="splineBox"> |
| 26 |
<item> |
| 27 |
<property name="text"> |
| 28 |
<string>None</string> |
| 29 |
</property> |
| 30 |
</item> |
| 31 |
<item> |
| 32 |
<property name="text"> |
| 33 |
<string>2</string> |
| 34 |
</property> |
| 35 |
</item> |
| 36 |
<item> |
| 37 |
<property name="text"> |
| 38 |
<string>3</string> |
| 39 |
</property> |
| 40 |
</item> |
| 41 |
<item> |
| 42 |
<property name="text"> |
| 43 |
<string>4</string> |
| 44 |
</property> |
| 45 |
</item> |
| 46 |
<item> |
| 47 |
<property name="text"> |
| 48 |
<string>5</string> |
| 49 |
</property> |
| 50 |
</item> |
| 51 |
<item> |
| 52 |
<property name="text"> |
| 53 |
<string>6</string> |
| 54 |
</property> |
| 55 |
</item> |
| 56 |
<item> |
| 57 |
<property name="text"> |
| 58 |
<string>7</string> |
| 59 |
</property> |
| 60 |
</item> |
| 61 |
<item> |
| 62 |
<property name="text"> |
| 63 |
<string>8</string> |
| 64 |
</property> |
| 65 |
</item> |
| 66 |
<item> |
| 67 |
<property name="text"> |
| 68 |
<string>9</string> |
| 69 |
</property> |
| 70 |
</item> |
| 71 |
<item> |
| 72 |
<property name="text"> |
| 73 |
<string>10</string> |
| 74 |
</property> |
| 75 |
</item> |
| 76 |
</widget> |
| 77 |
</item> |
| 78 |
<item row="0" column="0"> |
| 79 |
<widget class="QCheckBox" name="recordBox"> |
| 80 |
<property name="text"> |
| 81 |
<string>RECORD</string> |
| 82 |
</property> |
| 83 |
<property name="checked"> |
| 84 |
<bool>true</bool> |
| 85 |
</property> |
| 86 |
</widget> |
| 87 |
</item> |
| 88 |
<item row="0" column="1"> |
| 89 |
<widget class="QPushButton" name="pushButton_2"> |
| 90 |
<property name="text"> |
| 91 |
<string>Calculate</string> |
| 92 |
</property> |
| 93 |
</widget> |
| 94 |
</item> |
| 95 |
<item row="0" column="2"> |
| 96 |
<spacer name="horizontalSpacer"> |
| 97 |
<property name="orientation"> |
| 98 |
<enum>Qt::Horizontal</enum> |
| 99 |
</property> |
| 100 |
<property name="sizeHint" stdset="0"> |
| 101 |
<size> |
| 102 |
<width>138</width> |
| 103 |
<height>24</height> |
| 104 |
</size> |
| 105 |
</property> |
| 106 |
</spacer> |
| 107 |
</item> |
| 108 |
<item row="0" column="5"> |
| 109 |
<widget class="QLabel" name="label"> |
| 110 |
<property name="text"> |
| 111 |
<string>Averaging Samples</string> |
| 112 |
</property> |
| 113 |
</widget> |
| 114 |
</item> |
| 115 |
<item row="0" column="6"> |
| 116 |
<widget class="QComboBox" name="samplesBox"> |
| 117 |
<property name="toolTip"> |
| 118 |
<string>Number of samples considered for moving average in results calculation</string> |
| 119 |
</property> |
| 120 |
</widget> |
| 121 |
</item> |
| 122 |
<item row="0" column="7"> |
| 123 |
<widget class="QLabel" name="label_2"> |
| 124 |
<property name="text"> |
| 125 |
<string>Polynomial Degree</string> |
| 126 |
</property> |
| 127 |
</widget> |
| 128 |
</item> |
| 129 |
<item row="0" column="8"> |
| 130 |
<widget class="QComboBox" name="polyBox"> |
| 131 |
<property name="toolTip"> |
| 132 |
<string>Degree of the polynomial used for smoothing the data</string> |
| 133 |
</property> |
| 134 |
</widget> |
| 135 |
</item> |
| 136 |
<item row="1" column="0" colspan="9"> |
| 137 |
<widget class="QSplitter" name="splitter"> |
| 138 |
<property name="orientation"> |
| 139 |
<enum>Qt::Vertical</enum> |
| 140 |
</property> |
| 141 |
<widget class="QWidget" name="layoutWidget"> |
| 142 |
<layout class="QHBoxLayout" name="horizontalLayout"> |
| 143 |
<item> |
| 144 |
<widget class="PlotWidget" name="graphPosition"> |
| 145 |
<property name="sizePolicy"> |
| 146 |
<sizepolicy hsizetype="Expanding" vsizetype="Minimum"> |
| 147 |
<horstretch>0</horstretch> |
| 148 |
<verstretch>0</verstretch> |
| 149 |
</sizepolicy> |
| 150 |
</property> |
| 151 |
</widget> |
| 152 |
</item> |
| 153 |
<item> |
| 154 |
<widget class="QFrame" name="frame"> |
| 155 |
<property name="sizePolicy"> |
| 156 |
<sizepolicy hsizetype="Fixed" vsizetype="Minimum"> |
| 157 |
<horstretch>0</horstretch> |
| 158 |
<verstretch>0</verstretch> |
| 159 |
</sizepolicy> |
| 160 |
</property> |
| 161 |
<property name="minimumSize"> |
| 162 |
<size> |
| 163 |
<width>250</width> |
| 164 |
<height>0</height> |
| 165 |
</size> |
| 166 |
</property> |
| 167 |
<property name="maximumSize"> |
| 168 |
<size> |
| 169 |
<width>16777215</width> |
| 170 |
<height>16777215</height> |
| 171 |
</size> |
| 172 |
</property> |
| 173 |
<property name="frameShape"> |
| 174 |
<enum>QFrame::NoFrame</enum> |
| 175 |
</property> |
| 176 |
<property name="frameShadow"> |
| 177 |
<enum>QFrame::Raised</enum> |
| 178 |
</property> |
| 179 |
<layout class="QVBoxLayout" name="gaugeLayout"> |
| 180 |
<property name="spacing"> |
| 181 |
<number>0</number> |
| 182 |
</property> |
| 183 |
<property name="margin"> |
| 184 |
<number>0</number> |
| 185 |
</property> |
| 186 |
</layout> |
| 187 |
</widget> |
| 188 |
</item> |
| 189 |
</layout> |
| 190 |
</widget> |
| 191 |
<widget class="PlotWidget" name="graphResults"> |
| 192 |
<property name="sizePolicy"> |
| 193 |
<sizepolicy hsizetype="Expanding" vsizetype="Expanding"> |
| 194 |
<horstretch>0</horstretch> |
| 195 |
<verstretch>0</verstretch> |
| 196 |
</sizepolicy> |
| 197 |
</property> |
| 198 |
</widget> |
| 199 |
</widget> |
| 200 |
</item> |
| 201 |
<item row="0" column="3"> |
| 202 |
<widget class="QLabel" name="label_3"> |
| 203 |
<property name="text"> |
| 204 |
<string>Spline</string> |
| 205 |
</property> |
| 206 |
</widget> |
| 207 |
</item> |
| 208 |
</layout> |
| 209 |
</widget> |
| 210 |
<widget class="QMenuBar" name="menubar"> |
| 211 |
<property name="geometry"> |
| 212 |
<rect> |
| 213 |
<x>0</x> |
| 214 |
<y>0</y> |
| 215 |
<width>807</width> |
| 216 |
<height>25</height> |
| 217 |
</rect> |
| 218 |
</property> |
| 219 |
</widget> |
| 220 |
<widget class="QStatusBar" name="statusbar"/> |
| 221 |
</widget> |
| 222 |
<customwidgets> |
| 223 |
<customwidget> |
| 224 |
<class>PlotWidget</class> |
| 225 |
<extends>QGraphicsView</extends> |
| 226 |
<header location="global">pyqtgraph</header> |
| 227 |
</customwidget> |
| 228 |
</customwidgets> |
| 229 |
<resources/> |
| 230 |
<connections> |
| 231 |
<connection> |
| 232 |
<sender>recordBox</sender> |
| 233 |
<signal>clicked(bool)</signal> |
| 234 |
<receiver>MainWindow</receiver> |
| 235 |
<slot>setRecord(bool)</slot> |
| 236 |
<hints> |
| 237 |
<hint type="sourcelabel"> |
| 238 |
<x>57</x> |
| 239 |
<y>31</y> |
| 240 |
</hint> |
| 241 |
<hint type="destinationlabel"> |
| 242 |
<x>0</x> |
| 243 |
<y>43</y> |
| 244 |
</hint> |
| 245 |
</hints> |
| 246 |
</connection> |
| 247 |
<connection> |
| 248 |
<sender>pushButton_2</sender> |
| 249 |
<signal>clicked()</signal> |
| 250 |
<receiver>MainWindow</receiver> |
| 251 |
<slot>analysis()</slot> |
| 252 |
<hints> |
| 253 |
<hint type="sourcelabel"> |
| 254 |
<x>177</x> |
| 255 |
<y>35</y> |
| 256 |
</hint> |
| 257 |
<hint type="destinationlabel"> |
| 258 |
<x>0</x> |
| 259 |
<y>127</y> |
| 260 |
</hint> |
| 261 |
</hints> |
| 262 |
</connection> |
| 263 |
<connection> |
| 264 |
<sender>samplesBox</sender> |
| 265 |
<signal>currentIndexChanged(QString)</signal> |
| 266 |
<receiver>MainWindow</receiver> |
| 267 |
<slot>redoAnalysis(QString)</slot> |
| 268 |
<hints> |
| 269 |
<hint type="sourcelabel"> |
| 270 |
<x>556</x> |
| 271 |
<y>39</y> |
| 272 |
</hint> |
| 273 |
<hint type="destinationlabel"> |
| 274 |
<x>564</x> |
| 275 |
<y>-9</y> |
| 276 |
</hint> |
| 277 |
</hints> |
| 278 |
</connection> |
| 279 |
<connection> |
| 280 |
<sender>polyBox</sender> |
| 281 |
<signal>currentIndexChanged(QString)</signal> |
| 282 |
<receiver>MainWindow</receiver> |
| 283 |
<slot>redoAnalysis(QString)</slot> |
| 284 |
<hints> |
| 285 |
<hint type="sourcelabel"> |
| 286 |
<x>751</x> |
| 287 |
<y>29</y> |
| 288 |
</hint> |
| 289 |
<hint type="destinationlabel"> |
| 290 |
<x>733</x> |
| 291 |
<y>-6</y> |
| 292 |
</hint> |
| 293 |
</hints> |
| 294 |
</connection> |
| 295 |
<connection> |
| 296 |
<sender>splineBox</sender> |
| 297 |
<signal>currentIndexChanged(QString)</signal> |
| 298 |
<receiver>MainWindow</receiver> |
| 299 |
<slot>redoAnalysis(QString)</slot> |
| 300 |
<hints> |
| 301 |
<hint type="sourcelabel"> |
| 302 |
<x>373</x> |
| 303 |
<y>47</y> |
| 304 |
</hint> |
| 305 |
<hint type="destinationlabel"> |
| 306 |
<x>364</x> |
| 307 |
<y>-5</y> |
| 308 |
</hint> |
| 309 |
</hints> |
| 310 |
</connection> |
| 311 |
</connections> |
| 312 |
<slots> |
| 313 |
<slot>clearAll()</slot> |
| 314 |
<slot>setRecord(bool)</slot> |
| 315 |
<slot>analysis()</slot> |
| 316 |
<slot>redoAnalysis(QString)</slot> |
| 317 |
</slots> |
| 318 |
</ui> |