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.

709 lines
17 KiB

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
  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>1269</width>
  10. <height>787</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>MainWindow</string>
  15. </property>
  16. <widget class="QWidget" name="centralwidget">
  17. <widget class="QTextBrowser" name="logbrowser">
  18. <property name="geometry">
  19. <rect>
  20. <x>10</x>
  21. <y>490</y>
  22. <width>951</width>
  23. <height>191</height>
  24. </rect>
  25. </property>
  26. </widget>
  27. <widget class="QPushButton" name="ClearLogButton">
  28. <property name="geometry">
  29. <rect>
  30. <x>10</x>
  31. <y>450</y>
  32. <width>91</width>
  33. <height>31</height>
  34. </rect>
  35. </property>
  36. <property name="text">
  37. <string>ClearLog</string>
  38. </property>
  39. </widget>
  40. <widget class="QPushButton" name="Connect2XsyncButton">
  41. <property name="geometry">
  42. <rect>
  43. <x>0</x>
  44. <y>10</y>
  45. <width>91</width>
  46. <height>31</height>
  47. </rect>
  48. </property>
  49. <property name="text">
  50. <string>Connect2Xsync</string>
  51. </property>
  52. </widget>
  53. <widget class="QLineEdit" name="IpInput">
  54. <property name="geometry">
  55. <rect>
  56. <x>100</x>
  57. <y>10</y>
  58. <width>111</width>
  59. <height>31</height>
  60. </rect>
  61. </property>
  62. <property name="font">
  63. <font>
  64. <weight>75</weight>
  65. <bold>true</bold>
  66. </font>
  67. </property>
  68. <property name="text">
  69. <string>192.168.8.10</string>
  70. </property>
  71. <property name="readOnly">
  72. <bool>false</bool>
  73. </property>
  74. </widget>
  75. <widget class="QTextBrowser" name="TimecodeDisplayer">
  76. <property name="geometry">
  77. <rect>
  78. <x>470</x>
  79. <y>10</y>
  80. <width>141</width>
  81. <height>31</height>
  82. </rect>
  83. </property>
  84. </widget>
  85. <widget class="QTextBrowser" name="CameraSyncIndex">
  86. <property name="geometry">
  87. <rect>
  88. <x>620</x>
  89. <y>10</y>
  90. <width>141</width>
  91. <height>31</height>
  92. </rect>
  93. </property>
  94. </widget>
  95. <widget class="QTabWidget" name="tabWidget">
  96. <property name="geometry">
  97. <rect>
  98. <x>10</x>
  99. <y>50</y>
  100. <width>951</width>
  101. <height>391</height>
  102. </rect>
  103. </property>
  104. <property name="currentIndex">
  105. <number>2</number>
  106. </property>
  107. <widget class="QWidget" name="tab">
  108. <attribute name="title">
  109. <string>寄存器读写</string>
  110. </attribute>
  111. <widget class="QScrollArea" name="scrollArea">
  112. <property name="geometry">
  113. <rect>
  114. <x>110</x>
  115. <y>10</y>
  116. <width>671</width>
  117. <height>311</height>
  118. </rect>
  119. </property>
  120. <property name="minimumSize">
  121. <size>
  122. <width>0</width>
  123. <height>0</height>
  124. </size>
  125. </property>
  126. <property name="sizeIncrement">
  127. <size>
  128. <width>0</width>
  129. <height>0</height>
  130. </size>
  131. </property>
  132. <property name="baseSize">
  133. <size>
  134. <width>0</width>
  135. <height>0</height>
  136. </size>
  137. </property>
  138. <property name="verticalScrollBarPolicy">
  139. <enum>Qt::ScrollBarAlwaysOn</enum>
  140. </property>
  141. <property name="horizontalScrollBarPolicy">
  142. <enum>Qt::ScrollBarAlwaysOn</enum>
  143. </property>
  144. <property name="sizeAdjustPolicy">
  145. <enum>QAbstractScrollArea::AdjustIgnored</enum>
  146. </property>
  147. <property name="widgetResizable">
  148. <bool>true</bool>
  149. </property>
  150. <widget class="QWidget" name="scrollAreaWidgetContents">
  151. <property name="geometry">
  152. <rect>
  153. <x>0</x>
  154. <y>0</y>
  155. <width>652</width>
  156. <height>3000</height>
  157. </rect>
  158. </property>
  159. <property name="minimumSize">
  160. <size>
  161. <width>0</width>
  162. <height>3000</height>
  163. </size>
  164. </property>
  165. <widget class="QWidget" name="gridLayoutWidget">
  166. <property name="geometry">
  167. <rect>
  168. <x>20</x>
  169. <y>10</y>
  170. <width>581</width>
  171. <height>91</height>
  172. </rect>
  173. </property>
  174. <layout class="QGridLayout" name="reg_table">
  175. <property name="sizeConstraint">
  176. <enum>QLayout::SetNoConstraint</enum>
  177. </property>
  178. </layout>
  179. </widget>
  180. </widget>
  181. </widget>
  182. <widget class="QPushButton" name="RefreshRegsButton">
  183. <property name="geometry">
  184. <rect>
  185. <x>10</x>
  186. <y>10</y>
  187. <width>91</width>
  188. <height>31</height>
  189. </rect>
  190. </property>
  191. <property name="text">
  192. <string>RefreshRegs</string>
  193. </property>
  194. </widget>
  195. </widget>
  196. <widget class="QWidget" name="tab_2">
  197. <attribute name="title">
  198. <string>基础功能</string>
  199. </attribute>
  200. <widget class="QPushButton" name="GenNewMac">
  201. <property name="geometry">
  202. <rect>
  203. <x>20</x>
  204. <y>20</y>
  205. <width>101</width>
  206. <height>31</height>
  207. </rect>
  208. </property>
  209. <property name="text">
  210. <string>GenNewMac</string>
  211. </property>
  212. </widget>
  213. <widget class="QPushButton" name="FactoryReset">
  214. <property name="geometry">
  215. <rect>
  216. <x>20</x>
  217. <y>60</y>
  218. <width>101</width>
  219. <height>31</height>
  220. </rect>
  221. </property>
  222. <property name="text">
  223. <string>FactoryReset</string>
  224. </property>
  225. </widget>
  226. <widget class="QPushButton" name="Reboot">
  227. <property name="geometry">
  228. <rect>
  229. <x>20</x>
  230. <y>100</y>
  231. <width>101</width>
  232. <height>31</height>
  233. </rect>
  234. </property>
  235. <property name="text">
  236. <string>Reboot</string>
  237. </property>
  238. </widget>
  239. <widget class="QPushButton" name="ChangeNetCfg">
  240. <property name="geometry">
  241. <rect>
  242. <x>20</x>
  243. <y>140</y>
  244. <width>101</width>
  245. <height>31</height>
  246. </rect>
  247. </property>
  248. <property name="text">
  249. <string>ChangeNetCfg</string>
  250. </property>
  251. </widget>
  252. <widget class="QLineEdit" name="ChangeNetCfg_ip">
  253. <property name="geometry">
  254. <rect>
  255. <x>130</x>
  256. <y>140</y>
  257. <width>111</width>
  258. <height>31</height>
  259. </rect>
  260. </property>
  261. <property name="font">
  262. <font>
  263. <weight>75</weight>
  264. <bold>true</bold>
  265. </font>
  266. </property>
  267. <property name="text">
  268. <string>192.168.8.10</string>
  269. </property>
  270. <property name="readOnly">
  271. <bool>false</bool>
  272. </property>
  273. </widget>
  274. <widget class="QLineEdit" name="ChangeNetCfg_mask">
  275. <property name="geometry">
  276. <rect>
  277. <x>250</x>
  278. <y>140</y>
  279. <width>111</width>
  280. <height>31</height>
  281. </rect>
  282. </property>
  283. <property name="font">
  284. <font>
  285. <weight>75</weight>
  286. <bold>true</bold>
  287. </font>
  288. </property>
  289. <property name="text">
  290. <string>255.255.255.0</string>
  291. </property>
  292. <property name="readOnly">
  293. <bool>false</bool>
  294. </property>
  295. </widget>
  296. <widget class="QLineEdit" name="ChangeNetCfg_gateway">
  297. <property name="geometry">
  298. <rect>
  299. <x>370</x>
  300. <y>140</y>
  301. <width>111</width>
  302. <height>31</height>
  303. </rect>
  304. </property>
  305. <property name="font">
  306. <font>
  307. <weight>75</weight>
  308. <bold>true</bold>
  309. </font>
  310. </property>
  311. <property name="text">
  312. <string>192.168.8.1</string>
  313. </property>
  314. <property name="readOnly">
  315. <bool>false</bool>
  316. </property>
  317. </widget>
  318. <widget class="QPushButton" name="WriteReg">
  319. <property name="geometry">
  320. <rect>
  321. <x>20</x>
  322. <y>180</y>
  323. <width>101</width>
  324. <height>31</height>
  325. </rect>
  326. </property>
  327. <property name="text">
  328. <string>WriteReg</string>
  329. </property>
  330. </widget>
  331. <widget class="QPushButton" name="ReadReg">
  332. <property name="geometry">
  333. <rect>
  334. <x>20</x>
  335. <y>220</y>
  336. <width>101</width>
  337. <height>31</height>
  338. </rect>
  339. </property>
  340. <property name="text">
  341. <string>ReadReg</string>
  342. </property>
  343. </widget>
  344. <widget class="QLineEdit" name="RegAdd">
  345. <property name="geometry">
  346. <rect>
  347. <x>130</x>
  348. <y>200</y>
  349. <width>111</width>
  350. <height>31</height>
  351. </rect>
  352. </property>
  353. <property name="font">
  354. <font>
  355. <weight>75</weight>
  356. <bold>true</bold>
  357. </font>
  358. </property>
  359. <property name="text">
  360. <string>0x0</string>
  361. </property>
  362. <property name="readOnly">
  363. <bool>false</bool>
  364. </property>
  365. </widget>
  366. <widget class="QLineEdit" name="RegVal">
  367. <property name="geometry">
  368. <rect>
  369. <x>250</x>
  370. <y>200</y>
  371. <width>111</width>
  372. <height>31</height>
  373. </rect>
  374. </property>
  375. <property name="font">
  376. <font>
  377. <weight>75</weight>
  378. <bold>true</bold>
  379. </font>
  380. </property>
  381. <property name="text">
  382. <string>0</string>
  383. </property>
  384. <property name="readOnly">
  385. <bool>false</bool>
  386. </property>
  387. </widget>
  388. </widget>
  389. <widget class="QWidget" name="tab_3">
  390. <attribute name="title">
  391. <string>TTL输出模块</string>
  392. </attribute>
  393. <widget class="QComboBox" name="TTLOutputMoudle_ID">
  394. <property name="geometry">
  395. <rect>
  396. <x>30</x>
  397. <y>31</y>
  398. <width>81</width>
  399. <height>31</height>
  400. </rect>
  401. </property>
  402. <property name="currentIndex">
  403. <number>0</number>
  404. </property>
  405. <item>
  406. <property name="text">
  407. <string notr="true">1</string>
  408. </property>
  409. </item>
  410. <item>
  411. <property name="text">
  412. <string>2</string>
  413. </property>
  414. </item>
  415. <item>
  416. <property name="text">
  417. <string>3</string>
  418. </property>
  419. </item>
  420. <item>
  421. <property name="text">
  422. <string>4</string>
  423. </property>
  424. </item>
  425. </widget>
  426. <widget class="QComboBox" name="TTLOutputMoudle_InputSigType">
  427. <property name="geometry">
  428. <rect>
  429. <x>220</x>
  430. <y>80</y>
  431. <width>241</width>
  432. <height>31</height>
  433. </rect>
  434. </property>
  435. <property name="currentIndex">
  436. <number>1</number>
  437. </property>
  438. <item>
  439. <property name="text">
  440. <string>level0</string>
  441. </property>
  442. </item>
  443. <item>
  444. <property name="text">
  445. <string>level1</string>
  446. </property>
  447. </item>
  448. <item>
  449. <property name="text">
  450. <string>ttlin1_module_raw_sig</string>
  451. </property>
  452. </item>
  453. <item>
  454. <property name="text">
  455. <string>ttlin1_module_sig_divide</string>
  456. </property>
  457. </item>
  458. <item>
  459. <property name="text">
  460. <string>ttlin2_module_raw_sig</string>
  461. </property>
  462. </item>
  463. <item>
  464. <property name="text">
  465. <string>ttlin2_module_sig_divide</string>
  466. </property>
  467. </item>
  468. <item>
  469. <property name="text">
  470. <string>ttlin3_module_raw_sig</string>
  471. </property>
  472. </item>
  473. <item>
  474. <property name="text">
  475. <string>ttlin3_module_sig_divide</string>
  476. </property>
  477. </item>
  478. <item>
  479. <property name="text">
  480. <string>ttlin4_module_raw_sig</string>
  481. </property>
  482. </item>
  483. <item>
  484. <property name="text">
  485. <string>ttlin4_module_sig_divide</string>
  486. </property>
  487. </item>
  488. <item>
  489. <property name="text">
  490. <string>genlockin_module_freq_sig</string>
  491. </property>
  492. </item>
  493. <item>
  494. <property name="text">
  495. <string>timecodein_module_trigger_sig</string>
  496. </property>
  497. </item>
  498. <item>
  499. <property name="text">
  500. <string>internal_camera_sync_sig</string>
  501. </property>
  502. </item>
  503. <item>
  504. <property name="text">
  505. <string>internal_timecode_trigger_sig</string>
  506. </property>
  507. </item>
  508. <item>
  509. <property name="text">
  510. <string>internal_genlock_freq_sig</string>
  511. </property>
  512. </item>
  513. <item>
  514. <property name="text">
  515. <string>internal_work_state_sig</string>
  516. </property>
  517. </item>
  518. </widget>
  519. <widget class="QComboBox" name="TTLOutputMoudle_OutputSigType">
  520. <property name="geometry">
  521. <rect>
  522. <x>220</x>
  523. <y>130</y>
  524. <width>241</width>
  525. <height>31</height>
  526. </rect>
  527. </property>
  528. <item>
  529. <property name="text">
  530. <string>level0</string>
  531. </property>
  532. </item>
  533. <item>
  534. <property name="text">
  535. <string>level1</string>
  536. </property>
  537. </item>
  538. <item>
  539. <property name="text">
  540. <string>test_signal</string>
  541. </property>
  542. </item>
  543. <item>
  544. <property name="text">
  545. <string>input_signal</string>
  546. </property>
  547. </item>
  548. <item>
  549. <property name="text">
  550. <string>input_signal_mirror</string>
  551. </property>
  552. </item>
  553. <item>
  554. <property name="text">
  555. <string>trigger_mode_signal</string>
  556. </property>
  557. </item>
  558. <item>
  559. <property name="text">
  560. <string>trigger_mode_signal_mirror</string>
  561. </property>
  562. </item>
  563. </widget>
  564. <widget class="QLineEdit" name="TTLOutputMoudle_TriggerModePulseWidth">
  565. <property name="geometry">
  566. <rect>
  567. <x>220</x>
  568. <y>180</y>
  569. <width>241</width>
  570. <height>31</height>
  571. </rect>
  572. </property>
  573. <property name="font">
  574. <font>
  575. <weight>75</weight>
  576. <bold>true</bold>
  577. </font>
  578. </property>
  579. <property name="text">
  580. <string>10</string>
  581. </property>
  582. <property name="readOnly">
  583. <bool>false</bool>
  584. </property>
  585. </widget>
  586. <widget class="QLineEdit" name="TTLOutputMoudle_TriggerModePulseDelay">
  587. <property name="geometry">
  588. <rect>
  589. <x>220</x>
  590. <y>230</y>
  591. <width>241</width>
  592. <height>31</height>
  593. </rect>
  594. </property>
  595. <property name="font">
  596. <font>
  597. <weight>75</weight>
  598. <bold>true</bold>
  599. </font>
  600. </property>
  601. <property name="text">
  602. <string>5</string>
  603. </property>
  604. <property name="readOnly">
  605. <bool>false</bool>
  606. </property>
  607. </widget>
  608. <widget class="QPushButton" name="TTLOutputMoudle_Update">
  609. <property name="geometry">
  610. <rect>
  611. <x>500</x>
  612. <y>130</y>
  613. <width>151</width>
  614. <height>41</height>
  615. </rect>
  616. </property>
  617. <property name="text">
  618. <string>Update</string>
  619. </property>
  620. </widget>
  621. <widget class="QLabel" name="label">
  622. <property name="geometry">
  623. <rect>
  624. <x>30</x>
  625. <y>80</y>
  626. <width>101</width>
  627. <height>31</height>
  628. </rect>
  629. </property>
  630. <property name="text">
  631. <string>InputSigType</string>
  632. </property>
  633. </widget>
  634. <widget class="QLabel" name="label_2">
  635. <property name="geometry">
  636. <rect>
  637. <x>30</x>
  638. <y>180</y>
  639. <width>161</width>
  640. <height>31</height>
  641. </rect>
  642. </property>
  643. <property name="text">
  644. <string>TriggerModePulseWidth(ms)</string>
  645. </property>
  646. </widget>
  647. <widget class="QLabel" name="label_3">
  648. <property name="geometry">
  649. <rect>
  650. <x>30</x>
  651. <y>230</y>
  652. <width>151</width>
  653. <height>31</height>
  654. </rect>
  655. </property>
  656. <property name="text">
  657. <string>TriggerModePulseDelay(ms)</string>
  658. </property>
  659. </widget>
  660. <widget class="QLabel" name="label_4">
  661. <property name="geometry">
  662. <rect>
  663. <x>30</x>
  664. <y>130</y>
  665. <width>101</width>
  666. <height>31</height>
  667. </rect>
  668. </property>
  669. <property name="text">
  670. <string>OutputSigType</string>
  671. </property>
  672. </widget>
  673. <widget class="QPushButton" name="TTLOutputMoudle_Read">
  674. <property name="geometry">
  675. <rect>
  676. <x>500</x>
  677. <y>80</y>
  678. <width>151</width>
  679. <height>41</height>
  680. </rect>
  681. </property>
  682. <property name="text">
  683. <string>Read</string>
  684. </property>
  685. </widget>
  686. </widget>
  687. </widget>
  688. </widget>
  689. <widget class="QMenuBar" name="menubar">
  690. <property name="geometry">
  691. <rect>
  692. <x>0</x>
  693. <y>0</y>
  694. <width>1269</width>
  695. <height>23</height>
  696. </rect>
  697. </property>
  698. <widget class="QMenu" name="menu123">
  699. <property name="title">
  700. <string>123</string>
  701. </property>
  702. </widget>
  703. <addaction name="menu123"/>
  704. </widget>
  705. <widget class="QStatusBar" name="statusbar"/>
  706. </widget>
  707. <resources/>
  708. <connections/>
  709. </ui>