398 lines
12 KiB
XML
398 lines
12 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
||
<ui version="4.0">
|
||
<class>MainWindow</class>
|
||
<widget class="QMainWindow" name="MainWindow">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>0</x>
|
||
<y>0</y>
|
||
<width>809</width>
|
||
<height>718</height>
|
||
</rect>
|
||
</property>
|
||
<property name="windowTitle">
|
||
<string>MainWindow</string>
|
||
</property>
|
||
<widget class="QWidget" name="centralwidget">
|
||
<layout class="QGridLayout" name="gridLayout_2">
|
||
<property name="leftMargin">
|
||
<number>2</number>
|
||
</property>
|
||
<property name="topMargin">
|
||
<number>0</number>
|
||
</property>
|
||
<property name="rightMargin">
|
||
<number>2</number>
|
||
</property>
|
||
<property name="bottomMargin">
|
||
<number>0</number>
|
||
</property>
|
||
<item row="0" column="0">
|
||
<widget class="QSplitter" name="splitter_4">
|
||
<property name="orientation">
|
||
<enum>Qt::Vertical</enum>
|
||
</property>
|
||
<property name="handleWidth">
|
||
<number>2</number>
|
||
</property>
|
||
<widget class="QSplitter" name="splitter_3">
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
||
<horstretch>0</horstretch>
|
||
<verstretch>7</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
<property name="orientation">
|
||
<enum>Qt::Horizontal</enum>
|
||
</property>
|
||
<property name="handleWidth">
|
||
<number>2</number>
|
||
</property>
|
||
<widget class="QSplitter" name="splitter_2">
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
||
<horstretch>1</horstretch>
|
||
<verstretch>0</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
<property name="orientation">
|
||
<enum>Qt::Horizontal</enum>
|
||
</property>
|
||
<widget class="QWidget" name="layoutWidget">
|
||
<layout class="QVBoxLayout" name="verticalLayout">
|
||
<item>
|
||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||
<item>
|
||
<widget class="QPushButton" name="pbt_cfg">
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>40</width>
|
||
<height>0</height>
|
||
</size>
|
||
</property>
|
||
<property name="maximumSize">
|
||
<size>
|
||
<width>75</width>
|
||
<height>16777215</height>
|
||
</size>
|
||
</property>
|
||
<property name="text">
|
||
<string>配置</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QPushButton" name="pbt_start_test">
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>40</width>
|
||
<height>0</height>
|
||
</size>
|
||
</property>
|
||
<property name="maximumSize">
|
||
<size>
|
||
<width>75</width>
|
||
<height>16777215</height>
|
||
</size>
|
||
</property>
|
||
<property name="text">
|
||
<string>开始测试</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</item>
|
||
<item>
|
||
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
||
<item>
|
||
<widget class="QLabel" name="label">
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
|
||
<horstretch>0</horstretch>
|
||
<verstretch>0</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
<property name="maximumSize">
|
||
<size>
|
||
<width>60</width>
|
||
<height>16777215</height>
|
||
</size>
|
||
</property>
|
||
<property name="whatsThis">
|
||
<string><html><head/><body><p>测试循环次数,0表示无限循环,默认为1</p></body></html></string>
|
||
</property>
|
||
<property name="text">
|
||
<string>循环次数:</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLineEdit" name="edit_cycle_index">
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
||
<horstretch>0</horstretch>
|
||
<verstretch>0</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>40</width>
|
||
<height>0</height>
|
||
</size>
|
||
</property>
|
||
<property name="maximumSize">
|
||
<size>
|
||
<width>90</width>
|
||
<height>16777215</height>
|
||
</size>
|
||
</property>
|
||
<property name="text">
|
||
<string>1</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</item>
|
||
<item>
|
||
<widget class="QTreeWidget" name="widget_dtest">
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Minimum" vsizetype="Expanding">
|
||
<horstretch>0</horstretch>
|
||
<verstretch>7</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>150</width>
|
||
<height>0</height>
|
||
</size>
|
||
</property>
|
||
<property name="maximumSize">
|
||
<size>
|
||
<width>150</width>
|
||
<height>16777215</height>
|
||
</size>
|
||
</property>
|
||
<column>
|
||
<property name="text">
|
||
<string>编号</string>
|
||
</property>
|
||
</column>
|
||
<column>
|
||
<property name="text">
|
||
<string>dtest名称</string>
|
||
</property>
|
||
</column>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
<widget class="QTreeWidget" name="widget_case">
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Minimum" vsizetype="Expanding">
|
||
<horstretch>0</horstretch>
|
||
<verstretch>7</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>150</width>
|
||
<height>0</height>
|
||
</size>
|
||
</property>
|
||
<property name="maximumSize">
|
||
<size>
|
||
<width>150</width>
|
||
<height>16777215</height>
|
||
</size>
|
||
</property>
|
||
<column>
|
||
<property name="text">
|
||
<string>编号</string>
|
||
</property>
|
||
</column>
|
||
<column>
|
||
<property name="text">
|
||
<string>case名称</string>
|
||
</property>
|
||
</column>
|
||
</widget>
|
||
</widget>
|
||
<widget class="QSplitter" name="splitter">
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
|
||
<horstretch>7</horstretch>
|
||
<verstretch>0</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
<property name="orientation">
|
||
<enum>Qt::Vertical</enum>
|
||
</property>
|
||
<property name="handleWidth">
|
||
<number>0</number>
|
||
</property>
|
||
<widget class="QTextEdit" name="edit_terminal">
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
||
<horstretch>0</horstretch>
|
||
<verstretch>7</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
</widget>
|
||
<widget class="QTableWidget" name="widget_rule">
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
||
<horstretch>0</horstretch>
|
||
<verstretch>3</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
<column>
|
||
<property name="text">
|
||
<string>使能</string>
|
||
</property>
|
||
</column>
|
||
<column>
|
||
<property name="text">
|
||
<string>次数</string>
|
||
</property>
|
||
</column>
|
||
<column>
|
||
<property name="text">
|
||
<string>颜色</string>
|
||
</property>
|
||
</column>
|
||
<column>
|
||
<property name="text">
|
||
<string>关键字</string>
|
||
</property>
|
||
</column>
|
||
</widget>
|
||
</widget>
|
||
</widget>
|
||
<widget class="QWidget" name="widget_debug" native="true">
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
|
||
<horstretch>0</horstretch>
|
||
<verstretch>3</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
<property name="maximumSize">
|
||
<size>
|
||
<width>16777215</width>
|
||
<height>16777215</height>
|
||
</size>
|
||
</property>
|
||
<layout class="QGridLayout" name="gridLayout">
|
||
<property name="leftMargin">
|
||
<number>0</number>
|
||
</property>
|
||
<property name="topMargin">
|
||
<number>0</number>
|
||
</property>
|
||
<property name="rightMargin">
|
||
<number>0</number>
|
||
</property>
|
||
<property name="bottomMargin">
|
||
<number>0</number>
|
||
</property>
|
||
<item row="0" column="0">
|
||
<widget class="QTextEdit" name="edit_debug">
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
||
<horstretch>0</horstretch>
|
||
<verstretch>0</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
<widget class="QMenuBar" name="menubar">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>0</x>
|
||
<y>0</y>
|
||
<width>809</width>
|
||
<height>23</height>
|
||
</rect>
|
||
</property>
|
||
<widget class="QMenu" name="menu_file">
|
||
<property name="title">
|
||
<string>文件</string>
|
||
</property>
|
||
<addaction name="act_load"/>
|
||
<addaction name="act_save"/>
|
||
<addaction name="act_save_as"/>
|
||
<addaction name="separator"/>
|
||
</widget>
|
||
<widget class="QMenu" name="menu_interface">
|
||
<property name="title">
|
||
<string>界面</string>
|
||
</property>
|
||
<addaction name="act_debug_visible"/>
|
||
<addaction name="act_debug_invisible"/>
|
||
<addaction name="separator"/>
|
||
</widget>
|
||
<widget class="QMenu" name="menu_about">
|
||
<property name="title">
|
||
<string>关于</string>
|
||
</property>
|
||
</widget>
|
||
<addaction name="menu_file"/>
|
||
<addaction name="menu_interface"/>
|
||
<addaction name="menu_about"/>
|
||
</widget>
|
||
<widget class="QStatusBar" name="statusbar"/>
|
||
<action name="act_load">
|
||
<property name="text">
|
||
<string>导入xml</string>
|
||
</property>
|
||
</action>
|
||
<action name="act_save">
|
||
<property name="text">
|
||
<string>保存xml</string>
|
||
</property>
|
||
</action>
|
||
<action name="act_save_as">
|
||
<property name="text">
|
||
<string>另存xml</string>
|
||
</property>
|
||
</action>
|
||
<action name="act_debug_visible">
|
||
<property name="text">
|
||
<string>隐藏调试界面</string>
|
||
</property>
|
||
<property name="whatsThis">
|
||
<string>打开一个窗口并显示程序自身的调试日志</string>
|
||
</property>
|
||
</action>
|
||
<action name="act_debug_invisible">
|
||
<property name="text">
|
||
<string>显示调试界面</string>
|
||
</property>
|
||
</action>
|
||
<action name="act_sel_all">
|
||
<property name="text">
|
||
<string>全选</string>
|
||
</property>
|
||
<property name="toolTip">
|
||
<string>全选当前界面所有选项</string>
|
||
</property>
|
||
</action>
|
||
<action name="act_sel_none">
|
||
<property name="text">
|
||
<string>全不选</string>
|
||
</property>
|
||
<property name="toolTip">
|
||
<string>取消当前界面所有选项</string>
|
||
</property>
|
||
</action>
|
||
</widget>
|
||
<resources/>
|
||
<connections/>
|
||
</ui>
|