|
174 | 174 | </property> |
175 | 175 | </widget> |
176 | 176 | </item> |
177 | | - <item> |
178 | | - <layout class="QHBoxLayout" name="horizontalLayout"> |
179 | | - <item> |
180 | | - <widget class="QPushButton" name="StartButton"> |
181 | | - <property name="toolTip"> |
182 | | - <string><html><head/><body><p>Run signal-estimator and graph the results</p></body></html></string> |
183 | | - </property> |
184 | | - <property name="text"> |
185 | | - <string>Start</string> |
186 | | - </property> |
187 | | - </widget> |
188 | | - </item> |
189 | | - <item> |
190 | | - <widget class="QPushButton" name="StopButton"> |
191 | | - <property name="toolTip"> |
192 | | - <string><html><head/><body><p>Stop graphing. Please wait for the sounds of signal-estimator to stop</p></body></html></string> |
193 | | - </property> |
194 | | - <property name="text"> |
195 | | - <string>Stop</string> |
196 | | - </property> |
197 | | - </widget> |
198 | | - </item> |
199 | | - </layout> |
200 | | - </item> |
201 | 177 | <item> |
202 | 178 | <layout class="QHBoxLayout" name="horizontalLayout_3"> |
203 | 179 | <item> |
204 | 180 | <widget class ="QCheckBox" name="GridCheckBox"> |
| 181 | + <property name="text"> |
| 182 | + <string>show grid</string> |
| 183 | + </property> |
205 | 184 | </widget> |
206 | 185 | </item> |
207 | | - <item> |
208 | | - <widget class="QLabel" name="GridCheckBoxLabel"> |
209 | | - <property name="text"> |
210 | | - <string><html><head/><body><p>show grid</p></body></html></string> |
211 | | - </property> |
212 | | - </widget> |
213 | | - </item> |
214 | 186 | <item> |
215 | 187 | <spacer name="horizontalSpacer_3"> |
216 | 188 | <property name="orientation"> |
|
448 | 420 | </widget> |
449 | 421 | </item> |
450 | 422 | <item row="5" column="1"> |
451 | | - <widget class="QSpinBox" name="Duration"> |
452 | | - <property name="minimum"> |
| 423 | + <layout class="QHBoxLayout" name="DurationLayout"> |
| 424 | + <property name="margin"> |
453 | 425 | <number>0</number> |
454 | 426 | </property> |
455 | | - <property name="maximum"> |
456 | | - <number>2147483647</number> |
457 | | - </property> |
458 | | - <property name="singleStep"> |
459 | | - <number>1</number> |
460 | | - </property> |
461 | | - <property name="value"> |
462 | | - <number>10</number> |
463 | | - </property> |
464 | | - </widget> |
| 427 | + <item> |
| 428 | + <widget class="QSpinBox" name="Duration"> |
| 429 | + <property name="minimum"> |
| 430 | + <number>1</number> |
| 431 | + </property> |
| 432 | + <property name="maximum"> |
| 433 | + <number>2147483647</number> |
| 434 | + </property> |
| 435 | + <property name="singleStep"> |
| 436 | + <number>1</number> |
| 437 | + </property> |
| 438 | + <property name="value"> |
| 439 | + <number>10</number> |
| 440 | + </property> |
| 441 | + <property name="enabled"> |
| 442 | + <bool>false</bool> |
| 443 | + </property> |
| 444 | + </widget> |
| 445 | + </item> |
| 446 | + <item> |
| 447 | + <widget class="QCheckBox" name="DurationCheckBox"> |
| 448 | + <property name="checked"> |
| 449 | + <bool>true</bool> |
| 450 | + </property> |
| 451 | + <property name="text"> |
| 452 | + <string>run measurement unlimited</string> |
| 453 | + </property> |
| 454 | + </widget> |
| 455 | + </item> |
| 456 | + <item> |
| 457 | + <spacer name="horizontalSpacer"> |
| 458 | + <property name="orientation"> |
| 459 | + <enum>Qt::Horizontal</enum> |
| 460 | + </property> |
| 461 | + <property name="sizeHint" stdset="0"> |
| 462 | + <size> |
| 463 | + <width>40</width> |
| 464 | + <height>20</height> |
| 465 | + </size> |
| 466 | + </property> |
| 467 | + </spacer> |
| 468 | + </item> |
| 469 | + </layout> |
465 | 470 | </item> |
466 | 471 | <item row="6" column="0"> |
467 | 472 | <widget class="QLabel" name="Label1_6"> |
|
683 | 688 | </widget> |
684 | 689 | </item> |
685 | 690 | <item> |
686 | | - <widget class="QLabel" name="ErrorLabel"> |
| 691 | + <widget class="QLabel" name="StatusLabel"> |
687 | 692 | <property name="text"> |
688 | 693 | <string/> |
689 | 694 | </property> |
|
700 | 705 | <height>28</height> |
701 | 706 | </rect> |
702 | 707 | </property> |
| 708 | + <widget class="QMenu" name="menuFile"> |
| 709 | + <property name="title"> |
| 710 | + <string>File</string> |
| 711 | + </property> |
| 712 | + <addaction name="actionQuit"/> |
| 713 | + </widget> |
| 714 | + <widget class="QMenu" name="menuMeasurement"> |
| 715 | + <property name="title"> |
| 716 | + <string>Measurement</string> |
| 717 | + </property> |
| 718 | + <addaction name="actionStart"/> |
| 719 | + <addaction name="actionStop"/> |
| 720 | + </widget> |
| 721 | + <addaction name="menuFile"/> |
| 722 | + <addaction name="menuMeasurement"/> |
703 | 723 | </widget> |
704 | 724 | <widget class="QToolBar" name="mainToolBar"> |
705 | 725 | <attribute name="toolBarArea"> |
|
708 | 728 | <attribute name="toolBarBreak"> |
709 | 729 | <bool>false</bool> |
710 | 730 | </attribute> |
| 731 | + <addaction name="actionStart"/> |
| 732 | + <addaction name="actionStop"/> |
711 | 733 | </widget> |
| 734 | + <action name="actionQuit"> |
| 735 | + <property name="text"> |
| 736 | + <string>Quit</string> |
| 737 | + </property> |
| 738 | + <property name="toolTip"> |
| 739 | + <string>Quit application</string> |
| 740 | + </property> |
| 741 | + <property name="shortcut"> |
| 742 | + <string>Ctrl+Q</string> |
| 743 | + </property> |
| 744 | + </action> |
| 745 | + <action name="actionStart"> |
| 746 | + <property name="text"> |
| 747 | + <string>Start</string> |
| 748 | + </property> |
| 749 | + <property name="toolTip"> |
| 750 | + <string>Start measurement (Ctrl+R)</string> |
| 751 | + </property> |
| 752 | + <property name="shortcut"> |
| 753 | + <string>Ctrl+R</string> |
| 754 | + </property> |
| 755 | + </action> |
| 756 | + <action name="actionStop"> |
| 757 | + <property name="text"> |
| 758 | + <string>Stop</string> |
| 759 | + </property> |
| 760 | + <property name="toolTip"> |
| 761 | + <string>Stop measurement (Ctrl+A)</string> |
| 762 | + </property> |
| 763 | + <property name="shortcut"> |
| 764 | + <string>Ctrl+A</string> |
| 765 | + </property> |
| 766 | + <property name="enabled"> |
| 767 | + <bool>false</bool> |
| 768 | + </property> |
| 769 | + </action> |
712 | 770 | <widget class="QStatusBar" name="statusBar"/> |
713 | 771 | </widget> |
714 | 772 | <layoutdefault spacing="6" margin="11"/> |
|
720 | 778 | </customwidget> |
721 | 779 | </customwidgets> |
722 | 780 | <resources/> |
723 | | - <connections/> |
| 781 | + <connections> |
| 782 | + <connection> |
| 783 | + <sender>actionQuit</sender> |
| 784 | + <signal>triggered()</signal> |
| 785 | + <receiver>MainWindow</receiver> |
| 786 | + <slot>close()</slot> |
| 787 | + <hints> |
| 788 | + <hint type="sourcelabel"> |
| 789 | + <x>-1</x> |
| 790 | + <y>-1</y> |
| 791 | + </hint> |
| 792 | + <hint type="destinationlabel"> |
| 793 | + <x>399</x> |
| 794 | + <y>299</y> |
| 795 | + </hint> |
| 796 | + </hints> |
| 797 | + </connection> |
| 798 | + <connection> |
| 799 | + <sender>actionStart</sender> |
| 800 | + <signal>triggered()</signal> |
| 801 | + <receiver>MainWindow</receiver> |
| 802 | + <slot>on_start()</slot> |
| 803 | + <hints> |
| 804 | + <hint type="sourcelabel"> |
| 805 | + <x>-1</x> |
| 806 | + <y>-1</y> |
| 807 | + </hint> |
| 808 | + <hint type="destinationlabel"> |
| 809 | + <x>399</x> |
| 810 | + <y>299</y> |
| 811 | + </hint> |
| 812 | + </hints> |
| 813 | + </connection> |
| 814 | + <connection> |
| 815 | + <sender>actionStop</sender> |
| 816 | + <signal>triggered()</signal> |
| 817 | + <receiver>MainWindow</receiver> |
| 818 | + <slot>on_stop()</slot> |
| 819 | + <hints> |
| 820 | + <hint type="sourcelabel"> |
| 821 | + <x>-1</x> |
| 822 | + <y>-1</y> |
| 823 | + </hint> |
| 824 | + <hint type="destinationlabel"> |
| 825 | + <x>399</x> |
| 826 | + <y>299</y> |
| 827 | + </hint> |
| 828 | + </hints> |
| 829 | + </connection> |
| 830 | + </connections> |
724 | 831 | </ui> |
0 commit comments