qt_new_grid.ui 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>window</class>
  4. <widget class="QDialog" name="window">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>247</width>
  10. <height>172</height>
  11. </rect>
  12. </property>
  13. <property name="minimumSize">
  14. <size>
  15. <width>247</width>
  16. <height>172</height>
  17. </size>
  18. </property>
  19. <property name="maximumSize">
  20. <size>
  21. <width>247</width>
  22. <height>172</height>
  23. </size>
  24. </property>
  25. <property name="windowTitle">
  26. <string>New Grid</string>
  27. </property>
  28. <widget class="QRadioButton" name="opt_square">
  29. <property name="geometry">
  30. <rect>
  31. <x>30</x>
  32. <y>37</y>
  33. <width>119</width>
  34. <height>28</height>
  35. </rect>
  36. </property>
  37. <property name="minimumSize">
  38. <size>
  39. <width>0</width>
  40. <height>28</height>
  41. </size>
  42. </property>
  43. <property name="maximumSize">
  44. <size>
  45. <width>140</width>
  46. <height>28</height>
  47. </size>
  48. </property>
  49. <property name="text">
  50. <string>Square grid</string>
  51. </property>
  52. </widget>
  53. <widget class="QSpinBox" name="spb_width">
  54. <property name="geometry">
  55. <rect>
  56. <x>23</x>
  57. <y>73</y>
  58. <width>80</width>
  59. <height>28</height>
  60. </rect>
  61. </property>
  62. <property name="minimumSize">
  63. <size>
  64. <width>38</width>
  65. <height>28</height>
  66. </size>
  67. </property>
  68. <property name="maximumSize">
  69. <size>
  70. <width>80</width>
  71. <height>28</height>
  72. </size>
  73. </property>
  74. <property name="minimum">
  75. <number>1</number>
  76. </property>
  77. <property name="maximum">
  78. <number>999</number>
  79. </property>
  80. <property name="value">
  81. <number>30</number>
  82. </property>
  83. </widget>
  84. <widget class="QPushButton" name="btn_create">
  85. <property name="geometry">
  86. <rect>
  87. <x>153</x>
  88. <y>120</y>
  89. <width>75</width>
  90. <height>31</height>
  91. </rect>
  92. </property>
  93. <property name="text">
  94. <string>Create</string>
  95. </property>
  96. <property name="autoDefault">
  97. <bool>true</bool>
  98. </property>
  99. </widget>
  100. <widget class="QPushButton" name="btn_cancel">
  101. <property name="geometry">
  102. <rect>
  103. <x>23</x>
  104. <y>120</y>
  105. <width>75</width>
  106. <height>31</height>
  107. </rect>
  108. </property>
  109. <property name="text">
  110. <string>Cancel</string>
  111. </property>
  112. <property name="autoDefault">
  113. <bool>false</bool>
  114. </property>
  115. </widget>
  116. <widget class="QSpinBox" name="spb_height">
  117. <property name="geometry">
  118. <rect>
  119. <x>133</x>
  120. <y>73</y>
  121. <width>80</width>
  122. <height>28</height>
  123. </rect>
  124. </property>
  125. <property name="minimumSize">
  126. <size>
  127. <width>38</width>
  128. <height>28</height>
  129. </size>
  130. </property>
  131. <property name="maximumSize">
  132. <size>
  133. <width>80</width>
  134. <height>28</height>
  135. </size>
  136. </property>
  137. <property name="minimum">
  138. <number>1</number>
  139. </property>
  140. <property name="maximum">
  141. <number>999</number>
  142. </property>
  143. <property name="value">
  144. <number>30</number>
  145. </property>
  146. </widget>
  147. <widget class="QLabel" name="label_2">
  148. <property name="geometry">
  149. <rect>
  150. <x>113</x>
  151. <y>70</y>
  152. <width>10</width>
  153. <height>35</height>
  154. </rect>
  155. </property>
  156. <property name="minimumSize">
  157. <size>
  158. <width>10</width>
  159. <height>0</height>
  160. </size>
  161. </property>
  162. <property name="maximumSize">
  163. <size>
  164. <width>10</width>
  165. <height>16777215</height>
  166. </size>
  167. </property>
  168. <property name="text">
  169. <string>X</string>
  170. </property>
  171. </widget>
  172. <widget class="QRadioButton" name="opt_hex">
  173. <property name="geometry">
  174. <rect>
  175. <x>30</x>
  176. <y>10</y>
  177. <width>121</width>
  178. <height>28</height>
  179. </rect>
  180. </property>
  181. <property name="minimumSize">
  182. <size>
  183. <width>0</width>
  184. <height>28</height>
  185. </size>
  186. </property>
  187. <property name="maximumSize">
  188. <size>
  189. <width>140</width>
  190. <height>28</height>
  191. </size>
  192. </property>
  193. <property name="text">
  194. <string>Flat Hexagonal grid</string>
  195. </property>
  196. <property name="checked">
  197. <bool>true</bool>
  198. </property>
  199. </widget>
  200. </widget>
  201. <resources/>
  202. <connections/>
  203. </ui>