You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

319 lines
8.2 KiB

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>MainWindow</class>
  4. <widget class="QMainWindow" name="MainWindow">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>952</width>
  10. <height>718</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string> 综合平台编程器</string>
  15. </property>
  16. <widget class="QWidget" name="centralwidget">
  17. <layout class="QGridLayout" name="gridLayout">
  18. <item row="0" column="1">
  19. <widget class="QTabWidget" name="tabWidget">
  20. <property name="font">
  21. <font>
  22. <family>Times New Roman</family>
  23. <pointsize>12</pointsize>
  24. </font>
  25. </property>
  26. <property name="currentIndex">
  27. <number>1</number>
  28. </property>
  29. <widget class="QWidget" name="tab">
  30. <attribute name="title">
  31. <string>PLC 编程</string>
  32. </attribute>
  33. <layout class="QGridLayout" name="gridLayout_2">
  34. <item row="0" column="1">
  35. <widget class="QGraphicsView" name="graphicsView">
  36. <property name="sizePolicy">
  37. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  38. <horstretch>1</horstretch>
  39. <verstretch>1</verstretch>
  40. </sizepolicy>
  41. </property>
  42. <property name="frameShadow">
  43. <enum>QFrame::Plain</enum>
  44. </property>
  45. <property name="lineWidth">
  46. <number>1</number>
  47. </property>
  48. </widget>
  49. </item>
  50. <item row="0" column="0">
  51. <widget class="QTreeWidget" name="treeWidget">
  52. <property name="font">
  53. <font>
  54. <family>宋体</family>
  55. <pointsize>18</pointsize>
  56. </font>
  57. </property>
  58. <column>
  59. <property name="text">
  60. <string>控件栏</string>
  61. </property>
  62. <property name="textAlignment">
  63. <set>AlignCenter</set>
  64. </property>
  65. </column>
  66. <item>
  67. <property name="text">
  68. <string>常开</string>
  69. </property>
  70. </item>
  71. <item>
  72. <property name="text">
  73. <string>常闭</string>
  74. </property>
  75. </item>
  76. <item>
  77. <property name="text">
  78. <string>比较指令</string>
  79. </property>
  80. </item>
  81. <item>
  82. <property name="text">
  83. <string>线圈</string>
  84. </property>
  85. </item>
  86. </widget>
  87. </item>
  88. </layout>
  89. </widget>
  90. <widget class="QWidget" name="tab_2">
  91. <attribute name="title">
  92. <string>HMI 编程</string>
  93. </attribute>
  94. <layout class="QGridLayout" name="gridLayout_3">
  95. <item row="0" column="1">
  96. <widget class="QGraphicsView" name="graphicsView_2">
  97. <property name="sizePolicy">
  98. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  99. <horstretch>1</horstretch>
  100. <verstretch>1</verstretch>
  101. </sizepolicy>
  102. </property>
  103. <property name="mouseTracking">
  104. <bool>false</bool>
  105. </property>
  106. <property name="layoutDirection">
  107. <enum>Qt::LeftToRight</enum>
  108. </property>
  109. </widget>
  110. </item>
  111. <item row="0" column="0">
  112. <widget class="QTreeWidget" name="treeWidget_2">
  113. <property name="font">
  114. <font>
  115. <family>宋体</family>
  116. <pointsize>18</pointsize>
  117. </font>
  118. </property>
  119. <property name="selectionMode">
  120. <enum>QAbstractItemView::SingleSelection</enum>
  121. </property>
  122. <property name="textElideMode">
  123. <enum>Qt::ElideMiddle</enum>
  124. </property>
  125. <column>
  126. <property name="text">
  127. <string>控件栏</string>
  128. </property>
  129. <property name="textAlignment">
  130. <set>AlignCenter</set>
  131. </property>
  132. </column>
  133. <item>
  134. <property name="text">
  135. <string>指示灯</string>
  136. </property>
  137. </item>
  138. <item>
  139. <property name="text">
  140. <string>按钮</string>
  141. </property>
  142. </item>
  143. </widget>
  144. </item>
  145. </layout>
  146. </widget>
  147. </widget>
  148. </item>
  149. </layout>
  150. </widget>
  151. <widget class="QMenuBar" name="menubar">
  152. <property name="geometry">
  153. <rect>
  154. <x>0</x>
  155. <y>0</y>
  156. <width>952</width>
  157. <height>26</height>
  158. </rect>
  159. </property>
  160. <widget class="QMenu" name="menu">
  161. <property name="font">
  162. <font>
  163. <family>宋体</family>
  164. <pointsize>12</pointsize>
  165. </font>
  166. </property>
  167. <property name="title">
  168. <string>文件</string>
  169. </property>
  170. <addaction name="actionxiangmu1"/>
  171. <addaction name="actiondakai"/>
  172. <addaction name="actionbaocun"/>
  173. </widget>
  174. <widget class="QMenu" name="menu_2">
  175. <property name="font">
  176. <font>
  177. <family>宋体</family>
  178. <pointsize>12</pointsize>
  179. </font>
  180. </property>
  181. <property name="title">
  182. <string>操作</string>
  183. </property>
  184. <addaction name="actioncopy"/>
  185. <addaction name="actionpaste"/>
  186. <addaction name="actiondelete"/>
  187. </widget>
  188. <widget class="QMenu" name="menu_3">
  189. <property name="font">
  190. <font>
  191. <family>宋体</family>
  192. <pointsize>12</pointsize>
  193. </font>
  194. </property>
  195. <property name="title">
  196. <string>仿真</string>
  197. </property>
  198. <addaction name="actionxiangmu"/>
  199. </widget>
  200. <addaction name="menu"/>
  201. <addaction name="menu_2"/>
  202. <addaction name="menu_3"/>
  203. </widget>
  204. <widget class="QStatusBar" name="statusbar"/>
  205. <widget class="QDockWidget" name="dockWidget_3">
  206. <property name="sizePolicy">
  207. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  208. <horstretch>0</horstretch>
  209. <verstretch>0</verstretch>
  210. </sizepolicy>
  211. </property>
  212. <property name="font">
  213. <font>
  214. <family>宋体</family>
  215. <pointsize>12</pointsize>
  216. </font>
  217. </property>
  218. <property name="autoFillBackground">
  219. <bool>true</bool>
  220. </property>
  221. <property name="floating">
  222. <bool>false</bool>
  223. </property>
  224. <property name="windowTitle">
  225. <string>消息</string>
  226. </property>
  227. <attribute name="dockWidgetArea">
  228. <number>1</number>
  229. </attribute>
  230. <widget class="QWidget" name="dockWidgetContents_4">
  231. <layout class="QGridLayout" name="gridLayout_4">
  232. <item row="0" column="0">
  233. <widget class="QTextEdit" name="textEdit"/>
  234. </item>
  235. </layout>
  236. </widget>
  237. </widget>
  238. <action name="actionxiangmu1">
  239. <property name="text">
  240. <string>新建</string>
  241. </property>
  242. <property name="font">
  243. <font>
  244. <family>宋体</family>
  245. <pointsize>12</pointsize>
  246. </font>
  247. </property>
  248. </action>
  249. <action name="actioncopy">
  250. <property name="text">
  251. <string>复制</string>
  252. </property>
  253. <property name="font">
  254. <font>
  255. <family>宋体</family>
  256. <pointsize>12</pointsize>
  257. </font>
  258. </property>
  259. </action>
  260. <action name="actionxiangmu">
  261. <property name="text">
  262. <string>RUN</string>
  263. </property>
  264. <property name="font">
  265. <font>
  266. <family>Times New Roman</family>
  267. <pointsize>12</pointsize>
  268. </font>
  269. </property>
  270. </action>
  271. <action name="actiondakai">
  272. <property name="text">
  273. <string>打开</string>
  274. </property>
  275. <property name="font">
  276. <font>
  277. <family>宋体</family>
  278. <pointsize>12</pointsize>
  279. </font>
  280. </property>
  281. </action>
  282. <action name="actionbaocun">
  283. <property name="text">
  284. <string>保存</string>
  285. </property>
  286. <property name="font">
  287. <font>
  288. <family>宋体</family>
  289. <pointsize>12</pointsize>
  290. </font>
  291. </property>
  292. </action>
  293. <action name="actionpaste">
  294. <property name="text">
  295. <string>粘贴</string>
  296. </property>
  297. <property name="font">
  298. <font>
  299. <family>宋体</family>
  300. <pointsize>12</pointsize>
  301. </font>
  302. </property>
  303. </action>
  304. <action name="actiondelete">
  305. <property name="text">
  306. <string>删除</string>
  307. </property>
  308. <property name="font">
  309. <font>
  310. <family>宋体</family>
  311. <pointsize>12</pointsize>
  312. </font>
  313. </property>
  314. </action>
  315. </widget>
  316. <resources/>
  317. <connections/>
  318. </ui>