| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268 |
- <?xml version="1.0" encoding="UTF-8"?>
- <ui version="4.0">
- <class>TexturePreviewWidget</class>
- <widget class="QWidget" name="TexturePreviewWidget">
- <!-- Preview ComboBox -->
- <widget class="QComboBox" name="previewComboBox">
- <property name="geometry">
- <rect>
- <x>10</x>
- <y>10</y>
- <width>70</width>
- <height>18</height>
- </rect>
- </property>
- </widget>
- <!-- Tiled Preview CheckBox-->
- <widget class="QCheckBox" name="previewCheckBox">
- <property name="geometry">
- <rect>
- <x>90</x>
- <y>10</y>
- <width>120</width>
- <height>18</height>
- </rect>
- </property>
- <property name="text">
- <string>Tiled Preview</string>
- </property>
- <property name="layoutDirection">
- <enum>Qt::RightToLeft</enum>
- </property>
- </widget>
- <!-- Refresh Button -->
- <widget class="QToolButton" name="refreshBtn">
- <property name="layoutDirection">
- <enum>Qt::LeftToRight</enum>
- </property>
- <property name="geometry">
- <rect>
- <x>482</x>
- <y>0</y>
- <width>40</width>
- <height>40</height>
- </rect>
- </property>
- <property name="iconSize">
- <size>
- <width>20</width>
- <height>20</height>
- </size>
- </property>
- <property name="popupMode">
- <enum>QToolButton::MenuButtonPopup</enum>
- </property>
- <property name="toolButtonStyle">
- <enum>Qt::ToolButtonIconOnly</enum>
- </property>
- <property name="autoRaise">
- <bool>false</bool>
- </property>
- </widget>
- <!-- Preview Window-->
- <widget class="QWidget" name="mainWidget" native="true">
- <property name="geometry">
- <rect>
- <x>10</x>
- <y>33</y>
- <width>512</width>
- <height>512</height>
- </rect>
- </property>
- <!-- Info Layer-->
- <widget class="QFrame" name="infoLayer">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>171</width>
- <height>185</height>
- </rect>
- </property>
- <property name="sizePolicy">
- <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="layoutDirection">
- <enum>Qt::RightToLeft</enum>
- </property>
- <!-- Warning Label -->
- <widget class="QLabel" name="warningLabel">
- <property name="text">
- <string/>
- </property>
- <property name="geometry">
- <rect>
- <x>26</x>
- <y>250</y>
- <width>460</width>
- <height>24</height>
- </rect>
- </property>
- </widget>
- <widget class="QSvgWidget" name="warningIcon">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>250</y>
- <width>24</width>
- <height>24</height>
- </rect>
- </property>
- </widget>
- </widget>
- <!-- Image Label -->
- <widget class="QLabel" name="imageLabel">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>512</width>
- <height>512</height>
- </rect>
- </property>
- <property name="text">
- <string>image</string>
- </property>
- <property name="scaledContents">
- <bool>true</bool>
- </property>
- <property name="alignment">
- <set>Qt::AlignCenter</set>
- </property>
- </widget>
- <!-- Busy Label -->
- <widget class="AzQtComponents::StyledBusyLabel" name="busyLabel" native="true">
- <property name="geometry">
- <rect>
- <x>510</x>
- <y>80</y>
- <width>30</width>
- <height>30</height>
- </rect>
- </property>
- <property name="sizePolicy">
- <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>10</width>
- <height>10</height>
- </size>
- </property>
- <property name="sizeIncrement">
- <size>
- <width>0</width>
- <height>0</height>
- </size>
- </property>
- <property name="baseSize">
- <size>
- <width>24</width>
- <height>24</height>
- </size>
- </property>
- </widget>
- <zorder>imageLabel</zorder>
- <zorder>infoLayer</zorder>
- <zorder>busyLabel</zorder>
- </widget>
- <!-- Resolution -->
- <widget class="QLabel" name="imageSizeLabel">
- <property name="text">
- <string>Resolution: 2048 x 2048</string>
- </property>
- <property name="geometry">
- <rect>
- <x>10</x>
- <y>547</y>
- <width>170</width>
- <height>20</height>
- </rect>
- </property>
- </widget>
- <!-- Previous Mip Button -->
- <widget class="QToolButton" name="prevMipBtn">
- <property name="icon">
- <iconset>
- <normalon>:/arrow_left-default.svg</normalon>
- </iconset>
- </property>
- <property name="geometry">
- <rect>
- <x>181</x>
- <y>547</y>
- <width>20</width>
- <height>20</height>
- </rect>
- </property>
- </widget>
- <!-- Mip Level -->
- <widget class="QLabel" name="mipLevelLabel">
- <property name="text">
- <string>Mipmap Level: 0</string>
- </property>
- <property name="geometry">
- <rect>
- <x>211</x>
- <y>547</y>
- <width>110</width>
- <height>20</height>
- </rect>
- </property>
- <property name="alignment">
- <set>Qt::AlignCenter</set>
- </property>
- </widget>
- <!-- Next Mip Button -->
- <widget class="QToolButton" name="nextMipBtn">
- <property name="icon">
- <iconset>
- <normalon>:/arrow_right-default.svg</normalon>
- </iconset>
- </property>
- <property name="geometry">
- <rect>
- <x>331</x>
- <y>547</y>
- <width>20</width>
- <height>20</height>
- </rect>
- </property>
- </widget>
- <!-- File Size -->
- <widget class="QLabel" name="fileSizeLabel">
- <property name="text">
- <string>Size: 4,096 KB</string>
- </property>
- <property name="geometry">
- <rect>
- <x>368</x>
- <y>547</y>
- <width>154</width>
- <height>20</height>
- </rect>
- </property>
- <property name="alignment">
- <set>Qt::AlignVCenter|Qt::AlignRight</set>
- </property>
- </widget>
- </widget>
- <customwidgets>
- <customwidget>
- <class>AzQtComponents::StyledBusyLabel</class>
- <extends>QWidget</extends>
- <header location="global">AzQtComponents/Components/StyledBusyLabel.h</header>
- <container>1</container>
- </customwidget>
- </customwidgets>
- <resources>
- <include location="./ImageProcessing.qrc"/>
- </resources>
- <connections/>
- </ui>
|