<?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>952</width> <height>718</height> </rect> </property> <property name="windowTitle"> <string> 综合平台编程器</string> </property> <widget class="QWidget" name="centralwidget"> <layout class="QGridLayout" name="gridLayout"> <item row="0" column="1"> <widget class="QTabWidget" name="tabWidget"> <property name="font"> <font> <family>Times New Roman</family> <pointsize>12</pointsize> </font> </property> <property name="currentIndex"> <number>1</number> </property> <widget class="QWidget" name="tab"> <attribute name="title"> <string>PLC 编程</string> </attribute> <layout class="QGridLayout" name="gridLayout_2"> <item row="0" column="1"> <widget class="QGraphicsView" name="graphicsView"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> <horstretch>1</horstretch> <verstretch>1</verstretch> </sizepolicy> </property> <property name="frameShadow"> <enum>QFrame::Plain</enum> </property> <property name="lineWidth"> <number>1</number> </property> </widget> </item> <item row="0" column="0"> <widget class="QTreeWidget" name="treeWidget"> <property name="font"> <font> <family>宋体</family> <pointsize>16</pointsize> </font> </property> <column> <property name="text"> <string>控件栏</string> </property> <property name="textAlignment"> <set>AlignCenter</set> </property> </column> <item> <property name="text"> <string>常开</string> </property> </item> <item> <property name="text"> <string>常闭</string> </property> </item> <item> <property name="text"> <string>比较指令</string> </property> </item> <item> <property name="text"> <string>线圈</string> </property> </item> </widget> </item> </layout> </widget> <widget class="QWidget" name="tab_2"> <attribute name="title"> <string>HMI 编程</string> </attribute> <layout class="QGridLayout" name="gridLayout_3"> <item row="0" column="1"> <widget class="QGraphicsView" name="graphicsView_2"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> <horstretch>1</horstretch> <verstretch>1</verstretch> </sizepolicy> </property> <property name="mouseTracking"> <bool>false</bool> </property> </widget> </item> <item row="0" column="0"> <widget class="QTreeWidget" name="treeWidget_2"> <property name="font"> <font> <family>宋体</family> <pointsize>16</pointsize> </font> </property> <property name="selectionMode"> <enum>QAbstractItemView::SingleSelection</enum> </property> <column> <property name="text"> <string>控件栏</string> </property> <property name="textAlignment"> <set>AlignCenter</set> </property> </column> <item> <property name="text"> <string>指示灯</string> </property> </item> <item> <property name="text"> <string>按钮</string> </property> </item> </widget> </item> </layout> </widget> </widget> </item> </layout> </widget> <widget class="QMenuBar" name="menubar"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>952</width> <height>26</height> </rect> </property> <widget class="QMenu" name="menu"> <property name="font"> <font> <family>宋体</family> <pointsize>12</pointsize> </font> </property> <property name="title"> <string>文件</string> </property> <addaction name="actionxiangmu1"/> <addaction name="actiondakai"/> <addaction name="actionbaocun"/> </widget> <widget class="QMenu" name="menu_2"> <property name="font"> <font> <family>宋体</family> <pointsize>12</pointsize> </font> </property> <property name="title"> <string>操作</string> </property> <addaction name="actionxioam"/> <addaction name="actionzhantuie"/> <addaction name="actionshanchu"/> </widget> <widget class="QMenu" name="menu_3"> <property name="font"> <font> <family>宋体</family> <pointsize>12</pointsize> </font> </property> <property name="title"> <string>仿真</string> </property> <addaction name="actionxiangmu"/> </widget> <addaction name="menu"/> <addaction name="menu_2"/> <addaction name="menu_3"/> </widget> <widget class="QStatusBar" name="statusbar"/> <widget class="QDockWidget" name="dockWidget_3"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="font"> <font> <family>宋体</family> <pointsize>12</pointsize> </font> </property> <property name="autoFillBackground"> <bool>true</bool> </property> <property name="floating"> <bool>false</bool> </property> <property name="windowTitle"> <string>消息</string> </property> <attribute name="dockWidgetArea"> <number>1</number> </attribute> <widget class="QWidget" name="dockWidgetContents_4"> <layout class="QGridLayout" name="gridLayout_4"> <item row="0" column="0"> <widget class="QTextEdit" name="textEdit"/> </item> </layout> </widget> </widget> <action name="actionxiangmu1"> <property name="text"> <string>新建</string> </property> <property name="font"> <font> <family>宋体</family> <pointsize>12</pointsize> </font> </property> </action> <action name="actionxioam"> <property name="text"> <string>复制</string> </property> <property name="font"> <font> <family>宋体</family> <pointsize>12</pointsize> </font> </property> </action> <action name="actionxiangmu"> <property name="text"> <string>RUN</string> </property> <property name="font"> <font> <family>Times New Roman</family> <pointsize>12</pointsize> </font> </property> </action> <action name="actiondakai"> <property name="text"> <string>打开</string> </property> <property name="font"> <font> <family>宋体</family> <pointsize>12</pointsize> </font> </property> </action> <action name="actionbaocun"> <property name="text"> <string>保存</string> </property> <property name="font"> <font> <family>宋体</family> <pointsize>12</pointsize> </font> </property> </action> <action name="actionzhantuie"> <property name="text"> <string>粘贴</string> </property> <property name="font"> <font> <family>宋体</family> <pointsize>12</pointsize> </font> </property> </action> <action name="actionshanchu"> <property name="text"> <string>删除</string> </property> <property name="font"> <font> <family>宋体</family> <pointsize>12</pointsize> </font> </property> </action> </widget> <resources/> <connections/> </ui>