qt_viewer.ui 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380
  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="QGraphicsView" name="view"/>
  65. </item>
  66. <item>
  67. <layout class="QHBoxLayout" name="horizontalLayout_2">
  68. <property name="spacing">
  69. <number>10</number>
  70. </property>
  71. <property name="leftMargin">
  72. <number>10</number>
  73. </property>
  74. <property name="topMargin">
  75. <number>0</number>
  76. </property>
  77. <property name="rightMargin">
  78. <number>10</number>
  79. </property>
  80. <item>
  81. <widget class="QLabel" name="label">
  82. <property name="text">
  83. <string>GRID</string>
  84. </property>
  85. </widget>
  86. </item>
  87. <item>
  88. <widget class="QRadioButton" name="opt_hex">
  89. <property name="minimumSize">
  90. <size>
  91. <width>0</width>
  92. <height>28</height>
  93. </size>
  94. </property>
  95. <property name="maximumSize">
  96. <size>
  97. <width>140</width>
  98. <height>28</height>
  99. </size>
  100. </property>
  101. <property name="text">
  102. <string>Flat Hex</string>
  103. </property>
  104. <property name="checked">
  105. <bool>true</bool>
  106. </property>
  107. </widget>
  108. </item>
  109. <item>
  110. <widget class="QRadioButton" name="opt_square">
  111. <property name="minimumSize">
  112. <size>
  113. <width>0</width>
  114. <height>28</height>
  115. </size>
  116. </property>
  117. <property name="maximumSize">
  118. <size>
  119. <width>140</width>
  120. <height>28</height>
  121. </size>
  122. </property>
  123. <property name="text">
  124. <string>Square</string>
  125. </property>
  126. </widget>
  127. </item>
  128. <item>
  129. <widget class="QSpinBox" name="spb_width">
  130. <property name="minimumSize">
  131. <size>
  132. <width>38</width>
  133. <height>28</height>
  134. </size>
  135. </property>
  136. <property name="maximumSize">
  137. <size>
  138. <width>80</width>
  139. <height>28</height>
  140. </size>
  141. </property>
  142. <property name="minimum">
  143. <number>1</number>
  144. </property>
  145. <property name="maximum">
  146. <number>999</number>
  147. </property>
  148. <property name="value">
  149. <number>30</number>
  150. </property>
  151. </widget>
  152. </item>
  153. <item>
  154. <widget class="QLabel" name="label_2">
  155. <property name="minimumSize">
  156. <size>
  157. <width>10</width>
  158. <height>0</height>
  159. </size>
  160. </property>
  161. <property name="maximumSize">
  162. <size>
  163. <width>10</width>
  164. <height>16777215</height>
  165. </size>
  166. </property>
  167. <property name="text">
  168. <string>X</string>
  169. </property>
  170. </widget>
  171. </item>
  172. <item>
  173. <widget class="QSpinBox" name="spb_height">
  174. <property name="minimumSize">
  175. <size>
  176. <width>38</width>
  177. <height>28</height>
  178. </size>
  179. </property>
  180. <property name="maximumSize">
  181. <size>
  182. <width>80</width>
  183. <height>28</height>
  184. </size>
  185. </property>
  186. <property name="minimum">
  187. <number>1</number>
  188. </property>
  189. <property name="maximum">
  190. <number>999</number>
  191. </property>
  192. <property name="value">
  193. <number>30</number>
  194. </property>
  195. </widget>
  196. </item>
  197. <item>
  198. <widget class="QToolButton" name="btn_make">
  199. <property name="minimumSize">
  200. <size>
  201. <width>35</width>
  202. <height>35</height>
  203. </size>
  204. </property>
  205. <property name="text">
  206. <string>&gt;&gt;</string>
  207. </property>
  208. </widget>
  209. </item>
  210. </layout>
  211. </item>
  212. <item>
  213. <layout class="QHBoxLayout" name="horizontalLayout_4">
  214. <property name="topMargin">
  215. <number>0</number>
  216. </property>
  217. <item>
  218. <widget class="QLabel" name="label_3">
  219. <property name="text">
  220. <string>Zoom</string>
  221. </property>
  222. </widget>
  223. </item>
  224. <item>
  225. <widget class="QToolButton" name="btn_zoom_plus">
  226. <property name="text">
  227. <string>+</string>
  228. </property>
  229. </widget>
  230. </item>
  231. <item>
  232. <widget class="QToolButton" name="btn_zoom_minus">
  233. <property name="text">
  234. <string>-</string>
  235. </property>
  236. </widget>
  237. </item>
  238. <item>
  239. <spacer name="horizontalSpacer_2">
  240. <property name="orientation">
  241. <enum>Qt::Horizontal</enum>
  242. </property>
  243. <property name="sizeHint" stdset="0">
  244. <size>
  245. <width>40</width>
  246. <height>20</height>
  247. </size>
  248. </property>
  249. </spacer>
  250. </item>
  251. <item>
  252. <widget class="QCheckBox" name="chk_displayCoords">
  253. <property name="text">
  254. <string>Display coordinates</string>
  255. </property>
  256. <property name="checked">
  257. <bool>true</bool>
  258. </property>
  259. </widget>
  260. </item>
  261. </layout>
  262. </item>
  263. </layout>
  264. </item>
  265. <item>
  266. <layout class="QVBoxLayout" name="verticalLayout_2">
  267. <property name="spacing">
  268. <number>2</number>
  269. </property>
  270. <property name="leftMargin">
  271. <number>0</number>
  272. </property>
  273. <item>
  274. <layout class="QHBoxLayout" name="horizontalLayout_3">
  275. <property name="topMargin">
  276. <number>0</number>
  277. </property>
  278. <item>
  279. <widget class="QToolButton" name="btn_toClipboard">
  280. <property name="minimumSize">
  281. <size>
  282. <width>84</width>
  283. <height>35</height>
  284. </size>
  285. </property>
  286. <property name="maximumSize">
  287. <size>
  288. <width>84</width>
  289. <height>1000</height>
  290. </size>
  291. </property>
  292. <property name="text">
  293. <string>To clipboard</string>
  294. </property>
  295. </widget>
  296. </item>
  297. <item>
  298. <spacer name="horizontalSpacer">
  299. <property name="orientation">
  300. <enum>Qt::Horizontal</enum>
  301. </property>
  302. <property name="sizeHint" stdset="0">
  303. <size>
  304. <width>40</width>
  305. <height>20</height>
  306. </size>
  307. </property>
  308. </spacer>
  309. </item>
  310. <item>
  311. <widget class="QToolButton" name="btn_updateSelection">
  312. <property name="minimumSize">
  313. <size>
  314. <width>50</width>
  315. <height>35</height>
  316. </size>
  317. </property>
  318. <property name="maximumSize">
  319. <size>
  320. <width>50</width>
  321. <height>1000</height>
  322. </size>
  323. </property>
  324. <property name="text">
  325. <string>&gt;&gt;</string>
  326. </property>
  327. </widget>
  328. </item>
  329. </layout>
  330. </item>
  331. <item>
  332. <widget class="QTextEdit" name="txt_coords">
  333. <property name="minimumSize">
  334. <size>
  335. <width>183</width>
  336. <height>0</height>
  337. </size>
  338. </property>
  339. </widget>
  340. </item>
  341. <item>
  342. <widget class="QLabel" name="label_4">
  343. <property name="text">
  344. <string>Run:</string>
  345. </property>
  346. </widget>
  347. </item>
  348. <item>
  349. <widget class="QLineEdit" name="txt_stdin"/>
  350. </item>
  351. <item>
  352. <widget class="QTextEdit" name="txt_stdout">
  353. <property name="minimumSize">
  354. <size>
  355. <width>0</width>
  356. <height>120</height>
  357. </size>
  358. </property>
  359. <property name="maximumSize">
  360. <size>
  361. <width>16777215</width>
  362. <height>120</height>
  363. </size>
  364. </property>
  365. </widget>
  366. </item>
  367. </layout>
  368. </item>
  369. </layout>
  370. </widget>
  371. <widget class="QStatusBar" name="statusbar"/>
  372. <action name="actionQuitter">
  373. <property name="text">
  374. <string>Quitter</string>
  375. </property>
  376. </action>
  377. </widget>
  378. <resources/>
  379. <connections/>
  380. </ui>