1<?xml version="1.0" encoding="UTF-8"?> 2<ui version="4.0"> 3 <class>EmbedderOptions</class> 4 <widget class="QWidget" name="EmbedderOptions"> 5 <property name="geometry"> 6 <rect> 7 <x>0</x> 8 <y>0</y> 9 <width>544</width> 10 <height>221</height> 11 </rect> 12 </property> 13 <property name="windowTitle"> 14 <string>Embedder options</string> 15 </property> 16 <layout class="QGridLayout" name="gridLayout"> 17 <property name="margin"> 18 <number>0</number> 19 </property> 20 <item row="0" column="0"> 21 <widget class="QToolButton" name="toolButtonTakeSnapshot"> 22 <property name="sizePolicy"> 23 <sizepolicy hsizetype="Fixed" vsizetype="Minimum"> 24 <horstretch>0</horstretch> 25 <verstretch>0</verstretch> 26 </sizepolicy> 27 </property> 28 <property name="toolTip"> 29 <string>Take a snapshot of the current window content -- hold to take snapshots repeatedly (every 100ms)</string> 30 </property> 31 <property name="text"> 32 <string>Take snapshot</string> 33 </property> 34 <property name="icon"> 35 <iconset resource="qmc2.qrc"> 36 <normaloff>:/data/img/camera.png</normaloff>:/data/img/camera.png</iconset> 37 </property> 38 <property name="autoRepeat"> 39 <bool>true</bool> 40 </property> 41 <property name="autoRepeatDelay"> 42 <number>100</number> 43 </property> 44 <property name="autoRepeatInterval"> 45 <number>50</number> 46 </property> 47 <property name="toolButtonStyle"> 48 <enum>Qt::ToolButtonTextBesideIcon</enum> 49 </property> 50 </widget> 51 </item> 52 <item row="1" column="0" colspan="8"> 53 <widget class="QListWidget" name="listWidgetSnapshots"> 54 <property name="mouseTracking"> 55 <bool>true</bool> 56 </property> 57 <property name="verticalScrollMode"> 58 <enum>QAbstractItemView::ScrollPerPixel</enum> 59 </property> 60 <property name="horizontalScrollMode"> 61 <enum>QAbstractItemView::ScrollPerPixel</enum> 62 </property> 63 <property name="movement"> 64 <enum>QListView::Static</enum> 65 </property> 66 <property name="flow"> 67 <enum>QListView::LeftToRight</enum> 68 </property> 69 <property name="isWrapping" stdset="0"> 70 <bool>true</bool> 71 </property> 72 <property name="resizeMode"> 73 <enum>QListView::Adjust</enum> 74 </property> 75 <property name="viewMode"> 76 <enum>QListView::IconMode</enum> 77 </property> 78 <property name="uniformItemSizes"> 79 <bool>true</bool> 80 </property> 81 </widget> 82 </item> 83 <item row="0" column="3"> 84 <widget class="QSpinBox" name="spinBoxZoom"> 85 <property name="sizePolicy"> 86 <sizepolicy hsizetype="Fixed" vsizetype="Minimum"> 87 <horstretch>0</horstretch> 88 <verstretch>0</verstretch> 89 </sizepolicy> 90 </property> 91 <property name="toolTip"> 92 <string>Set zoom factor for snapshot items</string> 93 </property> 94 <property name="statusTip"> 95 <string>Set zoom factor for snapshot items</string> 96 </property> 97 <property name="suffix"> 98 <string> %</string> 99 </property> 100 <property name="minimum"> 101 <number>10</number> 102 </property> 103 <property name="maximum"> 104 <number>1000</number> 105 </property> 106 <property name="singleStep"> 107 <number>10</number> 108 </property> 109 <property name="value"> 110 <number>100</number> 111 </property> 112 </widget> 113 </item> 114 <item row="0" column="2"> 115 <spacer name="horizontalSpacer"> 116 <property name="orientation"> 117 <enum>Qt::Horizontal</enum> 118 </property> 119 <property name="sizeHint" stdset="0"> 120 <size> 121 <width>0</width> 122 <height>20</height> 123 </size> 124 </property> 125 </spacer> 126 </item> 127 <item row="0" column="6"> 128 <widget class="QToolButton" name="toolButtonSaveAs"> 129 <property name="enabled"> 130 <bool>false</bool> 131 </property> 132 <property name="sizePolicy"> 133 <sizepolicy hsizetype="Fixed" vsizetype="Minimum"> 134 <horstretch>0</horstretch> 135 <verstretch>0</verstretch> 136 </sizepolicy> 137 </property> 138 <property name="toolTip"> 139 <string>Save selected image</string> 140 </property> 141 <property name="text"> 142 <string>Save as</string> 143 </property> 144 <property name="icon"> 145 <iconset resource="qmc2.qrc"> 146 <normaloff>:/data/img/filesaveas.png</normaloff>:/data/img/filesaveas.png</iconset> 147 </property> 148 <property name="toolButtonStyle"> 149 <enum>Qt::ToolButtonTextBesideIcon</enum> 150 </property> 151 </widget> 152 </item> 153 <item row="0" column="4"> 154 <widget class="QToolButton" name="toolButtonClearSnapshots"> 155 <property name="sizePolicy"> 156 <sizepolicy hsizetype="Fixed" vsizetype="Minimum"> 157 <horstretch>0</horstretch> 158 <verstretch>0</verstretch> 159 </sizepolicy> 160 </property> 161 <property name="toolTip"> 162 <string>Clear snapshots</string> 163 </property> 164 <property name="text"> 165 <string>Clear</string> 166 </property> 167 <property name="icon"> 168 <iconset resource="qmc2.qrc"> 169 <normaloff>:/data/img/broom.png</normaloff>:/data/img/broom.png</iconset> 170 </property> 171 <property name="toolButtonStyle"> 172 <enum>Qt::ToolButtonTextBesideIcon</enum> 173 </property> 174 </widget> 175 </item> 176 <item row="0" column="7"> 177 <widget class="QToolButton" name="toolButtonUseAs"> 178 <property name="enabled"> 179 <bool>false</bool> 180 </property> 181 <property name="sizePolicy"> 182 <sizepolicy hsizetype="Fixed" vsizetype="Minimum"> 183 <horstretch>0</horstretch> 184 <verstretch>0</verstretch> 185 </sizepolicy> 186 </property> 187 <property name="toolTip"> 188 <string>Choose the image-type for which the selected image should be used directly</string> 189 </property> 190 <property name="text"> 191 <string>Use as</string> 192 </property> 193 <property name="icon"> 194 <iconset resource="qmc2.qrc"> 195 <normaloff>:/data/img/filesaveas_and_apply.png</normaloff>:/data/img/filesaveas_and_apply.png</iconset> 196 </property> 197 <property name="popupMode"> 198 <enum>QToolButton::InstantPopup</enum> 199 </property> 200 <property name="toolButtonStyle"> 201 <enum>Qt::ToolButtonTextBesideIcon</enum> 202 </property> 203 </widget> 204 </item> 205 <item row="0" column="5"> 206 <widget class="Line" name="line"> 207 <property name="orientation"> 208 <enum>Qt::Vertical</enum> 209 </property> 210 </widget> 211 </item> 212 <item row="0" column="1"> 213 <widget class="QComboBox" name="comboBoxScaleMode"> 214 <property name="sizePolicy"> 215 <sizepolicy hsizetype="Preferred" vsizetype="Minimum"> 216 <horstretch>0</horstretch> 217 <verstretch>0</verstretch> 218 </sizepolicy> 219 </property> 220 <property name="toolTip"> 221 <string>Select the snapshot scaling mode</string> 222 </property> 223 <item> 224 <property name="text"> 225 <string>No scaling</string> 226 </property> 227 </item> 228 <item> 229 <property name="text"> 230 <string>Original size - no filter</string> 231 </property> 232 </item> 233 <item> 234 <property name="text"> 235 <string>Original size - filtered</string> 236 </property> 237 </item> 238 </widget> 239 </item> 240 </layout> 241 </widget> 242 <tabstops> 243 <tabstop>toolButtonTakeSnapshot</tabstop> 244 <tabstop>comboBoxScaleMode</tabstop> 245 <tabstop>spinBoxZoom</tabstop> 246 <tabstop>toolButtonClearSnapshots</tabstop> 247 <tabstop>toolButtonSaveAs</tabstop> 248 <tabstop>toolButtonUseAs</tabstop> 249 <tabstop>listWidgetSnapshots</tabstop> 250 </tabstops> 251 <resources> 252 <include location="qmc2.qrc"/> 253 </resources> 254 <connections> 255 <connection> 256 <sender>toolButtonClearSnapshots</sender> 257 <signal>clicked()</signal> 258 <receiver>listWidgetSnapshots</receiver> 259 <slot>clear()</slot> 260 <hints> 261 <hint type="sourcelabel"> 262 <x>401</x> 263 <y>17</y> 264 </hint> 265 <hint type="destinationlabel"> 266 <x>393</x> 267 <y>44</y> 268 </hint> 269 </hints> 270 </connection> 271 </connections> 272</ui> 273