Debian Codegraph @

avogadro/qtplugins/spectra/spectradialog.ui

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>SpectraDialog</class>
4 <widget class="QDialog" name="SpectraDialog">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>808</width>
10 <height>480</height>
11 </rect>
12 </property>
13 <property name="minimumSize">
14 <size>
15 <width>808</width>
16 <height>480</height>
17 </size>
18 </property>
19 <property name="windowTitle">
20 <string>Spectra Visualization</string>
21 </property>
22 <property name="sizeGripEnabled">
23 <bool>true</bool>
24 </property>
25 <layout class="QGridLayout" name="gridLayout">
26 <item row="8" column="0" rowspan="2" colspan="5">
27 <widget class="QTabWidget" name="tab_widget">
28 <property name="sizePolicy">
29 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
30 <horstretch>0</horstretch>
31 <verstretch>0</verstretch>
32 </sizepolicy>
33 </property>
34 <property name="currentIndex">
35 <number>1</number>
36 </property>
37 <widget class="QWidget" name="tab_spectra">
38 <attribute name="title">
39 <string>Spectra</string>
40 </attribute>
41 <layout class="QGridLayout" name="gridLayout_2">
42 <item row="4" column="1">
43 <widget class="QDoubleSpinBox" name="yAxisMinimum">
44 <property name="alignment">
45 <set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
46 </property>
47 <property name="minimum">
48 <double>-4000.000000000000000</double>
49 </property>
50 <property name="maximum">
51 <double>4000.000000000000000</double>
52 </property>
53 </widget>
54 </item>
55 <item row="1" column="0">
56 <widget class="QLabel" name="label_11">
57 <property name="text">
58 <string>Scale Factor:</string>
59 </property>
60 </widget>
61 </item>
62 <item row="3" column="3">
63 <widget class="QDoubleSpinBox" name="xAxisMaximum">
64 <property name="alignment">
65 <set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
66 </property>
67 <property name="maximum">
68 <double>4000.000000000000000</double>
69 </property>
70 </widget>
71 </item>
72 <item row="3" column="0">
73 <widget class="QLabel" name="label_7">
74 <property name="text">
75 <string>X-Axis Minimum:</string>
76 </property>
77 </widget>
78 </item>
79 <item row="3" column="2">
80 <widget class="QLabel" name="label_9">
81 <property name="text">
82 <string>X-Axis Maximum:</string>
83 </property>
84 </widget>
85 </item>
86 <item row="1" column="3">
87 <widget class="QDoubleSpinBox" name="offsetSpinBox">
88 <property name="alignment">
89 <set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
90 </property>
91 <property name="decimals">
92 <number>3</number>
93 </property>
94 </widget>
95 </item>
96 <item row="1" column="2">
97 <widget class="QLabel" name="label_12">
98 <property name="text">
99 <string>Offset:</string>
100 </property>
101 </widget>
102 </item>
103 <item row="4" column="2">
104 <widget class="QLabel" name="label_10">
105 <property name="text">
106 <string>Y-Axis Maximum:</string>
107 </property>
108 </widget>
109 </item>
110 <item row="3" column="1">
111 <widget class="QDoubleSpinBox" name="xAxisMinimum">
112 <property name="alignment">
113 <set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
114 </property>
115 <property name="maximum">
116 <double>4000.000000000000000</double>
117 </property>
118 </widget>
119 </item>
120 <item row="4" column="0">
121 <widget class="QLabel" name="label_8">
122 <property name="text">
123 <string>Y-Axis Minimum:</string>
124 </property>
125 </widget>
126 </item>
127 <item row="4" column="3">
128 <widget class="QDoubleSpinBox" name="yAxisMaximum">
129 <property name="alignment">
130 <set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
131 </property>
132 <property name="maximum">
133 <double>4000.000000000000000</double>
134 </property>
135 </widget>
136 </item>
137 <item row="1" column="1">
138 <widget class="QDoubleSpinBox" name="scaleSpinBox">
139 <property name="alignment">
140 <set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
141 </property>
142 <property name="decimals">
143 <number>4</number>
144 </property>
145 <property name="singleStep">
146 <double>0.100000000000000</double>
147 </property>
148 <property name="value">
149 <double>1.000000000000000</double>
150 </property>
151 </widget>
152 </item>
153 <item row="2" column="0">
154 <widget class="QLabel" name="label_13">
155 <property name="text">
156 <string>Peak Width:</string>
157 </property>
158 </widget>
159 </item>
160 <item row="2" column="1">
161 <widget class="QDoubleSpinBox" name="peakWidth">
162 <property name="alignment">
163 <set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
164 </property>
165 <property name="minimum">
166 <double>0.010000000000000</double>
167 </property>
168 </widget>
169 </item>
170 <item row="2" column="3">
171 <widget class="QDoubleSpinBox" name="peakThreshold">
172 <property name="enabled">
173 <bool>false</bool>
174 </property>
175 <property name="alignment">
176 <set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
177 </property>
178 </widget>
179 </item>
180 <item row="2" column="2">
181 <widget class="QLabel" name="label_27">
182 <property name="text">
183 <string>Peak Threshold:</string>
184 </property>
185 </widget>
186 </item>
187 <item row="0" column="0">
188 <widget class="QLabel" name="unitsLabel">
189 <property name="text">
190 <string>Units:</string>
191 </property>
192 </widget>
193 </item>
194 <item row="0" column="1">
195 <widget class="QComboBox" name="unitsCombo">
196 <property name="enabled">
197 <bool>false</bool>
198 </property>
199 </widget>
200 </item>
201 </layout>
202 </widget>
203 <widget class="QWidget" name="tab_appearance">
204 <attribute name="title">
205 <string>&amp;Appearance</string>
206 </attribute>
207 <layout class="QGridLayout" name="gridLayout_3">
208 <item row="3" column="1">
209 <widget class="QPushButton" name="push_colorCalculated">
210 <property name="sizePolicy">
211 <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
212 <horstretch>0</horstretch>
213 <verstretch>0</verstretch>
214 </sizepolicy>
215 </property>
216 <property name="text">
217 <string>Set Color…</string>
218 </property>
219 </widget>
220 </item>
221 <item row="2" column="2">
222 <widget class="QLabel" name="label_6">
223 <property name="sizePolicy">
224 <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
225 <horstretch>0</horstretch>
226 <verstretch>0</verstretch>
227 </sizepolicy>
228 </property>
229 <property name="text">
230 <string>Axis:</string>
231 </property>
232 </widget>
233 </item>
234 <item row="5" column="0">
235 <widget class="QLabel" name="label_4">
236 <property name="text">
237 <string>Imported Spectra:</string>
238 </property>
239 </widget>
240 </item>
241 <item row="6" column="3">
242 <widget class="QComboBox" name="fontSizeCombo">
243 <property name="editable">
244 <bool>true</bool>
245 </property>
246 <item>
247 <property name="text">
248 <string>10</string>
249 </property>
250 </item>
251 <item>
252 <property name="text">
253 <string>12</string>
254 </property>
255 </item>
256 <item>
257 <property name="text">
258 <string>14</string>
259 </property>
260 </item>
261 <item>
262 <property name="text">
263 <string>16</string>
264 </property>
265 </item>
266 <item>
267 <property name="text">
268 <string>18</string>
269 </property>
270 </item>
271 </widget>
272 </item>
273 <item row="6" column="2">
274 <widget class="QLabel" name="label">
275 <property name="text">
276 <string>Font Size:</string>
277 </property>
278 </widget>
279 </item>
280 <item row="6" column="0">
281 <widget class="QLabel" name="label_5">
282 <property name="toolTip">
283 <string extracomment="Size in pixels of the line drawing the spectra"/>
284 </property>
285 <property name="text">
286 <string comment="Size in pixels of the line drawing the spectra">Line Width:</string>
287 </property>
288 </widget>
289 </item>
290 <item row="5" column="2">
291 <widget class="QCheckBox" name="cb_import">
292 <property name="enabled">
293 <bool>false</bool>
294 </property>
295 <property name="text">
296 <string>Show</string>
297 </property>
298 </widget>
299 </item>
300 <item row="5" column="3">
301 <widget class="QPushButton" name="push_import">
302 <property name="enabled">
303 <bool>true</bool>
304 </property>
305 <property name="sizePolicy">
306 <sizepolicy hsizetype="Ignored" vsizetype="Fixed">
307 <horstretch>0</horstretch>
308 <verstretch>0</verstretch>
309 </sizepolicy>
310 </property>
311 <property name="toolTip">
312 <string>Imports a tsv of experimental spectra to overlay on the plot.</string>
313 </property>
314 <property name="text">
315 <string>&amp;Import…</string>
316 </property>
317 </widget>
318 </item>
319 <item row="2" column="0">
320 <widget class="QLabel" name="label_2">
321 <property name="sizePolicy">
322 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
323 <horstretch>0</horstretch>
324 <verstretch>0</verstretch>
325 </sizepolicy>
326 </property>
327 <property name="text">
328 <string>Background:</string>
329 </property>
330 </widget>
331 </item>
332 <item row="3" column="0">
333 <widget class="QLabel" name="label_3">
334 <property name="sizePolicy">
335 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
336 <horstretch>0</horstretch>
337 <verstretch>0</verstretch>
338 </sizepolicy>
339 </property>
340 <property name="text">
341 <string>Calculated Spectra:</string>
342 </property>
343 </widget>
344 </item>
345 <item row="6" column="1">
346 <widget class="QDoubleSpinBox" name="lineWidthSpinBox">
347 <property name="alignment">
348 <set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
349 </property>
350 <property name="decimals">
351 <number>1</number>
352 </property>
353 <property name="minimum">
354 <double>1.000000000000000</double>
355 </property>
356 <property name="maximum">
357 <double>10.000000000000000</double>
358 </property>
359 <property name="singleStep">
360 <double>0.500000000000000</double>
361 </property>
362 </widget>
363 </item>
364 <item row="5" column="1">
365 <widget class="QPushButton" name="push_colorImported">
366 <property name="enabled">
367 <bool>true</bool>
368 </property>
369 <property name="sizePolicy">
370 <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
371 <horstretch>0</horstretch>
372 <verstretch>0</verstretch>
373 </sizepolicy>
374 </property>
375 <property name="text">
376 <string>Set Color…</string>
377 </property>
378 </widget>
379 </item>
380 <item row="2" column="1">
381 <widget class="QPushButton" name="push_colorBackground">
382 <property name="sizePolicy">
383 <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
384 <horstretch>0</horstretch>
385 <verstretch>0</verstretch>
386 </sizepolicy>
387 </property>
388 <property name="text">
389 <string>Set Color…</string>
390 </property>
391 </widget>
392 </item>
393 <item row="2" column="3">
394 <widget class="QPushButton" name="push_colorForeground">
395 <property name="sizePolicy">
396 <sizepolicy hsizetype="Ignored" vsizetype="Fixed">
397 <horstretch>0</horstretch>
398 <verstretch>0</verstretch>
399 </sizepolicy>
400 </property>
401 <property name="text">
402 <string>Set Color…</string>
403 </property>
404 </widget>
405 </item>
406 <item row="4" column="0">
407 <widget class="QLabel" name="label_14">
408 <property name="text">
409 <string>Raw Spectra:</string>
410 </property>
411 </widget>
412 </item>
413 <item row="4" column="1">
414 <widget class="QPushButton" name="push_colorRaw">
415 <property name="sizePolicy">
416 <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
417 <horstretch>0</horstretch>
418 <verstretch>0</verstretch>
419 </sizepolicy>
420 </property>
421 <property name="text">
422 <string>Set Color…</string>
423 </property>
424 </widget>
425 </item>
426 <item row="4" column="2">
427 <widget class="QCheckBox" name="cb_raw">
428 <property name="enabled">
429 <bool>true</bool>
430 </property>
431 <property name="sizePolicy">
432 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
433 <horstretch>0</horstretch>
434 <verstretch>0</verstretch>
435 </sizepolicy>
436 </property>
437 <property name="text">
438 <string>Show</string>
439 </property>
440 <property name="checked">
441 <bool>true</bool>
442 </property>
443 </widget>
444 </item>
445 <item row="3" column="3">
446 <widget class="QPushButton" name="push_export">
447 <property name="enabled">
448 <bool>false</bool>
449 </property>
450 <property name="sizePolicy">
451 <sizepolicy hsizetype="Ignored" vsizetype="Fixed">
452 <horstretch>0</horstretch>
453 <verstretch>0</verstretch>
454 </sizepolicy>
455 </property>
456 <property name="text">
457 <string>&amp;Export…</string>
458 </property>
459 </widget>
460 </item>
461 </layout>
462 </widget>
463 </widget>
464 </item>
465 <item row="5" column="0">
466 <widget class="QComboBox" name="combo_spectra">
467 <property name="sizePolicy">
468 <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
469 <horstretch>0</horstretch>
470 <verstretch>0</verstretch>
471 </sizepolicy>
472 </property>
473 </widget>
474 </item>
475 <item row="9" column="8">
476 <widget class="QPushButton" name="push_exportData">
477 <property name="text">
478 <string>Export Data</string>
479 </property>
480 </widget>
481 </item>
482 <item row="5" column="4">
483 <widget class="QPushButton" name="pushButton">
484 <property name="sizePolicy">
485 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
486 <horstretch>0</horstretch>
487 <verstretch>0</verstretch>
488 </sizepolicy>
489 </property>
490 <property name="text">
491 <string>&amp;Close</string>
492 </property>
493 </widget>
494 </item>
495 <item row="5" column="3">
496 <widget class="QPushButton" name="push_options">
497 <property name="sizePolicy">
498 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
499 <horstretch>0</horstretch>
500 <verstretch>0</verstretch>
501 </sizepolicy>
502 </property>
503 <property name="text">
504 <string>&amp;Options…</string>
505 </property>
506 </widget>
507 </item>
508 <item row="0" column="8" rowspan="9">
509 <widget class="QTableWidget" name="dataTable">
510 <property name="sizePolicy">
511 <sizepolicy hsizetype="Fixed" vsizetype="Expanding">
512 <horstretch>0</horstretch>
513 <verstretch>0</verstretch>
514 </sizepolicy>
515 </property>
516 <property name="minimumSize">
517 <size>
518 <width>160</width>
519 <height>0</height>
520 </size>
521 </property>
522 <property name="horizontalScrollBarPolicy">
523 <enum>Qt::ScrollBarPolicy::ScrollBarAlwaysOff</enum>
524 </property>
525 <property name="editTriggers">
526 <set>QAbstractItemView::EditTrigger::NoEditTriggers</set>
527 </property>
528 <property name="alternatingRowColors">
529 <bool>true</bool>
530 </property>
531 <property name="selectionMode">
532 <enum>QAbstractItemView::SelectionMode::SingleSelection</enum>
533 </property>
534 <property name="selectionBehavior">
535 <enum>QAbstractItemView::SelectionBehavior::SelectRows</enum>
536 </property>
537 <property name="sortingEnabled">
538 <bool>true</bool>
539 </property>
540 <attribute name="horizontalHeaderVisible">
541 <bool>true</bool>
542 </attribute>
543 <attribute name="horizontalHeaderCascadingSectionResizes">
544 <bool>false</bool>
545 </attribute>
546 <attribute name="horizontalHeaderHighlightSections">
547 <bool>false</bool>
548 </attribute>
549 <attribute name="verticalHeaderVisible">
550 <bool>true</bool>
551 </attribute>
552 <column>
553 <property name="text">
554 <string>x</string>
555 </property>
556 </column>
557 <column>
558 <property name="text">
559 <string>y</string>
560 </property>
561 </column>
562 </widget>
563 </item>
564 <item row="0" column="0" colspan="5">
565 <widget class="Avogadro::QtGui::ChartWidget" name="plot" native="true">
566 <property name="sizePolicy">
567 <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
568 <horstretch>0</horstretch>
569 <verstretch>0</verstretch>
570 </sizepolicy>
571 </property>
572 <property name="minimumSize">
573 <size>
574 <width>500</width>
575 <height>210</height>
576 </size>
577 </property>
578 <property name="baseSize">
579 <size>
580 <width>800</width>
581 <height>600</height>
582 </size>
583 </property>
584 <property name="cursor">
585 <cursorShape>CrossCursor</cursorShape>
586 </property>
587 <property name="toolTip">
588 <string>Controls:
589 Double left click: Restore default axis limits
590 Right click + drag: Move plot
591 Middle click + drag: Zoom to region
592 Scroll wheel: Zoom to cursor</string>
593 </property>
594 </widget>
595 </item>
596 <item row="5" column="2">
597 <widget class="QPushButton" name="push_loadSpectra">
598 <property name="enabled">
599 <bool>false</bool>
600 </property>
601 <property name="sizePolicy">
602 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
603 <horstretch>0</horstretch>
604 <verstretch>0</verstretch>
605 </sizepolicy>
606 </property>
607 <property name="text">
608 <string>&amp;Load data…</string>
609 </property>
610 </widget>
611 </item>
612 <item row="5" column="1">
613 <widget class="QComboBox" name="elementCombo">
614 <item>
615 <property name="text">
616 <string notr="true">¹H</string>
617 </property>
618 </item>
619 <item>
620 <property name="text">
621 <string notr="true">¹³C</string>
622 </property>
623 </item>
624 </widget>
625 </item>
626 </layout>
627 </widget>
628 <customwidgets>
629 <customwidget>
630 <class>Avogadro::QtGui::ChartWidget</class>
631 <extends>QWidget</extends>
632 <header location="global">avogadro/qtgui/chartwidget.h</header>
633 <container>1</container>
634 </customwidget>
635 </customwidgets>
636 <tabstops>
637 <tabstop>combo_spectra</tabstop>
638 <tabstop>push_loadSpectra</tabstop>
639 <tabstop>push_options</tabstop>
640 <tabstop>scaleSpinBox</tabstop>
641 <tabstop>offsetSpinBox</tabstop>
642 <tabstop>peakWidth</tabstop>
643 <tabstop>peakThreshold</tabstop>
644 <tabstop>xAxisMinimum</tabstop>
645 <tabstop>xAxisMaximum</tabstop>
646 <tabstop>yAxisMinimum</tabstop>
647 <tabstop>yAxisMaximum</tabstop>
648 <tabstop>push_colorBackground</tabstop>
649 <tabstop>push_colorForeground</tabstop>
650 <tabstop>push_colorCalculated</tabstop>
651 <tabstop>push_export</tabstop>
652 <tabstop>push_colorImported</tabstop>
653 <tabstop>cb_import</tabstop>
654 <tabstop>push_import</tabstop>
655 <tabstop>lineWidthSpinBox</tabstop>
656 <tabstop>fontSizeCombo</tabstop>
657 <tabstop>dataTable</tabstop>
658 <tabstop>push_exportData</tabstop>
659 <tabstop>pushButton</tabstop>
660 <tabstop>tab_widget</tabstop>
661 </tabstops>
662 <resources/>
663 <connections>
664 <connection>
665 <sender>pushButton</sender>
666 <signal>clicked()</signal>
667 <receiver>SpectraDialog</receiver>
668 <slot>accept()</slot>
669 <hints>
670 <hint type="sourcelabel">
671 <x>525</x>
672 <y>277</y>
673 </hint>
674 <hint type="destinationlabel">
675 <x>199</x>
676 <y>149</y>
677 </hint>
678 </hints>
679 </connection>
680 </connections>
681 </ui>