Ei kuvausta

objectpropertiesframe.ui 9.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>ObjectPropertiesFrame</class>
  4. <widget class="QFrame" name="ObjectPropertiesFrame">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>284</width>
  10. <height>146</height>
  11. </rect>
  12. </property>
  13. <property name="sizePolicy">
  14. <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
  15. <horstretch>0</horstretch>
  16. <verstretch>0</verstretch>
  17. </sizepolicy>
  18. </property>
  19. <property name="minimumSize">
  20. <size>
  21. <width>284</width>
  22. <height>90</height>
  23. </size>
  24. </property>
  25. <property name="windowTitle">
  26. <string>Frame</string>
  27. </property>
  28. <property name="layoutDirection">
  29. <enum>Qt::LeftToRight</enum>
  30. </property>
  31. <property name="frameShape">
  32. <enum>QFrame::Box</enum>
  33. </property>
  34. <property name="frameShadow">
  35. <enum>QFrame::Raised</enum>
  36. </property>
  37. <property name="lineWidth">
  38. <number>1</number>
  39. </property>
  40. <layout class="QVBoxLayout" name="verticalLayout_2">
  41. <item>
  42. <widget class="QWidget" name="widget" native="true">
  43. <property name="sizePolicy">
  44. <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
  45. <horstretch>0</horstretch>
  46. <verstretch>0</verstretch>
  47. </sizepolicy>
  48. </property>
  49. <layout class="QHBoxLayout" name="horizontalLayout_2">
  50. <item>
  51. <widget class="QLabel" name="label_spritePixmap">
  52. <property name="sizePolicy">
  53. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  54. <horstretch>0</horstretch>
  55. <verstretch>0</verstretch>
  56. </sizepolicy>
  57. </property>
  58. <property name="minimumSize">
  59. <size>
  60. <width>64</width>
  61. <height>64</height>
  62. </size>
  63. </property>
  64. <property name="frameShape">
  65. <enum>QFrame::Box</enum>
  66. </property>
  67. <property name="frameShadow">
  68. <enum>QFrame::Sunken</enum>
  69. </property>
  70. <property name="text">
  71. <string/>
  72. </property>
  73. <property name="scaledContents">
  74. <bool>false</bool>
  75. </property>
  76. <property name="alignment">
  77. <set>Qt::AlignCenter</set>
  78. </property>
  79. <property name="indent">
  80. <number>-1</number>
  81. </property>
  82. </widget>
  83. </item>
  84. <item>
  85. <layout class="QVBoxLayout" name="verticalLayout">
  86. <item>
  87. <widget class="QLabel" name="label_name">
  88. <property name="text">
  89. <string>Object 1</string>
  90. </property>
  91. </widget>
  92. </item>
  93. <item>
  94. <layout class="QHBoxLayout" name="horizontalLayout">
  95. <item>
  96. <layout class="QHBoxLayout" name="x">
  97. <item>
  98. <widget class="QLabel" name="label_x">
  99. <property name="text">
  100. <string>X</string>
  101. </property>
  102. <property name="alignment">
  103. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  104. </property>
  105. </widget>
  106. </item>
  107. <item>
  108. <widget class="NoScrollSpinBox" name="spinBox_x">
  109. <property name="focusPolicy">
  110. <enum>Qt::StrongFocus</enum>
  111. </property>
  112. <property name="toolTip">
  113. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;The X coordinate of this object.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  114. </property>
  115. <property name="minimum">
  116. <number>-32768</number>
  117. </property>
  118. <property name="maximum">
  119. <number>32767</number>
  120. </property>
  121. </widget>
  122. </item>
  123. </layout>
  124. </item>
  125. <item>
  126. <layout class="QHBoxLayout" name="y">
  127. <item>
  128. <widget class="QLabel" name="label_y">
  129. <property name="text">
  130. <string>Y</string>
  131. </property>
  132. <property name="alignment">
  133. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  134. </property>
  135. </widget>
  136. </item>
  137. <item>
  138. <widget class="NoScrollSpinBox" name="spinBox_y">
  139. <property name="focusPolicy">
  140. <enum>Qt::StrongFocus</enum>
  141. </property>
  142. <property name="toolTip">
  143. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;The Y coordinate of this object.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  144. </property>
  145. <property name="minimum">
  146. <number>-32768</number>
  147. </property>
  148. <property name="maximum">
  149. <number>32767</number>
  150. </property>
  151. </widget>
  152. </item>
  153. </layout>
  154. </item>
  155. <item>
  156. <layout class="QHBoxLayout" name="z">
  157. <item>
  158. <widget class="QLabel" name="label">
  159. <property name="text">
  160. <string>Z</string>
  161. </property>
  162. <property name="alignment">
  163. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  164. </property>
  165. </widget>
  166. </item>
  167. <item>
  168. <widget class="NoScrollSpinBox" name="spinBox_z">
  169. <property name="focusPolicy">
  170. <enum>Qt::StrongFocus</enum>
  171. </property>
  172. <property name="toolTip">
  173. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;The elevation of this object.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  174. </property>
  175. <property name="maximum">
  176. <number>15</number>
  177. </property>
  178. </widget>
  179. </item>
  180. </layout>
  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. </layout>
  196. </item>
  197. </layout>
  198. </item>
  199. </layout>
  200. </widget>
  201. </item>
  202. <item>
  203. <widget class="QWidget" name="sprite" native="true">
  204. <property name="sizePolicy">
  205. <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
  206. <horstretch>0</horstretch>
  207. <verstretch>0</verstretch>
  208. </sizepolicy>
  209. </property>
  210. <layout class="QFormLayout" name="formLayout_sprite">
  211. <property name="leftMargin">
  212. <number>9</number>
  213. </property>
  214. <property name="topMargin">
  215. <number>0</number>
  216. </property>
  217. <property name="bottomMargin">
  218. <number>0</number>
  219. </property>
  220. <item row="0" column="0">
  221. <widget class="QLabel" name="label_sprite">
  222. <property name="text">
  223. <string>Sprite</string>
  224. </property>
  225. <property name="buddy">
  226. <cstring>comboBox_sprite</cstring>
  227. </property>
  228. </widget>
  229. </item>
  230. <item row="0" column="1">
  231. <widget class="NoScrollComboBox" name="comboBox_sprite">
  232. <property name="enabled">
  233. <bool>true</bool>
  234. </property>
  235. <property name="sizePolicy">
  236. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
  237. <horstretch>0</horstretch>
  238. <verstretch>0</verstretch>
  239. </sizepolicy>
  240. </property>
  241. <property name="focusPolicy">
  242. <enum>Qt::StrongFocus</enum>
  243. </property>
  244. <property name="toolTip">
  245. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;The sprite graphics to use for this object.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  246. </property>
  247. <property name="editable">
  248. <bool>true</bool>
  249. </property>
  250. <property name="currentText">
  251. <string/>
  252. </property>
  253. <property name="maxVisibleItems">
  254. <number>25</number>
  255. </property>
  256. <property name="sizeAdjustPolicy">
  257. <enum>QComboBox::AdjustToContentsOnFirstShow</enum>
  258. </property>
  259. </widget>
  260. </item>
  261. </layout>
  262. </widget>
  263. </item>
  264. </layout>
  265. </widget>
  266. <customwidgets>
  267. <customwidget>
  268. <class>NoScrollComboBox</class>
  269. <extends>QComboBox</extends>
  270. <header>noscrollcombobox.h</header>
  271. </customwidget>
  272. <customwidget>
  273. <class>NoScrollSpinBox</class>
  274. <extends>QSpinBox</extends>
  275. <header>noscrollspinbox.h</header>
  276. </customwidget>
  277. </customwidgets>
  278. <tabstops>
  279. <tabstop>spinBox_x</tabstop>
  280. <tabstop>spinBox_y</tabstop>
  281. <tabstop>spinBox_z</tabstop>
  282. <tabstop>comboBox_sprite</tabstop>
  283. </tabstops>
  284. <resources/>
  285. <connections/>
  286. </ui>