qt_viewer.ui 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294
  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_tools">
  65. <property name="minimumSize">
  66. <size>
  67. <width>0</width>
  68. <height>30</height>
  69. </size>
  70. </property>
  71. <property name="frameShape">
  72. <enum>QFrame::StyledPanel</enum>
  73. </property>
  74. <property name="frameShadow">
  75. <enum>QFrame::Raised</enum>
  76. </property>
  77. <layout class="QHBoxLayout" name="horizontalLayout_2">
  78. <property name="spacing">
  79. <number>3</number>
  80. </property>
  81. <property name="leftMargin">
  82. <number>3</number>
  83. </property>
  84. <property name="topMargin">
  85. <number>3</number>
  86. </property>
  87. <property name="rightMargin">
  88. <number>3</number>
  89. </property>
  90. <property name="bottomMargin">
  91. <number>3</number>
  92. </property>
  93. <item>
  94. <widget class="QPushButton" name="btn_new_grid">
  95. <property name="minimumSize">
  96. <size>
  97. <width>80</width>
  98. <height>0</height>
  99. </size>
  100. </property>
  101. <property name="maximumSize">
  102. <size>
  103. <width>80</width>
  104. <height>16777215</height>
  105. </size>
  106. </property>
  107. <property name="text">
  108. <string>New Grid</string>
  109. </property>
  110. </widget>
  111. </item>
  112. <item>
  113. <spacer name="horizontalSpacer_3">
  114. <property name="orientation">
  115. <enum>Qt::Horizontal</enum>
  116. </property>
  117. <property name="sizeHint" stdset="0">
  118. <size>
  119. <width>40</width>
  120. <height>20</height>
  121. </size>
  122. </property>
  123. </spacer>
  124. </item>
  125. <item>
  126. <widget class="QComboBox" name="cb_functions"/>
  127. </item>
  128. <item>
  129. <widget class="QLineEdit" name="txt_args">
  130. <property name="minimumSize">
  131. <size>
  132. <width>200</width>
  133. <height>0</height>
  134. </size>
  135. </property>
  136. <property name="maximumSize">
  137. <size>
  138. <width>200</width>
  139. <height>16777215</height>
  140. </size>
  141. </property>
  142. </widget>
  143. </item>
  144. <item>
  145. <widget class="QCheckBox" name="chk_expand">
  146. <property name="minimumSize">
  147. <size>
  148. <width>100</width>
  149. <height>0</height>
  150. </size>
  151. </property>
  152. <property name="maximumSize">
  153. <size>
  154. <width>100</width>
  155. <height>16777215</height>
  156. </size>
  157. </property>
  158. <property name="text">
  159. <string>Auto-expand</string>
  160. </property>
  161. </widget>
  162. </item>
  163. <item>
  164. <widget class="QToolButton" name="btn_run">
  165. <property name="minimumSize">
  166. <size>
  167. <width>0</width>
  168. <height>20</height>
  169. </size>
  170. </property>
  171. <property name="maximumSize">
  172. <size>
  173. <width>16777215</width>
  174. <height>20</height>
  175. </size>
  176. </property>
  177. <property name="text">
  178. <string>&gt;</string>
  179. </property>
  180. </widget>
  181. </item>
  182. <item>
  183. <spacer name="horizontalSpacer">
  184. <property name="orientation">
  185. <enum>Qt::Horizontal</enum>
  186. </property>
  187. <property name="sizeHint" stdset="0">
  188. <size>
  189. <width>40</width>
  190. <height>20</height>
  191. </size>
  192. </property>
  193. </spacer>
  194. </item>
  195. <item>
  196. <widget class="QPushButton" name="btn_list_view">
  197. <property name="text">
  198. <string>List View</string>
  199. </property>
  200. </widget>
  201. </item>
  202. </layout>
  203. </widget>
  204. </item>
  205. <item>
  206. <widget class="QGraphicsView" name="view"/>
  207. </item>
  208. <item>
  209. <layout class="QHBoxLayout" name="horizontalLayout_4">
  210. <property name="topMargin">
  211. <number>0</number>
  212. </property>
  213. <item>
  214. <widget class="QLabel" name="label_3">
  215. <property name="text">
  216. <string>Zoom</string>
  217. </property>
  218. </widget>
  219. </item>
  220. <item>
  221. <widget class="QToolButton" name="btn_zoom_plus">
  222. <property name="text">
  223. <string>+</string>
  224. </property>
  225. </widget>
  226. </item>
  227. <item>
  228. <widget class="QToolButton" name="btn_zoom_minus">
  229. <property name="text">
  230. <string>-</string>
  231. </property>
  232. </widget>
  233. </item>
  234. <item>
  235. <spacer name="horizontalSpacer_2">
  236. <property name="orientation">
  237. <enum>Qt::Horizontal</enum>
  238. </property>
  239. <property name="sizeHint" stdset="0">
  240. <size>
  241. <width>40</width>
  242. <height>20</height>
  243. </size>
  244. </property>
  245. </spacer>
  246. </item>
  247. <item>
  248. <widget class="QCheckBox" name="chk_displayCoords">
  249. <property name="text">
  250. <string>Display coordinates</string>
  251. </property>
  252. <property name="checked">
  253. <bool>true</bool>
  254. </property>
  255. </widget>
  256. </item>
  257. </layout>
  258. </item>
  259. </layout>
  260. </item>
  261. <item>
  262. <layout class="QVBoxLayout" name="verticalLayout_2">
  263. <property name="spacing">
  264. <number>2</number>
  265. </property>
  266. <property name="leftMargin">
  267. <number>0</number>
  268. </property>
  269. </layout>
  270. </item>
  271. </layout>
  272. </widget>
  273. <widget class="QStatusBar" name="statusbar"/>
  274. <action name="actionQuitter">
  275. <property name="text">
  276. <string>Quitter</string>
  277. </property>
  278. </action>
  279. </widget>
  280. <tabstops>
  281. <tabstop>view</tabstop>
  282. <tabstop>btn_new_grid</tabstop>
  283. <tabstop>cb_functions</tabstop>
  284. <tabstop>txt_args</tabstop>
  285. <tabstop>chk_expand</tabstop>
  286. <tabstop>btn_list_view</tabstop>
  287. <tabstop>btn_zoom_plus</tabstop>
  288. <tabstop>btn_zoom_minus</tabstop>
  289. <tabstop>chk_displayCoords</tabstop>
  290. <tabstop>lbl_title</tabstop>
  291. </tabstops>
  292. <resources/>
  293. <connections/>
  294. </ui>