No Description

objectpropertiesframe.ui 8.2KB

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