No Description

objectpropertiesframe.ui 7.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250
  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="QSpinBox" name="spinBox_x">
  109. <property name="minimum">
  110. <number>-32768</number>
  111. </property>
  112. <property name="maximum">
  113. <number>32767</number>
  114. </property>
  115. </widget>
  116. </item>
  117. </layout>
  118. </item>
  119. <item>
  120. <layout class="QHBoxLayout" name="y">
  121. <item>
  122. <widget class="QLabel" name="label_y">
  123. <property name="text">
  124. <string>Y</string>
  125. </property>
  126. <property name="alignment">
  127. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  128. </property>
  129. </widget>
  130. </item>
  131. <item>
  132. <widget class="QSpinBox" name="spinBox_y">
  133. <property name="minimum">
  134. <number>-32768</number>
  135. </property>
  136. <property name="maximum">
  137. <number>32767</number>
  138. </property>
  139. </widget>
  140. </item>
  141. </layout>
  142. </item>
  143. <item>
  144. <layout class="QHBoxLayout" name="z">
  145. <item>
  146. <widget class="QLabel" name="label">
  147. <property name="text">
  148. <string>Z</string>
  149. </property>
  150. <property name="alignment">
  151. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  152. </property>
  153. </widget>
  154. </item>
  155. <item>
  156. <widget class="QSpinBox" name="spinBox_z">
  157. <property name="maximum">
  158. <number>15</number>
  159. </property>
  160. </widget>
  161. </item>
  162. </layout>
  163. </item>
  164. <item>
  165. <spacer name="horizontalSpacer">
  166. <property name="orientation">
  167. <enum>Qt::Horizontal</enum>
  168. </property>
  169. <property name="sizeHint" stdset="0">
  170. <size>
  171. <width>40</width>
  172. <height>20</height>
  173. </size>
  174. </property>
  175. </spacer>
  176. </item>
  177. </layout>
  178. </item>
  179. </layout>
  180. </item>
  181. </layout>
  182. </widget>
  183. </item>
  184. <item>
  185. <widget class="QWidget" name="sprite" native="true">
  186. <property name="sizePolicy">
  187. <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
  188. <horstretch>0</horstretch>
  189. <verstretch>0</verstretch>
  190. </sizepolicy>
  191. </property>
  192. <layout class="QFormLayout" name="formLayout_sprite">
  193. <property name="leftMargin">
  194. <number>9</number>
  195. </property>
  196. <property name="topMargin">
  197. <number>0</number>
  198. </property>
  199. <property name="bottomMargin">
  200. <number>0</number>
  201. </property>
  202. <item row="0" column="0">
  203. <widget class="QLabel" name="label_sprite">
  204. <property name="text">
  205. <string>Sprite</string>
  206. </property>
  207. <property name="buddy">
  208. <cstring>comboBox_sprite</cstring>
  209. </property>
  210. </widget>
  211. </item>
  212. <item row="0" column="1">
  213. <widget class="QComboBox" name="comboBox_sprite">
  214. <property name="enabled">
  215. <bool>true</bool>
  216. </property>
  217. <property name="sizePolicy">
  218. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
  219. <horstretch>0</horstretch>
  220. <verstretch>0</verstretch>
  221. </sizepolicy>
  222. </property>
  223. <property name="editable">
  224. <bool>true</bool>
  225. </property>
  226. <property name="currentText">
  227. <string/>
  228. </property>
  229. <property name="maxVisibleItems">
  230. <number>25</number>
  231. </property>
  232. <property name="sizeAdjustPolicy">
  233. <enum>QComboBox::AdjustToContentsOnFirstShow</enum>
  234. </property>
  235. </widget>
  236. </item>
  237. </layout>
  238. </widget>
  239. </item>
  240. </layout>
  241. </widget>
  242. <tabstops>
  243. <tabstop>spinBox_x</tabstop>
  244. <tabstop>spinBox_y</tabstop>
  245. <tabstop>spinBox_z</tabstop>
  246. <tabstop>comboBox_sprite</tabstop>
  247. </tabstops>
  248. <resources/>
  249. <connections/>
  250. </ui>