<?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>1012</width> <height>678</height> </rect> </property> <property name="windowTitle"> <string>MainWindow</string> </property> <widget class="QWidget" name="centralwidget"> <widget class="QTextEdit" name="textEdit"> <property name="geometry"> <rect> <x>20</x> <y>500</y> <width>951</width> <height>111</height> </rect> </property> </widget> <widget class="QListWidget" name="listWidget"> <property name="geometry"> <rect> <x>20</x> <y>30</y> <width>181</width> <height>461</height> </rect> </property> </widget> <widget class="QStackedWidget" name="stackedWidget"> <property name="geometry"> <rect> <x>210</x> <y>10</y> <width>761</width> <height>481</height> </rect> </property> <widget class="QWidget" name="page"> <widget class="QTabWidget" name="plc_tab_widget"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>761</width> <height>481</height> </rect> </property> <property name="currentIndex"> <number>-1</number> </property> </widget> </widget> <widget class="QWidget" name="page_2"> <widget class="QTabWidget" name="hmi_tab_widget"> <property name="geometry"> <rect> <x>0</x> <y>20</y> <width>761</width> <height>461</height> </rect> </property> <property name="currentIndex"> <number>-1</number> </property> </widget> </widget> </widget> <widget class="QPushButton" name="btn_insert"> <property name="geometry"> <rect> <x>30</x> <y>0</y> <width>93</width> <height>28</height> </rect> </property> <property name="text"> <string>插入</string> </property> </widget> </widget> <widget class="QMenuBar" name="menubar"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>1012</width> <height>26</height> </rect> </property> <widget class="QMenu" name="menu"> <property name="title"> <string>文件</string> </property> <addaction name="action_new"/> <addaction name="action_open"/> <addaction name="action_save"/> </widget> <widget class="QMenu" name="menu_2"> <property name="title"> <string>页面切换</string> </property> <addaction name="action_plc"/> <addaction name="action_hmi"/> </widget> <widget class="QMenu" name="menu_3"> <property name="title"> <string>仿真</string> </property> <addaction name="action_connect"/> <addaction name="action_disconnect"/> </widget> <addaction name="menu"/> <addaction name="menu_2"/> <addaction name="menu_3"/> </widget> <widget class="QStatusBar" name="statusbar"/> <action name="action_new"> <property name="text"> <string>New</string> </property> </action> <action name="action_open"> <property name="text"> <string>Open</string> </property> </action> <action name="action_save"> <property name="text"> <string>Save</string> </property> </action> <action name="action_plc"> <property name="text"> <string>PLC</string> </property> </action> <action name="action_hmi"> <property name="text"> <string>HMI</string> </property> </action> <action name="action_connect"> <property name="text"> <string>connect</string> </property> </action> <action name="action_disconnect"> <property name="text"> <string>disconnect</string> </property> </action> </widget> <resources/> <connections/> </ui>