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.

313 regels
8.0 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>16</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. </widget>
  107. </item>
  108. <item row="0" column="0">
  109. <widget class="QTreeWidget" name="treeWidget_2">
  110. <property name="font">
  111. <font>
  112. <family>宋体</family>
  113. <pointsize>16</pointsize>
  114. </font>
  115. </property>
  116. <property name="selectionMode">
  117. <enum>QAbstractItemView::SingleSelection</enum>
  118. </property>
  119. <column>
  120. <property name="text">
  121. <string>控件栏</string>
  122. </property>
  123. <property name="textAlignment">
  124. <set>AlignCenter</set>
  125. </property>
  126. </column>
  127. <item>
  128. <property name="text">
  129. <string>指示灯</string>
  130. </property>
  131. </item>
  132. <item>
  133. <property name="text">
  134. <string>按钮</string>
  135. </property>
  136. </item>
  137. </widget>
  138. </item>
  139. </layout>
  140. </widget>
  141. </widget>
  142. </item>
  143. </layout>
  144. </widget>
  145. <widget class="QMenuBar" name="menubar">
  146. <property name="geometry">
  147. <rect>
  148. <x>0</x>
  149. <y>0</y>
  150. <width>952</width>
  151. <height>26</height>
  152. </rect>
  153. </property>
  154. <widget class="QMenu" name="menu">
  155. <property name="font">
  156. <font>
  157. <family>宋体</family>
  158. <pointsize>12</pointsize>
  159. </font>
  160. </property>
  161. <property name="title">
  162. <string>文件</string>
  163. </property>
  164. <addaction name="actionxiangmu1"/>
  165. <addaction name="actiondakai"/>
  166. <addaction name="actionbaocun"/>
  167. </widget>
  168. <widget class="QMenu" name="menu_2">
  169. <property name="font">
  170. <font>
  171. <family>宋体</family>
  172. <pointsize>12</pointsize>
  173. </font>
  174. </property>
  175. <property name="title">
  176. <string>操作</string>
  177. </property>
  178. <addaction name="actionxioam"/>
  179. <addaction name="actionzhantuie"/>
  180. <addaction name="actionshanchu"/>
  181. </widget>
  182. <widget class="QMenu" name="menu_3">
  183. <property name="font">
  184. <font>
  185. <family>宋体</family>
  186. <pointsize>12</pointsize>
  187. </font>
  188. </property>
  189. <property name="title">
  190. <string>仿真</string>
  191. </property>
  192. <addaction name="actionxiangmu"/>
  193. </widget>
  194. <addaction name="menu"/>
  195. <addaction name="menu_2"/>
  196. <addaction name="menu_3"/>
  197. </widget>
  198. <widget class="QStatusBar" name="statusbar"/>
  199. <widget class="QDockWidget" name="dockWidget_3">
  200. <property name="sizePolicy">
  201. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  202. <horstretch>0</horstretch>
  203. <verstretch>0</verstretch>
  204. </sizepolicy>
  205. </property>
  206. <property name="font">
  207. <font>
  208. <family>宋体</family>
  209. <pointsize>12</pointsize>
  210. </font>
  211. </property>
  212. <property name="autoFillBackground">
  213. <bool>true</bool>
  214. </property>
  215. <property name="floating">
  216. <bool>false</bool>
  217. </property>
  218. <property name="windowTitle">
  219. <string>消息</string>
  220. </property>
  221. <attribute name="dockWidgetArea">
  222. <number>1</number>
  223. </attribute>
  224. <widget class="QWidget" name="dockWidgetContents_4">
  225. <layout class="QGridLayout" name="gridLayout_4">
  226. <item row="0" column="0">
  227. <widget class="QTextEdit" name="textEdit"/>
  228. </item>
  229. </layout>
  230. </widget>
  231. </widget>
  232. <action name="actionxiangmu1">
  233. <property name="text">
  234. <string>新建</string>
  235. </property>
  236. <property name="font">
  237. <font>
  238. <family>宋体</family>
  239. <pointsize>12</pointsize>
  240. </font>
  241. </property>
  242. </action>
  243. <action name="actionxioam">
  244. <property name="text">
  245. <string>复制</string>
  246. </property>
  247. <property name="font">
  248. <font>
  249. <family>宋体</family>
  250. <pointsize>12</pointsize>
  251. </font>
  252. </property>
  253. </action>
  254. <action name="actionxiangmu">
  255. <property name="text">
  256. <string>RUN</string>
  257. </property>
  258. <property name="font">
  259. <font>
  260. <family>Times New Roman</family>
  261. <pointsize>12</pointsize>
  262. </font>
  263. </property>
  264. </action>
  265. <action name="actiondakai">
  266. <property name="text">
  267. <string>打开</string>
  268. </property>
  269. <property name="font">
  270. <font>
  271. <family>宋体</family>
  272. <pointsize>12</pointsize>
  273. </font>
  274. </property>
  275. </action>
  276. <action name="actionbaocun">
  277. <property name="text">
  278. <string>保存</string>
  279. </property>
  280. <property name="font">
  281. <font>
  282. <family>宋体</family>
  283. <pointsize>12</pointsize>
  284. </font>
  285. </property>
  286. </action>
  287. <action name="actionzhantuie">
  288. <property name="text">
  289. <string>粘贴</string>
  290. </property>
  291. <property name="font">
  292. <font>
  293. <family>宋体</family>
  294. <pointsize>12</pointsize>
  295. </font>
  296. </property>
  297. </action>
  298. <action name="actionshanchu">
  299. <property name="text">
  300. <string>删除</string>
  301. </property>
  302. <property name="font">
  303. <font>
  304. <family>宋体</family>
  305. <pointsize>12</pointsize>
  306. </font>
  307. </property>
  308. </action>
  309. </widget>
  310. <resources/>
  311. <connections/>
  312. </ui>