mainwindow.ui 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387
  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>800</width>
  10. <height>600</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>MainWindow</string>
  15. </property>
  16. <widget class="QWidget" name="centralwidget">
  17. <widget class="QTextEdit" name="textEdit">
  18. <property name="geometry">
  19. <rect>
  20. <x>20</x>
  21. <y>170</y>
  22. <width>601</width>
  23. <height>401</height>
  24. </rect>
  25. </property>
  26. <property name="focusPolicy">
  27. <enum>Qt::NoFocus</enum>
  28. </property>
  29. </widget>
  30. <widget class="QWidget" name="layoutWidget">
  31. <property name="geometry">
  32. <rect>
  33. <x>21</x>
  34. <y>8</y>
  35. <width>581</width>
  36. <height>151</height>
  37. </rect>
  38. </property>
  39. <layout class="QGridLayout" name="gridLayout_2">
  40. <item row="0" column="0">
  41. <layout class="QVBoxLayout" name="verticalLayout_4">
  42. <item>
  43. <widget class="QDoubleSpinBox" name="LeftFrontDIstance">
  44. <property name="alignment">
  45. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  46. </property>
  47. <property name="decimals">
  48. <number>3</number>
  49. </property>
  50. <property name="maximum">
  51. <double>1000.000000000000000</double>
  52. </property>
  53. </widget>
  54. </item>
  55. <item>
  56. <widget class="QLabel" name="LF_Label">
  57. <property name="text">
  58. <string>左前(毫米)</string>
  59. </property>
  60. <property name="alignment">
  61. <set>Qt::AlignCenter</set>
  62. </property>
  63. </widget>
  64. </item>
  65. </layout>
  66. </item>
  67. <item row="0" column="1">
  68. <layout class="QVBoxLayout" name="verticalLayout_5">
  69. <item>
  70. <widget class="QDoubleSpinBox" name="RightFrontDistance">
  71. <property name="alignment">
  72. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  73. </property>
  74. <property name="maximum">
  75. <double>1000.000000000000000</double>
  76. </property>
  77. </widget>
  78. </item>
  79. <item>
  80. <widget class="QLabel" name="RF_Label">
  81. <property name="text">
  82. <string>右前(毫米)</string>
  83. </property>
  84. <property name="alignment">
  85. <set>Qt::AlignCenter</set>
  86. </property>
  87. </widget>
  88. </item>
  89. </layout>
  90. </item>
  91. <item row="1" column="0">
  92. <layout class="QVBoxLayout" name="verticalLayout_3">
  93. <item>
  94. <widget class="QDoubleSpinBox" name="LeftRearDistance">
  95. <property name="alignment">
  96. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  97. </property>
  98. <property name="maximum">
  99. <double>1000.000000000000000</double>
  100. </property>
  101. </widget>
  102. </item>
  103. <item>
  104. <widget class="QLabel" name="LR_Label">
  105. <property name="text">
  106. <string>左后(毫米)</string>
  107. </property>
  108. <property name="alignment">
  109. <set>Qt::AlignCenter</set>
  110. </property>
  111. </widget>
  112. </item>
  113. </layout>
  114. </item>
  115. <item row="1" column="1">
  116. <layout class="QVBoxLayout" name="verticalLayout_10">
  117. <item>
  118. <widget class="QDoubleSpinBox" name="RightRearDistance">
  119. <property name="alignment">
  120. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  121. </property>
  122. <property name="maximum">
  123. <double>1000.000000000000000</double>
  124. </property>
  125. </widget>
  126. </item>
  127. <item>
  128. <widget class="QLabel" name="RR_Label">
  129. <property name="text">
  130. <string>右后(毫米)</string>
  131. </property>
  132. <property name="alignment">
  133. <set>Qt::AlignCenter</set>
  134. </property>
  135. </widget>
  136. </item>
  137. </layout>
  138. </item>
  139. <item row="1" column="2">
  140. <layout class="QVBoxLayout" name="verticalLayout_11">
  141. <item>
  142. <widget class="QDoubleSpinBox" name="WheelBase">
  143. <property name="alignment">
  144. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  145. </property>
  146. <property name="minimum">
  147. <double>2500.000000000000000</double>
  148. </property>
  149. <property name="maximum">
  150. <double>3200.000000000000000</double>
  151. </property>
  152. <property name="value">
  153. <double>2700.000000000000000</double>
  154. </property>
  155. </widget>
  156. </item>
  157. <item>
  158. <widget class="QLabel" name="label_11">
  159. <property name="text">
  160. <string>轴距(毫米)</string>
  161. </property>
  162. <property name="alignment">
  163. <set>Qt::AlignCenter</set>
  164. </property>
  165. </widget>
  166. </item>
  167. </layout>
  168. </item>
  169. </layout>
  170. </widget>
  171. <widget class="QWidget" name="">
  172. <property name="geometry">
  173. <rect>
  174. <x>631</x>
  175. <y>173</y>
  176. <width>146</width>
  177. <height>411</height>
  178. </rect>
  179. </property>
  180. <layout class="QGridLayout" name="gridLayout">
  181. <item row="0" column="0">
  182. <layout class="QVBoxLayout" name="verticalLayout">
  183. <item>
  184. <widget class="QPushButton" name="ComputeButton">
  185. <property name="text">
  186. <string>计算</string>
  187. </property>
  188. </widget>
  189. </item>
  190. <item>
  191. <widget class="QPushButton" name="QuashButton">
  192. <property name="text">
  193. <string>撤销</string>
  194. </property>
  195. </widget>
  196. </item>
  197. <item>
  198. <widget class="QPushButton" name="RedoButton">
  199. <property name="text">
  200. <string>重做</string>
  201. </property>
  202. </widget>
  203. </item>
  204. </layout>
  205. </item>
  206. <item row="1" column="0">
  207. <layout class="QVBoxLayout" name="verticalLayout_6">
  208. <item>
  209. <widget class="QLineEdit" name="plc_offsetx">
  210. <property name="focusPolicy">
  211. <enum>Qt::NoFocus</enum>
  212. </property>
  213. <property name="alignment">
  214. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  215. </property>
  216. </widget>
  217. </item>
  218. <item>
  219. <widget class="QLabel" name="label_5">
  220. <property name="text">
  221. <string>X轴偏移(米)</string>
  222. </property>
  223. <property name="alignment">
  224. <set>Qt::AlignCenter</set>
  225. </property>
  226. </widget>
  227. </item>
  228. </layout>
  229. </item>
  230. <item row="2" column="0">
  231. <layout class="QVBoxLayout" name="verticalLayout_7">
  232. <item>
  233. <widget class="QLineEdit" name="plc_offsety">
  234. <property name="focusPolicy">
  235. <enum>Qt::NoFocus</enum>
  236. </property>
  237. <property name="alignment">
  238. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  239. </property>
  240. </widget>
  241. </item>
  242. <item>
  243. <widget class="QLabel" name="label_6">
  244. <property name="text">
  245. <string>Y轴偏移(米)</string>
  246. </property>
  247. <property name="alignment">
  248. <set>Qt::AlignCenter</set>
  249. </property>
  250. </widget>
  251. </item>
  252. </layout>
  253. </item>
  254. <item row="3" column="0">
  255. <layout class="QVBoxLayout" name="verticalLayout_8">
  256. <item>
  257. <widget class="QLineEdit" name="plc_offset_degree">
  258. <property name="focusPolicy">
  259. <enum>Qt::NoFocus</enum>
  260. </property>
  261. <property name="alignment">
  262. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  263. </property>
  264. </widget>
  265. </item>
  266. <item>
  267. <widget class="QLabel" name="label_7">
  268. <property name="text">
  269. <string>角度偏移(米)</string>
  270. </property>
  271. <property name="alignment">
  272. <set>Qt::AlignCenter</set>
  273. </property>
  274. </widget>
  275. </item>
  276. </layout>
  277. </item>
  278. <item row="4" column="0">
  279. <layout class="QVBoxLayout" name="verticalLayout_9">
  280. <item>
  281. <widget class="QLineEdit" name="plc_offset_wheel_base">
  282. <property name="focusPolicy">
  283. <enum>Qt::NoFocus</enum>
  284. </property>
  285. <property name="alignment">
  286. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  287. </property>
  288. </widget>
  289. </item>
  290. <item>
  291. <widget class="QLabel" name="label_8">
  292. <property name="text">
  293. <string>轴距偏移(米)</string>
  294. </property>
  295. <property name="alignment">
  296. <set>Qt::AlignCenter</set>
  297. </property>
  298. </widget>
  299. </item>
  300. </layout>
  301. </item>
  302. </layout>
  303. </widget>
  304. <widget class="QWidget" name="">
  305. <property name="geometry">
  306. <rect>
  307. <x>630</x>
  308. <y>10</y>
  309. <width>141</width>
  310. <height>141</height>
  311. </rect>
  312. </property>
  313. <layout class="QFormLayout" name="formLayout">
  314. <item row="0" column="0" colspan="2">
  315. <widget class="QPushButton" name="AutoGetDistance">
  316. <property name="text">
  317. <string>自动获取Y值</string>
  318. </property>
  319. </widget>
  320. </item>
  321. <item row="1" column="0" colspan="2">
  322. <widget class="QComboBox" name="EntranceComboBox">
  323. <property name="layoutDirection">
  324. <enum>Qt::RightToLeft</enum>
  325. </property>
  326. </widget>
  327. </item>
  328. <item row="2" column="0" colspan="2">
  329. <widget class="QLabel" name="label_9">
  330. <property name="text">
  331. <string>入口</string>
  332. </property>
  333. <property name="alignment">
  334. <set>Qt::AlignCenter</set>
  335. </property>
  336. </widget>
  337. </item>
  338. <item row="3" column="0">
  339. <widget class="QRadioButton" name="Forward">
  340. <property name="text">
  341. <string>正向</string>
  342. </property>
  343. </widget>
  344. </item>
  345. <item row="3" column="1">
  346. <widget class="QRadioButton" name="Reverse">
  347. <property name="text">
  348. <string>反向</string>
  349. </property>
  350. </widget>
  351. </item>
  352. </layout>
  353. </widget>
  354. </widget>
  355. <widget class="QStatusBar" name="statusbar"/>
  356. <widget class="QMenuBar" name="menuBar">
  357. <property name="geometry">
  358. <rect>
  359. <x>0</x>
  360. <y>0</y>
  361. <width>800</width>
  362. <height>27</height>
  363. </rect>
  364. </property>
  365. <widget class="QMenu" name="menu">
  366. <property name="title">
  367. <string>文件</string>
  368. </property>
  369. <addaction name="InPut"/>
  370. <addaction name="OutPut"/>
  371. </widget>
  372. <addaction name="menu"/>
  373. </widget>
  374. <action name="InPut">
  375. <property name="text">
  376. <string>导入</string>
  377. </property>
  378. </action>
  379. <action name="OutPut">
  380. <property name="text">
  381. <string>导出</string>
  382. </property>
  383. </action>
  384. </widget>
  385. <resources/>
  386. <connections/>
  387. </ui>