综合平台编程器项目的远程存储
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.
 
 
 
 

1335 line
42 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>1280</width>
  10. <height>800</height>
  11. </rect>
  12. </property>
  13. <property name="minimumSize">
  14. <size>
  15. <width>960</width>
  16. <height>640</height>
  17. </size>
  18. </property>
  19. <property name="windowTitle">
  20. <string>综合平台编程器</string>
  21. </property>
  22. <property name="dockOptions">
  23. <set>QMainWindow::AllowNestedDocks|QMainWindow::AllowTabbedDocks|QMainWindow::AnimatedDocks</set>
  24. </property>
  25. <widget class="QWidget" name="centralWidget">
  26. <layout class="QVBoxLayout" name="centralLayout">
  27. <property name="spacing">
  28. <number>0</number>
  29. </property>
  30. <property name="leftMargin">
  31. <number>0</number>
  32. </property>
  33. <property name="topMargin">
  34. <number>0</number>
  35. </property>
  36. <property name="rightMargin">
  37. <number>0</number>
  38. </property>
  39. <property name="bottomMargin">
  40. <number>0</number>
  41. </property>
  42. <item>
  43. <widget class="QTabWidget" name="editorTabWidget">
  44. <property name="currentIndex">
  45. <number>0</number>
  46. </property>
  47. <property name="documentMode">
  48. <bool>true</bool>
  49. </property>
  50. <property name="tabsClosable">
  51. <bool>false</bool>
  52. </property>
  53. <property name="movable">
  54. <bool>false</bool>
  55. </property>
  56. <widget class="QWidget" name="hmiEditorTab">
  57. <attribute name="title">
  58. <string>HMI 页面</string>
  59. </attribute>
  60. <layout class="QVBoxLayout" name="hmiEditorLayout">
  61. <property name="spacing">
  62. <number>6</number>
  63. </property>
  64. <property name="leftMargin">
  65. <number>8</number>
  66. </property>
  67. <property name="topMargin">
  68. <number>8</number>
  69. </property>
  70. <property name="rightMargin">
  71. <number>8</number>
  72. </property>
  73. <property name="bottomMargin">
  74. <number>8</number>
  75. </property>
  76. <item>
  77. <widget class="QFrame" name="hmiPageHeader">
  78. <property name="sizePolicy">
  79. <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
  80. <horstretch>0</horstretch>
  81. <verstretch>0</verstretch>
  82. </sizepolicy>
  83. </property>
  84. <property name="minimumSize">
  85. <size>
  86. <width>0</width>
  87. <height>28</height>
  88. </size>
  89. </property>
  90. <property name="maximumSize">
  91. <size>
  92. <width>16777215</width>
  93. <height>28</height>
  94. </size>
  95. </property>
  96. <property name="frameShape">
  97. <enum>QFrame::NoFrame</enum>
  98. </property>
  99. <layout class="QHBoxLayout" name="hmiPageHeaderLayout">
  100. <property name="leftMargin">
  101. <number>2</number>
  102. </property>
  103. <property name="topMargin">
  104. <number>0</number>
  105. </property>
  106. <property name="rightMargin">
  107. <number>2</number>
  108. </property>
  109. <property name="bottomMargin">
  110. <number>0</number>
  111. </property>
  112. <item>
  113. <widget class="QLabel" name="hmiPageTitleLabel">
  114. <property name="text">
  115. <string>主操作页面</string>
  116. </property>
  117. </widget>
  118. </item>
  119. <item>
  120. <spacer name="hmiHeaderSpacer">
  121. <property name="orientation">
  122. <enum>Qt::Horizontal</enum>
  123. </property>
  124. <property name="sizeHint" stdset="0">
  125. <size>
  126. <width>40</width>
  127. <height>20</height>
  128. </size>
  129. </property>
  130. </spacer>
  131. </item>
  132. <item>
  133. <widget class="QLabel" name="hmiPageSizeLabel">
  134. <property name="text">
  135. <string>800 x 480</string>
  136. </property>
  137. <property name="alignment">
  138. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  139. </property>
  140. </widget>
  141. </item>
  142. </layout>
  143. </widget>
  144. </item>
  145. <item>
  146. <widget class="QFrame" name="hmiCanvasPlaceholder">
  147. <property name="minimumSize">
  148. <size>
  149. <width>0</width>
  150. <height>320</height>
  151. </size>
  152. </property>
  153. <property name="frameShape">
  154. <enum>QFrame::StyledPanel</enum>
  155. </property>
  156. <layout class="QVBoxLayout" name="hmiCanvasLayout">
  157. <item>
  158. <widget class="QLabel" name="hmiEmptyLabel">
  159. <property name="text">
  160. <string>尚未创建 HMI 页面</string>
  161. </property>
  162. <property name="alignment">
  163. <set>Qt::AlignCenter</set>
  164. </property>
  165. </widget>
  166. </item>
  167. </layout>
  168. </widget>
  169. </item>
  170. </layout>
  171. </widget>
  172. <widget class="QWidget" name="logicEditorTab">
  173. <attribute name="title">
  174. <string>控制逻辑</string>
  175. </attribute>
  176. <layout class="QVBoxLayout" name="logicEditorLayout">
  177. <property name="leftMargin">
  178. <number>12</number>
  179. </property>
  180. <property name="topMargin">
  181. <number>12</number>
  182. </property>
  183. <property name="rightMargin">
  184. <number>12</number>
  185. </property>
  186. <property name="bottomMargin">
  187. <number>12</number>
  188. </property>
  189. <item>
  190. <widget class="QFrame" name="logicCanvasPlaceholder">
  191. <property name="frameShape">
  192. <enum>QFrame::StyledPanel</enum>
  193. </property>
  194. <layout class="QVBoxLayout" name="logicCanvasLayout">
  195. <item>
  196. <widget class="QLabel" name="logicEmptyLabel">
  197. <property name="text">
  198. <string>尚未创建控制逻辑</string>
  199. </property>
  200. <property name="alignment">
  201. <set>Qt::AlignCenter</set>
  202. </property>
  203. </widget>
  204. </item>
  205. </layout>
  206. </widget>
  207. </item>
  208. </layout>
  209. </widget>
  210. </widget>
  211. </item>
  212. </layout>
  213. </widget>
  214. <widget class="QMenuBar" name="menuBar">
  215. <property name="geometry">
  216. <rect>
  217. <x>0</x>
  218. <y>0</y>
  219. <width>1280</width>
  220. <height>17</height>
  221. </rect>
  222. </property>
  223. <widget class="QMenu" name="fileMenu">
  224. <property name="title">
  225. <string>文件(&amp;F)</string>
  226. </property>
  227. <addaction name="newProjectAction"/>
  228. <addaction name="saveProjectAction"/>
  229. <addaction name="saveAsProjectAction"/>
  230. <addaction name="loadProjectAction"/>
  231. <addaction name="separator"/>
  232. <addaction name="exitAction"/>
  233. </widget>
  234. <widget class="QMenu" name="editMenu">
  235. <property name="title">
  236. <string>编辑(&amp;E)</string>
  237. </property>
  238. <addaction name="undoAction"/>
  239. <addaction name="redoAction"/>
  240. <addaction name="separator"/>
  241. <addaction name="deleteSelectionAction"/>
  242. <addaction name="deleteHorizontalWireAction"/>
  243. <addaction name="deleteVerticalWireAction"/>
  244. <addaction name="clearSelectionAction"/>
  245. </widget>
  246. <widget class="QMenu" name="runMenu">
  247. <property name="title">
  248. <string>运行(&amp;R)</string>
  249. </property>
  250. <addaction name="editingModeAction"/>
  251. <addaction name="offlineModeAction"/>
  252. <addaction name="onlineModeAction"/>
  253. <addaction name="separator"/>
  254. <addaction name="configurePlcAction"/>
  255. <addaction name="disconnectPlcAction"/>
  256. </widget>
  257. <widget class="QMenu" name="viewMenu">
  258. <property name="title">
  259. <string>视图(&amp;V)</string>
  260. </property>
  261. <addaction name="configureRegisterCommentsAction"/>
  262. </widget>
  263. <addaction name="fileMenu"/>
  264. <addaction name="editMenu"/>
  265. <addaction name="runMenu"/>
  266. <addaction name="viewMenu"/>
  267. </widget>
  268. <widget class="QStatusBar" name="statusBar"/>
  269. <widget class="QToolBar" name="modeToolBar">
  270. <property name="windowTitle">
  271. <string>运行模式</string>
  272. </property>
  273. <property name="movable">
  274. <bool>false</bool>
  275. </property>
  276. <property name="toolButtonStyle">
  277. <enum>Qt::ToolButtonTextBesideIcon</enum>
  278. </property>
  279. <attribute name="toolBarArea">
  280. <enum>TopToolBarArea</enum>
  281. </attribute>
  282. <attribute name="toolBarBreak">
  283. <bool>false</bool>
  284. </attribute>
  285. <addaction name="editingModeAction"/>
  286. <addaction name="offlineModeAction"/>
  287. <addaction name="onlineModeAction"/>
  288. <addaction name="configurePlcAction"/>
  289. <addaction name="disconnectPlcAction"/>
  290. </widget>
  291. <widget class="QToolBar" name="hmiToolBar">
  292. <property name="windowTitle">
  293. <string>HMI 控件</string>
  294. </property>
  295. <property name="toolButtonStyle">
  296. <enum>Qt::ToolButtonTextBesideIcon</enum>
  297. </property>
  298. <attribute name="toolBarArea">
  299. <enum>TopToolBarArea</enum>
  300. </attribute>
  301. <attribute name="toolBarBreak">
  302. <bool>true</bool>
  303. </attribute>
  304. <addaction name="addButtonAction"/>
  305. <addaction name="addIndicatorAction"/>
  306. <addaction name="addNumericDisplayAction"/>
  307. <addaction name="addNumericInputAction"/>
  308. <addaction name="addLabelAction"/>
  309. <addaction name="deleteControlAction"/>
  310. </widget>
  311. <widget class="QToolBar" name="logicToolBar">
  312. <property name="windowTitle">
  313. <string>控制逻辑节点</string>
  314. </property>
  315. <property name="toolButtonStyle">
  316. <enum>Qt::ToolButtonTextBesideIcon</enum>
  317. </property>
  318. <attribute name="toolBarArea">
  319. <enum>TopToolBarArea</enum>
  320. </attribute>
  321. <attribute name="toolBarBreak">
  322. <bool>true</bool>
  323. </attribute>
  324. <addaction name="addRungAction"/>
  325. <addaction name="insertHorizontalWireAction"/>
  326. <addaction name="insertVerticalWireAction"/>
  327. <addaction name="parallelInsertAction"/>
  328. <addaction name="deleteLogicAction"/>
  329. <addaction name="separator"/>
  330. <addaction name="addNormallyOpenAction"/>
  331. <addaction name="addNormallyClosedAction"/>
  332. <addaction name="addNormalCoilAction"/>
  333. <addaction name="editRungCommentAction"/>
  334. </widget>
  335. <widget class="QDockWidget" name="projectDock">
  336. <property name="minimumSize">
  337. <size>
  338. <width>210</width>
  339. <height>180</height>
  340. </size>
  341. </property>
  342. <property name="windowTitle">
  343. <string>工程</string>
  344. </property>
  345. <attribute name="dockWidgetArea">
  346. <number>1</number>
  347. </attribute>
  348. <widget class="QWidget" name="projectDockContents">
  349. <layout class="QVBoxLayout" name="projectDockLayout">
  350. <property name="leftMargin">
  351. <number>6</number>
  352. </property>
  353. <property name="topMargin">
  354. <number>6</number>
  355. </property>
  356. <property name="rightMargin">
  357. <number>6</number>
  358. </property>
  359. <property name="bottomMargin">
  360. <number>6</number>
  361. </property>
  362. <item>
  363. <widget class="QTreeWidget" name="projectTree">
  364. <property name="rootIsDecorated">
  365. <bool>true</bool>
  366. </property>
  367. <property name="headerHidden">
  368. <bool>true</bool>
  369. </property>
  370. <column>
  371. <property name="text">
  372. <string notr="true">1</string>
  373. </property>
  374. </column>
  375. <item>
  376. <property name="text">
  377. <string>HMI 页面</string>
  378. </property>
  379. </item>
  380. <item>
  381. <property name="text">
  382. <string>控制逻辑</string>
  383. </property>
  384. </item>
  385. </widget>
  386. </item>
  387. </layout>
  388. </widget>
  389. </widget>
  390. <widget class="QDockWidget" name="propertiesDock">
  391. <property name="minimumSize">
  392. <size>
  393. <width>250</width>
  394. <height>180</height>
  395. </size>
  396. </property>
  397. <property name="windowTitle">
  398. <string>属性</string>
  399. </property>
  400. <attribute name="dockWidgetArea">
  401. <number>2</number>
  402. </attribute>
  403. <widget class="QWidget" name="propertiesDockContents">
  404. <layout class="QVBoxLayout" name="propertiesDockLayout">
  405. <property name="leftMargin">
  406. <number>8</number>
  407. </property>
  408. <property name="topMargin">
  409. <number>8</number>
  410. </property>
  411. <property name="rightMargin">
  412. <number>8</number>
  413. </property>
  414. <property name="bottomMargin">
  415. <number>8</number>
  416. </property>
  417. <item>
  418. <widget class="QScrollArea" name="propertiesScrollArea">
  419. <property name="frameShape">
  420. <enum>QFrame::NoFrame</enum>
  421. </property>
  422. <property name="widgetResizable">
  423. <bool>true</bool>
  424. </property>
  425. <widget class="QWidget" name="propertiesPage">
  426. <property name="geometry">
  427. <rect>
  428. <x>0</x>
  429. <y>0</y>
  430. <width>234</width>
  431. <height>455</height>
  432. </rect>
  433. </property>
  434. <layout class="QVBoxLayout" name="propertiesPageLayout">
  435. <item>
  436. <layout class="QFormLayout" name="selectionForm">
  437. <item row="0" column="0">
  438. <widget class="QLabel" name="selectionCaptionLabel">
  439. <property name="text">
  440. <string>当前对象</string>
  441. </property>
  442. </widget>
  443. </item>
  444. <item row="0" column="1">
  445. <widget class="QLabel" name="selectionValueLabel">
  446. <property name="text">
  447. <string>未选择</string>
  448. </property>
  449. </widget>
  450. </item>
  451. </layout>
  452. </item>
  453. <item>
  454. <widget class="QStackedWidget" name="propertyStack">
  455. <widget class="QWidget" name="hmiPropertiesPage">
  456. <layout class="QFormLayout" name="hmiPropertiesForm">
  457. <property name="fieldGrowthPolicy">
  458. <enum>QFormLayout::AllNonFixedFieldsGrow</enum>
  459. </property>
  460. <item row="0" column="0">
  461. <widget class="QLabel" name="controlIdLabel">
  462. <property name="text">
  463. <string>控件 ID</string>
  464. </property>
  465. </widget>
  466. </item>
  467. <item row="0" column="1">
  468. <widget class="QLineEdit" name="controlIdEdit"/>
  469. </item>
  470. <item row="1" column="0">
  471. <widget class="QLabel" name="controlTextLabel">
  472. <property name="text">
  473. <string>显示文本</string>
  474. </property>
  475. </widget>
  476. </item>
  477. <item row="1" column="1">
  478. <widget class="QLineEdit" name="controlTextEdit"/>
  479. </item>
  480. <item row="2" column="0">
  481. <widget class="QLabel" name="controlXLabel">
  482. <property name="text">
  483. <string>X</string>
  484. </property>
  485. </widget>
  486. </item>
  487. <item row="2" column="1">
  488. <widget class="QSpinBox" name="controlXSpinBox">
  489. <property name="maximum">
  490. <number>8192</number>
  491. </property>
  492. </widget>
  493. </item>
  494. <item row="3" column="0">
  495. <widget class="QLabel" name="controlYLabel">
  496. <property name="text">
  497. <string>Y</string>
  498. </property>
  499. </widget>
  500. </item>
  501. <item row="3" column="1">
  502. <widget class="QSpinBox" name="controlYSpinBox">
  503. <property name="maximum">
  504. <number>8192</number>
  505. </property>
  506. </widget>
  507. </item>
  508. <item row="4" column="0">
  509. <widget class="QLabel" name="controlWidthLabel">
  510. <property name="text">
  511. <string>宽度</string>
  512. </property>
  513. </widget>
  514. </item>
  515. <item row="4" column="1">
  516. <widget class="QSpinBox" name="controlWidthSpinBox">
  517. <property name="minimum">
  518. <number>1</number>
  519. </property>
  520. <property name="maximum">
  521. <number>8192</number>
  522. </property>
  523. </widget>
  524. </item>
  525. <item row="5" column="0">
  526. <widget class="QLabel" name="controlHeightLabel">
  527. <property name="text">
  528. <string>高度</string>
  529. </property>
  530. </widget>
  531. </item>
  532. <item row="5" column="1">
  533. <widget class="QSpinBox" name="controlHeightSpinBox">
  534. <property name="minimum">
  535. <number>1</number>
  536. </property>
  537. <property name="maximum">
  538. <number>8192</number>
  539. </property>
  540. </widget>
  541. </item>
  542. <item row="6" column="0">
  543. <widget class="QLabel" name="bindingAreaLabel">
  544. <property name="text">
  545. <string>绑定区域</string>
  546. </property>
  547. </widget>
  548. </item>
  549. <item row="6" column="1">
  550. <widget class="QComboBox" name="bindingAreaComboBox">
  551. <item>
  552. <property name="text">
  553. <string>未绑定</string>
  554. </property>
  555. </item>
  556. <item>
  557. <property name="text">
  558. <string>M</string>
  559. </property>
  560. </item>
  561. <item>
  562. <property name="text">
  563. <string>D</string>
  564. </property>
  565. </item>
  566. </widget>
  567. </item>
  568. <item row="7" column="0">
  569. <widget class="QLabel" name="bindingIndexLabel">
  570. <property name="text">
  571. <string>绑定地址</string>
  572. </property>
  573. </widget>
  574. </item>
  575. <item row="7" column="1">
  576. <widget class="QSpinBox" name="bindingIndexSpinBox">
  577. <property name="maximum">
  578. <number>4000</number>
  579. </property>
  580. </widget>
  581. </item>
  582. <item row="8" column="0">
  583. <widget class="QLabel" name="targetPageLabel">
  584. <property name="text">
  585. <string>目标页面</string>
  586. </property>
  587. </widget>
  588. </item>
  589. <item row="8" column="1">
  590. <widget class="QComboBox" name="targetPageComboBox"/>
  591. </item>
  592. <item row="9" column="0">
  593. <widget class="QLabel" name="buttonOperationLabel">
  594. <property name="text">
  595. <string>按钮操作</string>
  596. </property>
  597. </widget>
  598. </item>
  599. <item row="9" column="1">
  600. <widget class="QComboBox" name="buttonOperationComboBox">
  601. <item>
  602. <property name="text">
  603. <string>置 ON</string>
  604. </property>
  605. </item>
  606. <item>
  607. <property name="text">
  608. <string>置 OFF</string>
  609. </property>
  610. </item>
  611. <item>
  612. <property name="text">
  613. <string>取反</string>
  614. </property>
  615. </item>
  616. <item>
  617. <property name="text">
  618. <string>瞬时 ON</string>
  619. </property>
  620. </item>
  621. </widget>
  622. </item>
  623. <item row="10" column="0">
  624. <widget class="QLabel" name="progressMinimumLabel">
  625. <property name="text">
  626. <string>最小值</string>
  627. </property>
  628. </widget>
  629. </item>
  630. <item row="10" column="1">
  631. <widget class="QSpinBox" name="progressMinimumSpinBox">
  632. <property name="minimum">
  633. <number>-32768</number>
  634. </property>
  635. <property name="maximum">
  636. <number>32767</number>
  637. </property>
  638. </widget>
  639. </item>
  640. <item row="11" column="0">
  641. <widget class="QLabel" name="progressMaximumLabel">
  642. <property name="text">
  643. <string>最大值</string>
  644. </property>
  645. </widget>
  646. </item>
  647. <item row="11" column="1">
  648. <widget class="QSpinBox" name="progressMaximumSpinBox">
  649. <property name="minimum">
  650. <number>-32768</number>
  651. </property>
  652. <property name="maximum">
  653. <number>32767</number>
  654. </property>
  655. </widget>
  656. </item>
  657. <item row="12" column="0">
  658. <widget class="QLabel" name="progressShowValueLabel">
  659. <property name="text">
  660. <string>数值显示</string>
  661. </property>
  662. </widget>
  663. </item>
  664. <item row="12" column="1">
  665. <widget class="QCheckBox" name="progressShowValueCheckBox">
  666. <property name="text">
  667. <string>显示百分比</string>
  668. </property>
  669. </widget>
  670. </item>
  671. <item row="13" column="0">
  672. <widget class="QLabel" name="textColorLabel">
  673. <property name="text">
  674. <string>字体颜色</string>
  675. </property>
  676. </widget>
  677. </item>
  678. <item row="13" column="1">
  679. <widget class="QWidget" name="textColorContainer">
  680. <layout class="QHBoxLayout" name="textColorLayout">
  681. <property name="leftMargin"><number>0</number></property>
  682. <property name="topMargin"><number>0</number></property>
  683. <property name="rightMargin"><number>0</number></property>
  684. <property name="bottomMargin"><number>0</number></property>
  685. <item>
  686. <widget class="QLineEdit" name="textColorEdit">
  687. <property name="placeholderText">
  688. <string>默认,例如 #E53935</string>
  689. </property>
  690. </widget>
  691. </item>
  692. <item>
  693. <widget class="QPushButton" name="textColorButton">
  694. <property name="text">
  695. <string>选择</string>
  696. </property>
  697. </widget>
  698. </item>
  699. </layout>
  700. </widget>
  701. </item>
  702. <item row="14" column="0">
  703. <widget class="QLabel" name="fontSizeLabel">
  704. <property name="text">
  705. <string>字号</string>
  706. </property>
  707. </widget>
  708. </item>
  709. <item row="14" column="1">
  710. <widget class="QSpinBox" name="fontSizeSpinBox"/>
  711. </item>
  712. <item row="15" column="0">
  713. <widget class="QLabel" name="fontBoldLabel">
  714. <property name="text">
  715. <string>字体样式</string>
  716. </property>
  717. </widget>
  718. </item>
  719. <item row="15" column="1">
  720. <widget class="QWidget" name="fontStyleContainer">
  721. <layout class="QHBoxLayout" name="fontStyleLayout">
  722. <property name="leftMargin"><number>0</number></property>
  723. <property name="topMargin"><number>0</number></property>
  724. <property name="rightMargin"><number>0</number></property>
  725. <property name="bottomMargin"><number>0</number></property>
  726. <item>
  727. <widget class="QCheckBox" name="fontBoldCheckBox">
  728. <property name="text"><string>粗体</string></property>
  729. </widget>
  730. </item>
  731. <item>
  732. <widget class="QCheckBox" name="fontItalicCheckBox">
  733. <property name="text"><string>斜体</string></property>
  734. </widget>
  735. </item>
  736. </layout>
  737. </widget>
  738. </item>
  739. <item row="16" column="0" colspan="2">
  740. <widget class="QPushButton" name="applyPropertiesButton">
  741. <property name="text">
  742. <string>应用属性</string>
  743. </property>
  744. </widget>
  745. </item>
  746. </layout>
  747. </widget>
  748. <widget class="QWidget" name="logicPropertiesPage">
  749. <layout class="QFormLayout" name="logicPropertiesForm">
  750. <property name="fieldGrowthPolicy">
  751. <enum>QFormLayout::AllNonFixedFieldsGrow</enum>
  752. </property>
  753. <item row="0" column="0">
  754. <widget class="QLabel" name="logicNodeIdLabel">
  755. <property name="text">
  756. <string>节点 ID</string>
  757. </property>
  758. </widget>
  759. </item>
  760. <item row="0" column="1">
  761. <widget class="QLineEdit" name="logicNodeIdEdit">
  762. <property name="readOnly">
  763. <bool>true</bool>
  764. </property>
  765. </widget>
  766. </item>
  767. <item row="1" column="0">
  768. <widget class="QLabel" name="logicNodeTypeCaption">
  769. <property name="text">
  770. <string>节点类型</string>
  771. </property>
  772. </widget>
  773. </item>
  774. <item row="1" column="1">
  775. <widget class="QLabel" name="logicNodeTypeLabel">
  776. <property name="text">
  777. <string/>
  778. </property>
  779. </widget>
  780. </item>
  781. <item row="2" column="0">
  782. <widget class="QLabel" name="logicAddressAreaCaption">
  783. <property name="text">
  784. <string>地址区域</string>
  785. </property>
  786. </widget>
  787. </item>
  788. <item row="2" column="1">
  789. <widget class="QLabel" name="logicAddressAreaLabel">
  790. <property name="text">
  791. <string/>
  792. </property>
  793. </widget>
  794. </item>
  795. <item row="3" column="0">
  796. <widget class="QLabel" name="logicAddressLabel">
  797. <property name="text">
  798. <string>地址</string>
  799. </property>
  800. </widget>
  801. </item>
  802. <item row="3" column="1">
  803. <widget class="QSpinBox" name="logicAddressSpinBox">
  804. <property name="maximum">
  805. <number>4000</number>
  806. </property>
  807. </widget>
  808. </item>
  809. <item row="4" column="0">
  810. <widget class="QLabel" name="logicModeLabel">
  811. <property name="text">
  812. <string>工作方式</string>
  813. </property>
  814. </widget>
  815. </item>
  816. <item row="4" column="1">
  817. <widget class="QComboBox" name="logicModeComboBox"/>
  818. </item>
  819. <item row="5" column="0">
  820. <widget class="QLabel" name="logicComparisonLabel">
  821. <property name="text">
  822. <string>比较运算</string>
  823. </property>
  824. </widget>
  825. </item>
  826. <item row="5" column="1">
  827. <widget class="QComboBox" name="logicComparisonComboBox">
  828. <item>
  829. <property name="text">
  830. <string>等于</string>
  831. </property>
  832. </item>
  833. <item>
  834. <property name="text">
  835. <string>不等于</string>
  836. </property>
  837. </item>
  838. <item>
  839. <property name="text">
  840. <string>小于</string>
  841. </property>
  842. </item>
  843. <item>
  844. <property name="text">
  845. <string>小于等于</string>
  846. </property>
  847. </item>
  848. <item>
  849. <property name="text">
  850. <string>大于</string>
  851. </property>
  852. </item>
  853. <item>
  854. <property name="text">
  855. <string>大于等于</string>
  856. </property>
  857. </item>
  858. </widget>
  859. </item>
  860. <item row="6" column="0">
  861. <widget class="QLabel" name="logicValueLabel">
  862. <property name="text">
  863. <string>比较常量</string>
  864. </property>
  865. </widget>
  866. </item>
  867. <item row="6" column="1">
  868. <widget class="QSpinBox" name="logicValueSpinBox">
  869. <property name="minimum">
  870. <number>-32768</number>
  871. </property>
  872. <property name="maximum">
  873. <number>32767</number>
  874. </property>
  875. </widget>
  876. </item>
  877. <item row="7" column="0">
  878. <widget class="QLabel" name="logicPresetLabel">
  879. <property name="text">
  880. <string>预设时间(ms)</string>
  881. </property>
  882. </widget>
  883. </item>
  884. <item row="7" column="1">
  885. <widget class="QSpinBox" name="logicPresetSpinBox">
  886. <property name="minimum">
  887. <number>1</number>
  888. </property>
  889. <property name="maximum">
  890. <number>86400000</number>
  891. </property>
  892. <property name="value">
  893. <number>1000</number>
  894. </property>
  895. </widget>
  896. </item>
  897. <item row="8" column="0" colspan="2">
  898. <widget class="QPushButton" name="applyLogicPropertiesButton">
  899. <property name="text">
  900. <string>应用属性</string>
  901. </property>
  902. </widget>
  903. </item>
  904. </layout>
  905. </widget>
  906. </widget>
  907. </item>
  908. </layout>
  909. </widget>
  910. </widget>
  911. </item>
  912. </layout>
  913. </widget>
  914. </widget>
  915. <widget class="QDockWidget" name="outputDock">
  916. <property name="minimumSize">
  917. <size>
  918. <width>300</width>
  919. <height>110</height>
  920. </size>
  921. </property>
  922. <property name="windowTitle">
  923. <string>输出</string>
  924. </property>
  925. <attribute name="dockWidgetArea">
  926. <number>8</number>
  927. </attribute>
  928. <widget class="QWidget" name="outputDockContents">
  929. <layout class="QVBoxLayout" name="outputDockLayout">
  930. <property name="leftMargin">
  931. <number>6</number>
  932. </property>
  933. <property name="topMargin">
  934. <number>6</number>
  935. </property>
  936. <property name="rightMargin">
  937. <number>6</number>
  938. </property>
  939. <property name="bottomMargin">
  940. <number>6</number>
  941. </property>
  942. <item>
  943. <widget class="QListWidget" name="outputList">
  944. <item>
  945. <property name="text">
  946. <string>系统已就绪</string>
  947. </property>
  948. </item>
  949. </widget>
  950. </item>
  951. </layout>
  952. </widget>
  953. </widget>
  954. <action name="exitAction">
  955. <property name="text">
  956. <string>退出(&amp;X)</string>
  957. </property>
  958. </action>
  959. <action name="newProjectAction">
  960. <property name="text">
  961. <string>新建工程</string>
  962. </property>
  963. <property name="shortcut">
  964. <string>Ctrl+N</string>
  965. </property>
  966. </action>
  967. <action name="saveProjectAction">
  968. <property name="text">
  969. <string>保存工程</string>
  970. </property>
  971. <property name="shortcut">
  972. <string>Ctrl+S</string>
  973. </property>
  974. </action>
  975. <action name="saveAsProjectAction">
  976. <property name="text">
  977. <string>工程另存为</string>
  978. </property>
  979. <property name="shortcut">
  980. <string>Ctrl+Shift+S</string>
  981. </property>
  982. </action>
  983. <action name="loadProjectAction">
  984. <property name="text">
  985. <string>加载工程</string>
  986. </property>
  987. <property name="shortcut">
  988. <string>Ctrl+O</string>
  989. </property>
  990. </action>
  991. <action name="undoAction">
  992. <property name="text"><string>撤销</string></property>
  993. <property name="toolTip"><string>撤销当前编辑器的上一步操作</string></property>
  994. <property name="shortcut"><string>Ctrl+Z</string></property>
  995. </action>
  996. <action name="redoAction">
  997. <property name="text"><string>重做</string></property>
  998. <property name="toolTip"><string>重做当前编辑器最近撤销的操作</string></property>
  999. <property name="shortcut"><string>Ctrl+Y</string></property>
  1000. </action>
  1001. <action name="deleteSelectionAction">
  1002. <property name="text"><string>删除所选</string></property>
  1003. <property name="toolTip"><string>删除当前画布中选中的对象</string></property>
  1004. <property name="shortcut"><string>Delete</string></property>
  1005. </action>
  1006. <action name="clearSelectionAction">
  1007. <property name="text"><string>清除选择</string></property>
  1008. <property name="toolTip"><string>清除当前画布选择</string></property>
  1009. <property name="shortcut"><string>Esc</string></property>
  1010. </action>
  1011. <action name="configurePlcAction">
  1012. <property name="text">
  1013. <string>PLC 配置</string>
  1014. </property>
  1015. <property name="toolTip">
  1016. <string>配置参数并连接真实 PLC</string>
  1017. </property>
  1018. </action>
  1019. <action name="configureRegisterCommentsAction">
  1020. <property name="text">
  1021. <string>软元件注释</string>
  1022. </property>
  1023. <property name="toolTip">
  1024. <string>维护工程级 M/D 地址注释</string>
  1025. </property>
  1026. </action>
  1027. <action name="disconnectPlcAction">
  1028. <property name="text">
  1029. <string>断开 PLC</string>
  1030. </property>
  1031. <property name="toolTip">
  1032. <string>断开当前 PLC 连接</string>
  1033. </property>
  1034. </action>
  1035. <action name="addButtonAction">
  1036. <property name="text">
  1037. <string>按钮</string>
  1038. </property>
  1039. <property name="toolTip">
  1040. <string>添加按钮控件</string>
  1041. </property>
  1042. </action>
  1043. <action name="addIndicatorAction">
  1044. <property name="text">
  1045. <string>指示灯</string>
  1046. </property>
  1047. <property name="toolTip">
  1048. <string>添加指示灯控件</string>
  1049. </property>
  1050. </action>
  1051. <action name="addNumericDisplayAction">
  1052. <property name="text">
  1053. <string>数值显示</string>
  1054. </property>
  1055. <property name="toolTip">
  1056. <string>添加数值显示控件</string>
  1057. </property>
  1058. </action>
  1059. <action name="addNumericInputAction">
  1060. <property name="text">
  1061. <string>数值输入</string>
  1062. </property>
  1063. <property name="toolTip">
  1064. <string>添加数值输入控件</string>
  1065. </property>
  1066. </action>
  1067. <action name="addProgressBarAction">
  1068. <property name="text">
  1069. <string>进度条</string>
  1070. </property>
  1071. <property name="toolTip">
  1072. <string>添加进度条控件</string>
  1073. </property>
  1074. </action>
  1075. <action name="addLabelAction">
  1076. <property name="text">
  1077. <string>文本</string>
  1078. </property>
  1079. <property name="toolTip">
  1080. <string>添加固定文本控件</string>
  1081. </property>
  1082. </action>
  1083. <action name="addPageJumpAction">
  1084. <property name="text">
  1085. <string>页面跳转</string>
  1086. </property>
  1087. <property name="toolTip">
  1088. <string>添加页面跳转控件</string>
  1089. </property>
  1090. </action>
  1091. <action name="addAlarmListAction">
  1092. <property name="text">
  1093. <string>报警列表</string>
  1094. </property>
  1095. <property name="toolTip">
  1096. <string>添加报警列表控件</string>
  1097. </property>
  1098. </action>
  1099. <action name="configureAlarmsAction">
  1100. <property name="text">
  1101. <string>报警配置</string>
  1102. </property>
  1103. <property name="toolTip">
  1104. <string>配置 M 和 D 报警条件</string>
  1105. </property>
  1106. </action>
  1107. <action name="deleteControlAction">
  1108. <property name="text">
  1109. <string>删除</string>
  1110. </property>
  1111. <property name="toolTip">
  1112. <string>删除当前控件</string>
  1113. </property>
  1114. </action>
  1115. <action name="addRungAction">
  1116. <property name="text">
  1117. <string>新建网络</string>
  1118. </property>
  1119. <property name="toolTip">
  1120. <string>在梯形图末尾新增网络</string>
  1121. </property>
  1122. </action>
  1123. <action name="insertHorizontalWireAction">
  1124. <property name="text">
  1125. <string>横线</string>
  1126. </property>
  1127. <property name="toolTip">
  1128. <string>在所选条件或横线后插入横线;没有选择时追加到当前网络</string>
  1129. </property>
  1130. <property name="shortcut">
  1131. <string>F11</string>
  1132. </property>
  1133. </action>
  1134. <action name="insertVerticalWireAction">
  1135. <property name="text">
  1136. <string>竖线</string>
  1137. </property>
  1138. <property name="toolTip">
  1139. <string>为所选连续逻辑范围建立横线旁路和竖线连接</string>
  1140. </property>
  1141. <property name="shortcut">
  1142. <string>F12</string>
  1143. </property>
  1144. </action>
  1145. <action name="deleteHorizontalWireAction">
  1146. <property name="text">
  1147. <string>删除横线</string>
  1148. </property>
  1149. <property name="toolTip">
  1150. <string>删除画布中选中的横线</string>
  1151. </property>
  1152. <property name="shortcut">
  1153. <string>Shift+F11</string>
  1154. </property>
  1155. </action>
  1156. <action name="deleteVerticalWireAction">
  1157. <property name="text">
  1158. <string>删除竖线</string>
  1159. </property>
  1160. <property name="toolTip">
  1161. <string>删除画布中选中的竖线及其对应并联支路</string>
  1162. </property>
  1163. <property name="shortcut">
  1164. <string>Shift+F12</string>
  1165. </property>
  1166. </action>
  1167. <action name="parallelInsertAction">
  1168. <property name="text">
  1169. <string>并联支路</string>
  1170. </property>
  1171. <property name="toolTip">
  1172. <string>为画布中选中的连续节点建立并联支路</string>
  1173. </property>
  1174. </action>
  1175. <action name="addNormallyOpenAction">
  1176. <property name="text">
  1177. <string>常开</string>
  1178. </property>
  1179. <property name="toolTip">
  1180. <string>在选中的空网格或横线处添加常开触点;选中条件时在其后插入</string>
  1181. </property>
  1182. </action>
  1183. <action name="addNormallyClosedAction">
  1184. <property name="text">
  1185. <string>常闭</string>
  1186. </property>
  1187. <property name="toolTip">
  1188. <string>在选中的空网格或横线处添加常闭触点;选中条件时在其后插入</string>
  1189. </property>
  1190. </action>
  1191. <action name="addRisingEdgeAction">
  1192. <property name="text">
  1193. <string>上升沿</string>
  1194. </property>
  1195. <property name="toolTip">
  1196. <string>在选中的空网格或横线处添加一个扫描周期的上升沿触点</string>
  1197. </property>
  1198. </action>
  1199. <action name="addFallingEdgeAction">
  1200. <property name="text">
  1201. <string>下降沿</string>
  1202. </property>
  1203. <property name="toolTip">
  1204. <string>在选中的空网格或横线处添加一个扫描周期的下降沿触点</string>
  1205. </property>
  1206. </action>
  1207. <action name="addTimerContactAction">
  1208. <property name="text">
  1209. <string>T 触点</string>
  1210. </property>
  1211. <property name="toolTip">
  1212. <string>在选中的空网格或横线处添加离线仿真定时器触点</string>
  1213. </property>
  1214. </action>
  1215. <action name="addCounterContactAction">
  1216. <property name="text"><string>C 触点</string></property>
  1217. <property name="toolTip"><string>在选中的空网格或横线处添加离线仿真计数器完成触点</string></property>
  1218. </action>
  1219. <action name="addNormalCoilAction">
  1220. <property name="text">
  1221. <string>线圈</string>
  1222. </property>
  1223. <property name="toolTip">
  1224. <string>设置当前网络的普通线圈</string>
  1225. </property>
  1226. </action>
  1227. <action name="addSetCoilAction">
  1228. <property name="text">
  1229. <string>置位</string>
  1230. </property>
  1231. <property name="toolTip">
  1232. <string>设置当前网络的置位线圈</string>
  1233. </property>
  1234. </action>
  1235. <action name="addResetCoilAction">
  1236. <property name="text">
  1237. <string>复位</string>
  1238. </property>
  1239. <property name="toolTip">
  1240. <string>设置当前网络的复位线圈</string>
  1241. </property>
  1242. </action>
  1243. <action name="addTonAction">
  1244. <property name="text">
  1245. <string>TON</string>
  1246. </property>
  1247. <property name="toolTip">
  1248. <string>设置非保持接通延时定时器输出</string>
  1249. </property>
  1250. </action>
  1251. <action name="addCtuAction">
  1252. <property name="text"><string>CTU</string></property>
  1253. <property name="toolTip"><string>设置按上升沿执行的加计数器</string></property>
  1254. </action>
  1255. <action name="addCtdAction">
  1256. <property name="text"><string>CTD</string></property>
  1257. <property name="toolTip"><string>设置按上升沿执行的减计数器</string></property>
  1258. </action>
  1259. <action name="addMoveAction">
  1260. <property name="text"><string>MOVE</string></property>
  1261. <property name="toolTip"><string>设置 D 数据传送指令</string></property>
  1262. </action>
  1263. <action name="addAddAction">
  1264. <property name="text"><string>ADD</string></property>
  1265. <property name="toolTip"><string>设置带饱和处理的加法指令</string></property>
  1266. </action>
  1267. <action name="addSubAction">
  1268. <property name="text"><string>SUB</string></property>
  1269. <property name="toolTip"><string>设置带饱和处理的减法指令</string></property>
  1270. </action>
  1271. <action name="addCompareAction">
  1272. <property name="text">
  1273. <string>D 比较</string>
  1274. </property>
  1275. <property name="toolTip">
  1276. <string>在选中的空网格或横线处添加 D 值与常量比较条件</string>
  1277. </property>
  1278. </action>
  1279. <action name="editRungCommentAction">
  1280. <property name="text">
  1281. <string>网络注释</string>
  1282. </property>
  1283. <property name="toolTip">
  1284. <string>编辑当前梯形图网络说明</string>
  1285. </property>
  1286. </action>
  1287. <action name="deleteLogicAction">
  1288. <property name="text">
  1289. <string>删除节点/网络</string>
  1290. </property>
  1291. <property name="toolTip">
  1292. <string>删除选中的逻辑节点或网络</string>
  1293. </property>
  1294. </action>
  1295. <action name="editingModeAction">
  1296. <property name="checkable">
  1297. <bool>true</bool>
  1298. </property>
  1299. <property name="checked">
  1300. <bool>true</bool>
  1301. </property>
  1302. <property name="text">
  1303. <string>编辑</string>
  1304. </property>
  1305. <property name="toolTip">
  1306. <string>进入编辑态</string>
  1307. </property>
  1308. </action>
  1309. <action name="offlineModeAction">
  1310. <property name="checkable">
  1311. <bool>true</bool>
  1312. </property>
  1313. <property name="text">
  1314. <string>离线运行</string>
  1315. </property>
  1316. <property name="toolTip">
  1317. <string>进入离线运行态</string>
  1318. </property>
  1319. </action>
  1320. <action name="onlineModeAction">
  1321. <property name="checkable">
  1322. <bool>true</bool>
  1323. </property>
  1324. <property name="text">
  1325. <string>真机运行</string>
  1326. </property>
  1327. <property name="toolTip">
  1328. <string>进入真机运行态</string>
  1329. </property>
  1330. </action>
  1331. </widget>
  1332. <resources/>
  1333. <connections/>
  1334. </ui>