1<?xml version="1.0" encoding="UTF-8"?> 2<ui version="4.0"> 3 <class>PreviewWidgetBase</class> 4 <widget class="QWidget" name="PreviewWidgetBase"> 5 <property name="geometry"> 6 <rect> 7 <x>0</x> 8 <y>0</y> 9 <width>588</width> 10 <height>500</height> 11 </rect> 12 </property> 13 <property name="sizePolicy"> 14 <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> 15 <horstretch>0</horstretch> 16 <verstretch>0</verstretch> 17 </sizepolicy> 18 </property> 19 <property name="minimumSize"> 20 <size> 21 <width>0</width> 22 <height>0</height> 23 </size> 24 </property> 25 <layout class="QGridLayout"> 26 <property name="margin"> 27 <number>0</number> 28 </property> 29 <item row="0" column="0"> 30 <widget class="QGroupBox" name="m_groupBox"> 31 <property name="title"> 32 <string>Preview</string> 33 </property> 34 <layout class="QVBoxLayout"> 35 <item> 36 <widget class="ImageViewer" name="m_preview"> 37 <property name="sizePolicy"> 38 <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> 39 <horstretch>0</horstretch> 40 <verstretch>0</verstretch> 41 </sizepolicy> 42 </property> 43 <property name="minimumSize"> 44 <size> 45 <width>200</width> 46 <height>150</height> 47 </size> 48 </property> 49 <property name="maximumSize"> 50 <size> 51 <width>1000</width> 52 <height>1000</height> 53 </size> 54 </property> 55 </widget> 56 </item> 57 </layout> 58 </widget> 59 </item> 60 <item row="1" column="0"> 61 <layout class="QHBoxLayout"> 62 <property name="margin"> 63 <number>0</number> 64 </property> 65 <item> 66 <widget class="QGroupBox" name="buttonGroup1"> 67 <property name="title"> 68 <string/> 69 </property> 70 <layout class="QHBoxLayout"> 71 <item> 72 <widget class="QRadioButton" name="radioBtnPreview"> 73 <property name="toolTip"> 74 <string>Preview modified layer</string> 75 </property> 76 <property name="text"> 77 <string>Pr&eview</string> 78 </property> 79 <property name="checked"> 80 <bool>true</bool> 81 </property> 82 </widget> 83 </item> 84 <item> 85 <widget class="QRadioButton" name="radioBtnOriginal"> 86 <property name="toolTip"> 87 <string>Show original layer</string> 88 </property> 89 <property name="text"> 90 <string>Ori&ginal</string> 91 </property> 92 </widget> 93 </item> 94 </layout> 95 </widget> 96 </item> 97 <item> 98 <layout class="QVBoxLayout"> 99 <property name="margin"> 100 <number>0</number> 101 </property> 102 <item> 103 <layout class="QHBoxLayout"> 104 <property name="margin"> 105 <number>0</number> 106 </property> 107 <item> 108 <widget class="QPushButton" name="btnZoomOut"> 109 <property name="toolTip"> 110 <string>Zoom Out</string> 111 </property> 112 <property name="text"> 113 <string/> 114 </property> 115 <property name="shortcut"> 116 <string/> 117 </property> 118 </widget> 119 </item> 120 <item> 121 <widget class="QPushButton" name="btnZoomIn"> 122 <property name="toolTip"> 123 <string>Zoom In</string> 124 </property> 125 <property name="text"> 126 <string/> 127 </property> 128 <property name="shortcut"> 129 <string/> 130 </property> 131 </widget> 132 </item> 133 <item> 134 <widget class="QPushButton" name="btnZoomOneToOne"> 135 <property name="toolTip"> 136 <string>1 : 1</string> 137 </property> 138 <property name="text"> 139 <string/> 140 </property> 141 <property name="shortcut"> 142 <string/> 143 </property> 144 </widget> 145 </item> 146 <item> 147 <widget class="QPushButton" name="btnUpdate"> 148 <property name="toolTip"> 149 <string>Update preview</string> 150 </property> 151 <property name="text"> 152 <string/> 153 </property> 154 <property name="shortcut"> 155 <string/> 156 </property> 157 </widget> 158 </item> 159 </layout> 160 </item> 161 <item> 162 <widget class="QCheckBox" name="checkBoxAutoUpdate"> 163 <property name="toolTip"> 164 <string>Automatically update the preview whenever the filter settings change</string> 165 </property> 166 <property name="text"> 167 <string>&Autoupdate</string> 168 </property> 169 <property name="checked"> 170 <bool>true</bool> 171 </property> 172 </widget> 173 </item> 174 </layout> 175 </item> 176 <item> 177 <spacer name="spacer1"> 178 <property name="orientation"> 179 <enum>Qt::Horizontal</enum> 180 </property> 181 <property name="sizeType"> 182 <enum>QSizePolicy::Expanding</enum> 183 </property> 184 <property name="sizeHint" stdset="0"> 185 <size> 186 <width>16</width> 187 <height>20</height> 188 </size> 189 </property> 190 </spacer> 191 </item> 192 </layout> 193 </item> 194 </layout> 195 </widget> 196 <customwidgets> 197 <customwidget> 198 <class>ImageViewer</class> 199 <extends></extends> 200 <header>widgets/imageviewer.h</header> 201 </customwidget> 202 </customwidgets> 203 <resources/> 204 <connections/> 205</ui> 206