496 lines
15 KiB
XML
496 lines
15 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>CWaveDisPlay</class>
|
|
<widget class="QWidget" name="CWaveDisPlay">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>1170</width>
|
|
<height>525</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Form</string>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">#widget_4,#widget {font: 10pt "黑体";color: rgb(27, 30, 35);}
|
|
#Btn_Hand { border-image:url(:/image/Btn/hand.png) 5; }
|
|
#Btn_Hand:hover { border-image:url(:/image/Btn/hand-p.png) 5; }
|
|
#zBtn_Hand:pressed {border-image:url(:/image/Btn/hand-p.png) 5; }
|
|
#Btn_Hand:checked {border-image:url(:/image/Btn/hand-p.png) 5; }
|
|
|
|
#Btn_Zoom { border-image:url(:/image/Btn/Zoom.png) 5; }
|
|
#Btn_Zoom:hover { border-image:url(:/image/Btn/Zoom-p.png) 5; }
|
|
#Btn_Zoom:pressed {border-image:url(:/image/Btn/Zoom-p.png) 5; }
|
|
#Btn_Zoom:checked {border-image:url(:/image/Btn/Zoom-p.png) 5; }
|
|
|
|
#Btn_Scales { border-image:url(:/image/Btn/scales.png) 5; }
|
|
#Btn_Scales:hover { border-image:url(:/image/Btn/scales-p.png) 5; }
|
|
#Btn_Scales:pressed {border-image:url(:/image/Btn/scales-p.png) 5; }
|
|
|
|
#Btn_Timewave { border-image:url(:/image/Btn/timewave.png) 5; }
|
|
#Btn_Timewave:hover { border-image:url(:/image/Btn/timewave-p.png) 5; }
|
|
#Btn_Timewave:pressed {border-image:url(:/image/Btn/timewave-p.png) 5; }
|
|
#Btn_Timewave:checked {border-image:url(:/image/Btn/timewave-p.png) 5; }
|
|
|
|
#Btn_Fswave { border-image:url(:/image/Btn/fswave.png) 5; }
|
|
#Btn_Fswave:hover { border-image:url(:/image/Btn/fswave-p.png) 5; }
|
|
#Btn_Fswave:pressed {border-image:url(:/image/Btn/fswave-p.png) 5; }
|
|
#Btn_Fswave:checked {border-image:url(:/image/Btn/fswave-p.png) 5; }</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<property name="topMargin">
|
|
<number>30</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>30</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>30</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QWidget" name="widget" native="true">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>50</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>16777215</width>
|
|
<height>50</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">font: 10pt "黑体";color: rgb(27, 30, 35);</string>
|
|
</property>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
|
<item>
|
|
<spacer name="horizontalSpacer_4">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>389</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label">
|
|
<property name="font">
|
|
<font>
|
|
<family>黑体</family>
|
|
<pointsize>10</pointsize>
|
|
<weight>50</weight>
|
|
<italic>false</italic>
|
|
<bold>false</bold>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">color: rgb(255, 255, 255);</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>波形图</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer_5">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>389</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QWidget" name="widget_3" native="true">
|
|
<property name="styleSheet">
|
|
<string notr="true">font: 10pt "黑体";color: rgb(27, 30, 35);</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
<item>
|
|
<widget class="QWidget" name="widget_4" native="true">
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>16777215</width>
|
|
<height>60</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true"/>
|
|
</property>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<item>
|
|
<widget class="QPushButton" name="Btn_Hand">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>45</width>
|
|
<height>45</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>45</width>
|
|
<height>45</height>
|
|
</size>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>移动</string>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="Btn_Zoom">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>45</width>
|
|
<height>45</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>45</width>
|
|
<height>45</height>
|
|
</size>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>聚焦</string>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="Btn_Scales">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>45</width>
|
|
<height>45</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>45</width>
|
|
<height>45</height>
|
|
</size>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>自动缩放XY</string>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true"/>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="Btn_Timewave">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>45</width>
|
|
<height>45</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>45</width>
|
|
<height>45</height>
|
|
</size>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>时域图</string>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true"/>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="Btn_Fswave">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>45</width>
|
|
<height>45</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>45</width>
|
|
<height>45</height>
|
|
</size>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>频域图</string>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true"/>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer_3">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
<item>
|
|
<widget class="QLabel" name="label_3">
|
|
<property name="styleSheet">
|
|
<string notr="true"/>
|
|
</property>
|
|
<property name="text">
|
|
<string>通道配置:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QComboBox" name="comboBox_channel_2">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>150</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>16777215</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">font: 10pt "宋体";</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>56</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="pushButton_1S">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>96</width>
|
|
<height>28</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>96</width>
|
|
<height>28</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">#pushButton_1S { border-image: url(:/image/Btn/normal_Btn.png);
|
|
color:#1f5188 }
|
|
#pushButton_1S:hover { border-image: url(:/image/Btn/normal_Btn_p.png);
|
|
color:#ffffff}
|
|
#pushButton_1S:pressed { border-image: url(:/image/Btn/normal_Btn_p.png);
|
|
color:#ffffff}
|
|
#pushButton_1S:checked { border-image: url(:/image/Btn/normal_Btn_p.png);
|
|
color:#ffffff}</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>1S</string>
|
|
</property>
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="pushButton_4S">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>96</width>
|
|
<height>28</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>96</width>
|
|
<height>28</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">#pushButton_4S { border-image: url(:/image/Btn/normal_Btn.png);
|
|
color:#1f5188 }
|
|
#pushButton_4S:hover { border-image: url(:/image/Btn/normal_Btn_p.png);
|
|
color:#ffffff}
|
|
#pushButton_4S:pressed { border-image: url(:/image/Btn/normal_Btn_p.png);
|
|
color:#ffffff}
|
|
#pushButton_4S:checked { border-image: url(:/image/Btn/normal_Btn_p.png);
|
|
color:#ffffff}</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>4S</string>
|
|
</property>
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="pushButton_refresh">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>96</width>
|
|
<height>28</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>96</width>
|
|
<height>28</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">#pushButton_refresh { border-image: url(:/image/Btn/normal_Btn.png);
|
|
color:#1f5188 }
|
|
#pushButton_refresh:hover { border-image: url(:/image/Btn/normal_Btn_p.png);
|
|
color:#ffffff}
|
|
#pushButton_refresh:pressed { border-image: url(:/image/Btn/normal_Btn_p.png);
|
|
color:#ffffff}
|
|
#pushButton_refresh:checked { border-image: url(:/image/Btn/normal_Btn_p.png);
|
|
color:#ffffff}</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>刷新</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="pushButton_refreshauto">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>96</width>
|
|
<height>28</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>96</width>
|
|
<height>28</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">#pushButton_refreshauto { border-image: url(:/image/Btn/normal_Btn.png);
|
|
color:#1f5188 }
|
|
#pushButton_refreshauto:hover { border-image: url(:/image/Btn/normal_Btn_p.png);
|
|
color:#ffffff}
|
|
#pushButton_refreshauto:pressed { border-image: url(:/image/Btn/normal_Btn_p.png);
|
|
color:#ffffff}
|
|
#pushButton_refreshauto:checked { border-image: url(:/image/Btn/normal_Btn_p.png);
|
|
color:#ffffff}</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>自动刷新</string>
|
|
</property>
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer_2">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QCustomPlot" name="widget_wave" native="true"/>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>QCustomPlot</class>
|
|
<extends>QWidget</extends>
|
|
<header location="global">qcustomplot.h</header>
|
|
<container>1</container>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|