<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>preview</class> <widget class="QDialog" name="preview"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>414</width> <height>256</height> </rect> </property> <property name="windowTitle"> <string>Preview selection</string> </property> <layout class="QVBoxLayout"> <item> <widget class="QLabel" name="lbl_title"> <property name="minimumSize"> <size> <width>0</width> <height>37</height> </size> </property> <property name="maximumSize"> <size> <width>16777215</width> <height>37</height> </size> </property> <property name="font"> <font> <weight>75</weight> <bold>true</bold> </font> </property> <property name="text"> <string>File preview</string> </property> <property name="alignment"> <set>Qt::AlignHCenter|Qt::AlignTop</set> </property> </widget> </item> <item> <widget class="QLabel" name="label"> <property name="maximumSize"> <size> <width>16777215</width> <height>42</height> </size> </property> <property name="text"> <string>The following files support previewing, <br>please select one of them:</string> </property> <property name="alignment"> <set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set> </property> </widget> </item> <item> <widget class="QTreeView" name="previewList"/> </item> <item> <layout class="QHBoxLayout"> <item> <spacer> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> <item> <widget class="QPushButton" name="previewButton"> <property name="text"> <string>Preview</string> </property> </widget> </item> <item> <widget class="QPushButton" name="cancelButton"> <property name="text"> <string>Cancel</string> </property> </widget> </item> <item> <spacer> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> </layout> </item> </layout> </widget> <resources/> <connections> <connection> <sender>cancelButton</sender> <signal>clicked()</signal> <receiver>preview</receiver> <slot>reject()</slot> <hints> <hint type="sourcelabel"> <x>296</x> <y>245</y> </hint> <hint type="destinationlabel"> <x>179</x> <y>282</y> </hint> </hints> </connection> </connections> </ui>