qt_viewer.ui 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>window</class>
  4. <widget class="QMainWindow" name="window">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>910</width>
  10. <height>658</height>
  11. </rect>
  12. </property>
  13. <property name="font">
  14. <font>
  15. <family>Verdana</family>
  16. <pointsize>8</pointsize>
  17. </font>
  18. </property>
  19. <property name="windowTitle">
  20. <string>GridViewer</string>
  21. </property>
  22. <widget class="QWidget" name="centralwidget">
  23. <layout class="QHBoxLayout" name="horizontalLayout" stretch="2,0">
  24. <property name="spacing">
  25. <number>3</number>
  26. </property>
  27. <property name="leftMargin">
  28. <number>3</number>
  29. </property>
  30. <property name="topMargin">
  31. <number>3</number>
  32. </property>
  33. <property name="rightMargin">
  34. <number>3</number>
  35. </property>
  36. <property name="bottomMargin">
  37. <number>3</number>
  38. </property>
  39. <item>
  40. <layout class="QVBoxLayout" name="verticalLayout">
  41. <property name="spacing">
  42. <number>3</number>
  43. </property>
  44. <item>
  45. <widget class="QLabel" name="lbl_title">
  46. <property name="font">
  47. <font>
  48. <weight>75</weight>
  49. <bold>true</bold>
  50. </font>
  51. </property>
  52. <property name="focusPolicy">
  53. <enum>Qt::StrongFocus</enum>
  54. </property>
  55. <property name="text">
  56. <string>Grid Viewer</string>
  57. </property>
  58. <property name="alignment">
  59. <set>Qt::AlignCenter</set>
  60. </property>
  61. </widget>
  62. </item>
  63. <item>
  64. <widget class="QFrame" name="frame_tipog">
  65. <property name="minimumSize">
  66. <size>
  67. <width>0</width>
  68. <height>30</height>
  69. </size>
  70. </property>
  71. <property name="maximumSize">
  72. <size>
  73. <width>16777215</width>
  74. <height>30</height>
  75. </size>
  76. </property>
  77. <property name="frameShape">
  78. <enum>QFrame::StyledPanel</enum>
  79. </property>
  80. <property name="frameShadow">
  81. <enum>QFrame::Raised</enum>
  82. </property>
  83. <layout class="QHBoxLayout" name="horizontalLayout_6">
  84. <property name="spacing">
  85. <number>0</number>
  86. </property>
  87. <property name="leftMargin">
  88. <number>0</number>
  89. </property>
  90. <property name="topMargin">
  91. <number>0</number>
  92. </property>
  93. <property name="rightMargin">
  94. <number>0</number>
  95. </property>
  96. <property name="bottomMargin">
  97. <number>0</number>
  98. </property>
  99. <item>
  100. <layout class="QHBoxLayout" name="horizontalLayout_5">
  101. <property name="spacing">
  102. <number>0</number>
  103. </property>
  104. <item>
  105. <widget class="QPushButton" name="btn_load_tipog">
  106. <property name="minimumSize">
  107. <size>
  108. <width>140</width>
  109. <height>0</height>
  110. </size>
  111. </property>
  112. <property name="maximumSize">
  113. <size>
  114. <width>140</width>
  115. <height>16777215</height>
  116. </size>
  117. </property>
  118. <property name="text">
  119. <string>Load tipog results</string>
  120. </property>
  121. </widget>
  122. </item>
  123. <item>
  124. <spacer name="horizontalSpacer_3">
  125. <property name="orientation">
  126. <enum>Qt::Horizontal</enum>
  127. </property>
  128. <property name="sizeHint" stdset="0">
  129. <size>
  130. <width>40</width>
  131. <height>20</height>
  132. </size>
  133. </property>
  134. </spacer>
  135. </item>
  136. <item>
  137. <widget class="QToolButton" name="btn_tipog_previous">
  138. <property name="enabled">
  139. <bool>false</bool>
  140. </property>
  141. <property name="text">
  142. <string>&lt;</string>
  143. </property>
  144. </widget>
  145. </item>
  146. <item>
  147. <widget class="QLabel" name="lbl_tipog_counter">
  148. <property name="minimumSize">
  149. <size>
  150. <width>100</width>
  151. <height>0</height>
  152. </size>
  153. </property>
  154. <property name="maximumSize">
  155. <size>
  156. <width>100</width>
  157. <height>16777215</height>
  158. </size>
  159. </property>
  160. <property name="text">
  161. <string>Test 0 on 0 </string>
  162. </property>
  163. <property name="alignment">
  164. <set>Qt::AlignCenter</set>
  165. </property>
  166. </widget>
  167. </item>
  168. <item>
  169. <widget class="QToolButton" name="btn_tipog_next">
  170. <property name="enabled">
  171. <bool>false</bool>
  172. </property>
  173. <property name="text">
  174. <string>&gt;</string>
  175. </property>
  176. </widget>
  177. </item>
  178. </layout>
  179. </item>
  180. </layout>
  181. </widget>
  182. </item>
  183. <item>
  184. <widget class="QGraphicsView" name="view"/>
  185. </item>
  186. <item>
  187. <layout class="QHBoxLayout" name="horizontalLayout_2">
  188. <property name="spacing">
  189. <number>10</number>
  190. </property>
  191. <property name="leftMargin">
  192. <number>10</number>
  193. </property>
  194. <property name="topMargin">
  195. <number>0</number>
  196. </property>
  197. <property name="rightMargin">
  198. <number>10</number>
  199. </property>
  200. <item>
  201. <widget class="QLabel" name="label">
  202. <property name="text">
  203. <string>GRID</string>
  204. </property>
  205. </widget>
  206. </item>
  207. <item>
  208. <widget class="QRadioButton" name="opt_hex">
  209. <property name="minimumSize">
  210. <size>
  211. <width>0</width>
  212. <height>28</height>
  213. </size>
  214. </property>
  215. <property name="maximumSize">
  216. <size>
  217. <width>140</width>
  218. <height>28</height>
  219. </size>
  220. </property>
  221. <property name="text">
  222. <string>Flat Hex</string>
  223. </property>
  224. <property name="checked">
  225. <bool>true</bool>
  226. </property>
  227. </widget>
  228. </item>
  229. <item>
  230. <widget class="QRadioButton" name="opt_square">
  231. <property name="minimumSize">
  232. <size>
  233. <width>0</width>
  234. <height>28</height>
  235. </size>
  236. </property>
  237. <property name="maximumSize">
  238. <size>
  239. <width>140</width>
  240. <height>28</height>
  241. </size>
  242. </property>
  243. <property name="text">
  244. <string>Square</string>
  245. </property>
  246. </widget>
  247. </item>
  248. <item>
  249. <widget class="QSpinBox" name="spb_width">
  250. <property name="minimumSize">
  251. <size>
  252. <width>38</width>
  253. <height>28</height>
  254. </size>
  255. </property>
  256. <property name="maximumSize">
  257. <size>
  258. <width>80</width>
  259. <height>28</height>
  260. </size>
  261. </property>
  262. <property name="minimum">
  263. <number>1</number>
  264. </property>
  265. <property name="maximum">
  266. <number>999</number>
  267. </property>
  268. <property name="value">
  269. <number>30</number>
  270. </property>
  271. </widget>
  272. </item>
  273. <item>
  274. <widget class="QLabel" name="label_2">
  275. <property name="minimumSize">
  276. <size>
  277. <width>10</width>
  278. <height>0</height>
  279. </size>
  280. </property>
  281. <property name="maximumSize">
  282. <size>
  283. <width>10</width>
  284. <height>16777215</height>
  285. </size>
  286. </property>
  287. <property name="text">
  288. <string>X</string>
  289. </property>
  290. </widget>
  291. </item>
  292. <item>
  293. <widget class="QSpinBox" name="spb_height">
  294. <property name="minimumSize">
  295. <size>
  296. <width>38</width>
  297. <height>28</height>
  298. </size>
  299. </property>
  300. <property name="maximumSize">
  301. <size>
  302. <width>80</width>
  303. <height>28</height>
  304. </size>
  305. </property>
  306. <property name="minimum">
  307. <number>1</number>
  308. </property>
  309. <property name="maximum">
  310. <number>999</number>
  311. </property>
  312. <property name="value">
  313. <number>30</number>
  314. </property>
  315. </widget>
  316. </item>
  317. <item>
  318. <widget class="QToolButton" name="btn_make">
  319. <property name="minimumSize">
  320. <size>
  321. <width>35</width>
  322. <height>35</height>
  323. </size>
  324. </property>
  325. <property name="text">
  326. <string>&gt;&gt;</string>
  327. </property>
  328. </widget>
  329. </item>
  330. </layout>
  331. </item>
  332. <item>
  333. <layout class="QHBoxLayout" name="horizontalLayout_4">
  334. <property name="topMargin">
  335. <number>0</number>
  336. </property>
  337. <item>
  338. <widget class="QLabel" name="label_3">
  339. <property name="text">
  340. <string>Zoom</string>
  341. </property>
  342. </widget>
  343. </item>
  344. <item>
  345. <widget class="QToolButton" name="btn_zoom_plus">
  346. <property name="text">
  347. <string>+</string>
  348. </property>
  349. </widget>
  350. </item>
  351. <item>
  352. <widget class="QToolButton" name="btn_zoom_minus">
  353. <property name="text">
  354. <string>-</string>
  355. </property>
  356. </widget>
  357. </item>
  358. <item>
  359. <spacer name="horizontalSpacer_2">
  360. <property name="orientation">
  361. <enum>Qt::Horizontal</enum>
  362. </property>
  363. <property name="sizeHint" stdset="0">
  364. <size>
  365. <width>40</width>
  366. <height>20</height>
  367. </size>
  368. </property>
  369. </spacer>
  370. </item>
  371. <item>
  372. <widget class="QCheckBox" name="chk_displayCoords">
  373. <property name="text">
  374. <string>Display coordinates</string>
  375. </property>
  376. <property name="checked">
  377. <bool>true</bool>
  378. </property>
  379. </widget>
  380. </item>
  381. </layout>
  382. </item>
  383. </layout>
  384. </item>
  385. <item>
  386. <layout class="QVBoxLayout" name="verticalLayout_2">
  387. <property name="spacing">
  388. <number>2</number>
  389. </property>
  390. <property name="leftMargin">
  391. <number>0</number>
  392. </property>
  393. <item>
  394. <layout class="QHBoxLayout" name="horizontalLayout_3">
  395. <property name="topMargin">
  396. <number>0</number>
  397. </property>
  398. <item>
  399. <widget class="QToolButton" name="btn_toClipboard">
  400. <property name="minimumSize">
  401. <size>
  402. <width>84</width>
  403. <height>35</height>
  404. </size>
  405. </property>
  406. <property name="maximumSize">
  407. <size>
  408. <width>84</width>
  409. <height>1000</height>
  410. </size>
  411. </property>
  412. <property name="text">
  413. <string>To clipboard</string>
  414. </property>
  415. </widget>
  416. </item>
  417. <item>
  418. <spacer name="horizontalSpacer">
  419. <property name="orientation">
  420. <enum>Qt::Horizontal</enum>
  421. </property>
  422. <property name="sizeHint" stdset="0">
  423. <size>
  424. <width>40</width>
  425. <height>20</height>
  426. </size>
  427. </property>
  428. </spacer>
  429. </item>
  430. <item>
  431. <widget class="QToolButton" name="btn_updateSelection">
  432. <property name="minimumSize">
  433. <size>
  434. <width>50</width>
  435. <height>35</height>
  436. </size>
  437. </property>
  438. <property name="maximumSize">
  439. <size>
  440. <width>50</width>
  441. <height>1000</height>
  442. </size>
  443. </property>
  444. <property name="text">
  445. <string>&gt;&gt;</string>
  446. </property>
  447. </widget>
  448. </item>
  449. </layout>
  450. </item>
  451. <item>
  452. <widget class="QTextEdit" name="txt_coords">
  453. <property name="minimumSize">
  454. <size>
  455. <width>183</width>
  456. <height>0</height>
  457. </size>
  458. </property>
  459. </widget>
  460. </item>
  461. <item>
  462. <widget class="QLabel" name="label_4">
  463. <property name="text">
  464. <string>Run:</string>
  465. </property>
  466. </widget>
  467. </item>
  468. <item>
  469. <widget class="QLineEdit" name="txt_stdin"/>
  470. </item>
  471. <item>
  472. <widget class="QTextEdit" name="txt_stdout">
  473. <property name="minimumSize">
  474. <size>
  475. <width>0</width>
  476. <height>120</height>
  477. </size>
  478. </property>
  479. <property name="maximumSize">
  480. <size>
  481. <width>16777215</width>
  482. <height>120</height>
  483. </size>
  484. </property>
  485. </widget>
  486. </item>
  487. </layout>
  488. </item>
  489. </layout>
  490. </widget>
  491. <widget class="QStatusBar" name="statusbar"/>
  492. <action name="actionQuitter">
  493. <property name="text">
  494. <string>Quitter</string>
  495. </property>
  496. </action>
  497. </widget>
  498. <resources/>
  499. <connections/>
  500. </ui>