3
0

TexturePreviewWidget.ui 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>TexturePreviewWidget</class>
  4. <widget class="QWidget" name="TexturePreviewWidget">
  5. <!-- Preview ComboBox -->
  6. <widget class="QComboBox" name="previewComboBox">
  7. <property name="geometry">
  8. <rect>
  9. <x>10</x>
  10. <y>10</y>
  11. <width>70</width>
  12. <height>18</height>
  13. </rect>
  14. </property>
  15. </widget>
  16. <!-- Tiled Preview CheckBox-->
  17. <widget class="QCheckBox" name="previewCheckBox">
  18. <property name="geometry">
  19. <rect>
  20. <x>90</x>
  21. <y>10</y>
  22. <width>120</width>
  23. <height>18</height>
  24. </rect>
  25. </property>
  26. <property name="text">
  27. <string>Tiled Preview</string>
  28. </property>
  29. <property name="layoutDirection">
  30. <enum>Qt::RightToLeft</enum>
  31. </property>
  32. </widget>
  33. <!-- Refresh Button -->
  34. <widget class="QToolButton" name="refreshBtn">
  35. <property name="layoutDirection">
  36. <enum>Qt::LeftToRight</enum>
  37. </property>
  38. <property name="geometry">
  39. <rect>
  40. <x>482</x>
  41. <y>0</y>
  42. <width>40</width>
  43. <height>40</height>
  44. </rect>
  45. </property>
  46. <property name="iconSize">
  47. <size>
  48. <width>20</width>
  49. <height>20</height>
  50. </size>
  51. </property>
  52. <property name="popupMode">
  53. <enum>QToolButton::MenuButtonPopup</enum>
  54. </property>
  55. <property name="toolButtonStyle">
  56. <enum>Qt::ToolButtonIconOnly</enum>
  57. </property>
  58. <property name="autoRaise">
  59. <bool>false</bool>
  60. </property>
  61. </widget>
  62. <!-- Preview Window-->
  63. <widget class="QWidget" name="mainWidget" native="true">
  64. <property name="geometry">
  65. <rect>
  66. <x>10</x>
  67. <y>33</y>
  68. <width>512</width>
  69. <height>512</height>
  70. </rect>
  71. </property>
  72. <!-- Info Layer-->
  73. <widget class="QFrame" name="infoLayer">
  74. <property name="geometry">
  75. <rect>
  76. <x>0</x>
  77. <y>0</y>
  78. <width>171</width>
  79. <height>185</height>
  80. </rect>
  81. </property>
  82. <property name="sizePolicy">
  83. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  84. <horstretch>0</horstretch>
  85. <verstretch>0</verstretch>
  86. </sizepolicy>
  87. </property>
  88. <property name="layoutDirection">
  89. <enum>Qt::RightToLeft</enum>
  90. </property>
  91. <!-- Warning Label -->
  92. <widget class="QLabel" name="warningLabel">
  93. <property name="text">
  94. <string/>
  95. </property>
  96. <property name="geometry">
  97. <rect>
  98. <x>26</x>
  99. <y>250</y>
  100. <width>460</width>
  101. <height>24</height>
  102. </rect>
  103. </property>
  104. </widget>
  105. <widget class="QSvgWidget" name="warningIcon">
  106. <property name="geometry">
  107. <rect>
  108. <x>0</x>
  109. <y>250</y>
  110. <width>24</width>
  111. <height>24</height>
  112. </rect>
  113. </property>
  114. </widget>
  115. </widget>
  116. <!-- Image Label -->
  117. <widget class="QLabel" name="imageLabel">
  118. <property name="geometry">
  119. <rect>
  120. <x>0</x>
  121. <y>0</y>
  122. <width>512</width>
  123. <height>512</height>
  124. </rect>
  125. </property>
  126. <property name="text">
  127. <string>image</string>
  128. </property>
  129. <property name="scaledContents">
  130. <bool>true</bool>
  131. </property>
  132. <property name="alignment">
  133. <set>Qt::AlignCenter</set>
  134. </property>
  135. </widget>
  136. <!-- Busy Label -->
  137. <widget class="AzQtComponents::StyledBusyLabel" name="busyLabel" native="true">
  138. <property name="geometry">
  139. <rect>
  140. <x>510</x>
  141. <y>80</y>
  142. <width>30</width>
  143. <height>30</height>
  144. </rect>
  145. </property>
  146. <property name="sizePolicy">
  147. <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
  148. <horstretch>0</horstretch>
  149. <verstretch>0</verstretch>
  150. </sizepolicy>
  151. </property>
  152. <property name="minimumSize">
  153. <size>
  154. <width>10</width>
  155. <height>10</height>
  156. </size>
  157. </property>
  158. <property name="sizeIncrement">
  159. <size>
  160. <width>0</width>
  161. <height>0</height>
  162. </size>
  163. </property>
  164. <property name="baseSize">
  165. <size>
  166. <width>24</width>
  167. <height>24</height>
  168. </size>
  169. </property>
  170. </widget>
  171. <zorder>imageLabel</zorder>
  172. <zorder>infoLayer</zorder>
  173. <zorder>busyLabel</zorder>
  174. </widget>
  175. <!-- Resolution -->
  176. <widget class="QLabel" name="imageSizeLabel">
  177. <property name="text">
  178. <string>Resolution: 2048 x 2048</string>
  179. </property>
  180. <property name="geometry">
  181. <rect>
  182. <x>10</x>
  183. <y>547</y>
  184. <width>170</width>
  185. <height>20</height>
  186. </rect>
  187. </property>
  188. </widget>
  189. <!-- Previous Mip Button -->
  190. <widget class="QToolButton" name="prevMipBtn">
  191. <property name="icon">
  192. <iconset>
  193. <normalon>:/arrow_left-default.svg</normalon>
  194. </iconset>
  195. </property>
  196. <property name="geometry">
  197. <rect>
  198. <x>181</x>
  199. <y>547</y>
  200. <width>20</width>
  201. <height>20</height>
  202. </rect>
  203. </property>
  204. </widget>
  205. <!-- Mip Level -->
  206. <widget class="QLabel" name="mipLevelLabel">
  207. <property name="text">
  208. <string>Mipmap Level: 0</string>
  209. </property>
  210. <property name="geometry">
  211. <rect>
  212. <x>211</x>
  213. <y>547</y>
  214. <width>110</width>
  215. <height>20</height>
  216. </rect>
  217. </property>
  218. <property name="alignment">
  219. <set>Qt::AlignCenter</set>
  220. </property>
  221. </widget>
  222. <!-- Next Mip Button -->
  223. <widget class="QToolButton" name="nextMipBtn">
  224. <property name="icon">
  225. <iconset>
  226. <normalon>:/arrow_right-default.svg</normalon>
  227. </iconset>
  228. </property>
  229. <property name="geometry">
  230. <rect>
  231. <x>331</x>
  232. <y>547</y>
  233. <width>20</width>
  234. <height>20</height>
  235. </rect>
  236. </property>
  237. </widget>
  238. <!-- File Size -->
  239. <widget class="QLabel" name="fileSizeLabel">
  240. <property name="text">
  241. <string>Size: 4,096 KB</string>
  242. </property>
  243. <property name="geometry">
  244. <rect>
  245. <x>368</x>
  246. <y>547</y>
  247. <width>154</width>
  248. <height>20</height>
  249. </rect>
  250. </property>
  251. <property name="alignment">
  252. <set>Qt::AlignVCenter|Qt::AlignRight</set>
  253. </property>
  254. </widget>
  255. </widget>
  256. <customwidgets>
  257. <customwidget>
  258. <class>AzQtComponents::StyledBusyLabel</class>
  259. <extends>QWidget</extends>
  260. <header location="global">AzQtComponents/Components/StyledBusyLabel.h</header>
  261. <container>1</container>
  262. </customwidget>
  263. </customwidgets>
  264. <resources>
  265. <include location="./ImageProcessing.qrc"/>
  266. </resources>
  267. <connections/>
  268. </ui>