<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>GeneralTestingClass</class> <widget class="QMainWindow" name="GeneralTestingClass"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>926</width> <height>635</height> </rect> </property> <property name="windowTitle"> <string>通用数据测试软件</string> </property> <widget class="QWidget" name="centralWidget"> <layout class="QVBoxLayout" name="verticalLayout"> <item> <widget class="QStackedWidget" name="sw_pageSwitch"> <property name="styleSheet"> <string notr="true">QStackedWidget#sw_pageSwitch{ border:1px solid; } </string> </property> <property name="currentIndex"> <number>2</number> </property> <widget class="QWidget" name="page_1"/> <widget class="QWidget" name="page_2"/> <widget class="QWidget" name="page_3"/> </widget> </item> </layout> </widget> <widget class="QMenuBar" name="menuBar"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>926</width> <height>30</height> </rect> </property> <property name="sizePolicy"> <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>0</width> <height>0</height> </size> </property> <property name="maximumSize"> <size> <width>16777215</width> <height>16777215</height> </size> </property> <property name="font"> <font> <family>Microsoft YaHei UI</family> </font> </property> <property name="defaultUp"> <bool>false</bool> </property> <property name="nativeMenuBar"> <bool>false</bool> </property> <widget class="QMenu" name="menuFile"> <property name="title"> <string>文件</string> </property> <addaction name="actionImport"/> <addaction name="actionQuit"/> </widget> <widget class="QMenu" name="menuView"> <property name="title"> <string>视图</string> </property> <addaction name="actionMain"/> <addaction name="actionConfig"/> <addaction name="actionVideo"/> </widget> <addaction name="menuFile"/> <addaction name="menuView"/> </widget> <widget class="QToolBar" name="toolBar"> <property name="windowTitle"> <string>toolBar</string> </property> <attribute name="toolBarArea"> <enum>TopToolBarArea</enum> </attribute> <attribute name="toolBarBreak"> <bool>false</bool> </attribute> <addaction name="actionImport"/> </widget> <action name="actionQuit"> <property name="text"> <string>退出</string> </property> <property name="toolTip"> <string>退出</string> </property> <property name="shortcut"> <string>Ctrl+Q</string> </property> </action> <action name="actionImport"> <property name="icon"> <iconset resource="GeneralTesting.qrc"> <normaloff>:/GeneralTesting/UI/Open.png</normaloff>:/GeneralTesting/UI/Open.png</iconset> </property> <property name="text"> <string>导入</string> </property> <property name="toolTip"> <string>导入</string> </property> <property name="shortcut"> <string>Ctrl+O</string> </property> </action> <action name="actionMain"> <property name="text"> <string>主界面</string> </property> <property name="toolTip"> <string>主界面</string> </property> <property name="shortcut"> <string>Ctrl+M</string> </property> </action> <action name="actionConfig"> <property name="text"> <string>参数配置</string> </property> <property name="toolTip"> <string>参数配置</string> </property> <property name="shortcut"> <string>Ctrl+F</string> </property> </action> <action name="actionVideo"> <property name="text"> <string>视频显示</string> </property> <property name="shortcut"> <string>Ctrl+H</string> </property> </action> </widget> <layoutdefault spacing="6" margin="11"/> <resources> <include location="GeneralTesting.qrc"/> </resources> <connections/> </ui>