1<?xml version="1.0" encoding="UTF-8"?> 2<ui version="4.0"> 3 <class>SnapWidget</class> 4 <widget class="QWidget" name="SnapWidget"> 5 <property name="geometry"> 6 <rect> 7 <x>0</x> 8 <y>0</y> 9 <width>550</width> 10 <height>450</height> 11 </rect> 12 </property> 13 <property name="minimumSize"> 14 <size> 15 <width>250</width> 16 <height>300</height> 17 </size> 18 </property> 19 <property name="windowTitle"> 20 <string>eric Snapshot</string> 21 </property> 22 <layout class="QVBoxLayout" name="verticalLayout"> 23 <item> 24 <widget class="SnapshotPreview" name="preview"> 25 <property name="sizePolicy"> 26 <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> 27 <horstretch>0</horstretch> 28 <verstretch>0</verstretch> 29 </sizepolicy> 30 </property> 31 <property name="minimumSize"> 32 <size> 33 <width>230</width> 34 <height>130</height> 35 </size> 36 </property> 37 <property name="alignment"> 38 <set>Qt::AlignCenter</set> 39 </property> 40 </widget> 41 </item> 42 <item> 43 <widget class="Line" name="line"> 44 <property name="orientation"> 45 <enum>Qt::Horizontal</enum> 46 </property> 47 </widget> 48 </item> 49 <item> 50 <layout class="QGridLayout" name="gridLayout"> 51 <item row="0" column="0"> 52 <widget class="QLabel" name="label"> 53 <property name="text"> 54 <string>Snapshot Mode:</string> 55 </property> 56 </widget> 57 </item> 58 <item row="0" column="1"> 59 <widget class="QComboBox" name="modeCombo"> 60 <property name="sizePolicy"> 61 <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> 62 <horstretch>0</horstretch> 63 <verstretch>0</verstretch> 64 </sizepolicy> 65 </property> 66 <property name="toolTip"> 67 <string>Select the snapshot mode</string> 68 </property> 69 </widget> 70 </item> 71 <item row="1" column="0"> 72 <widget class="QLabel" name="label_2"> 73 <property name="text"> 74 <string>Delay:</string> 75 </property> 76 </widget> 77 </item> 78 <item row="1" column="1"> 79 <layout class="QHBoxLayout" name="horizontalLayout_2"> 80 <item> 81 <widget class="QSpinBox" name="delaySpin"> 82 <property name="toolTip"> 83 <string>Enter the delay before taking the snapshot</string> 84 </property> 85 <property name="alignment"> 86 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 87 </property> 88 <property name="specialValueText"> 89 <string> No delay</string> 90 </property> 91 <property name="suffix"> 92 <string> s</string> 93 </property> 94 </widget> 95 </item> 96 <item> 97 <spacer name="horizontalSpacer_4"> 98 <property name="orientation"> 99 <enum>Qt::Horizontal</enum> 100 </property> 101 <property name="sizeHint" stdset="0"> 102 <size> 103 <width>40</width> 104 <height>20</height> 105 </size> 106 </property> 107 </spacer> 108 </item> 109 </layout> 110 </item> 111 <item row="2" column="0" colspan="2"> 112 <layout class="QHBoxLayout" name="horizontalLayout_4"> 113 <item> 114 <widget class="QCheckBox" name="decorationsCheckBox"> 115 <property name="toolTip"> 116 <string>Select to include the window decorations in the screenshot</string> 117 </property> 118 <property name="text"> 119 <string>include Decorations</string> 120 </property> 121 </widget> 122 </item> 123 <item> 124 <widget class="QCheckBox" name="mouseCursorCheckBox"> 125 <property name="toolTip"> 126 <string>Select to include the mouse cursor in the screenshot</string> 127 </property> 128 <property name="text"> 129 <string>include Mouse Cursor</string> 130 </property> 131 </widget> 132 </item> 133 </layout> 134 </item> 135 </layout> 136 </item> 137 <item> 138 <widget class="Line" name="line_3"> 139 <property name="orientation"> 140 <enum>Qt::Horizontal</enum> 141 </property> 142 </widget> 143 </item> 144 <item> 145 <layout class="QHBoxLayout" name="horizontalLayout_3"> 146 <item> 147 <widget class="QLabel" name="label_3"> 148 <property name="text"> 149 <string>Path Name:</string> 150 </property> 151 </widget> 152 </item> 153 <item> 154 <widget class="QLineEdit" name="pathNameEdit"> 155 <property name="toolTip"> 156 <string>Shows the name of the directory used for saving</string> 157 </property> 158 <property name="readOnly"> 159 <bool>true</bool> 160 </property> 161 </widget> 162 </item> 163 </layout> 164 </item> 165 <item> 166 <widget class="Line" name="line_2"> 167 <property name="orientation"> 168 <enum>Qt::Horizontal</enum> 169 </property> 170 </widget> 171 </item> 172 <item> 173 <layout class="QHBoxLayout" name="horizontalLayout"> 174 <item> 175 <widget class="QPushButton" name="saveButton"> 176 <property name="enabled"> 177 <bool>false</bool> 178 </property> 179 <property name="toolTip"> 180 <string>Press to save the snapshot</string> 181 </property> 182 <property name="text"> 183 <string>&Save Snapshot ...</string> 184 </property> 185 </widget> 186 </item> 187 <item> 188 <spacer name="horizontalSpacer"> 189 <property name="orientation"> 190 <enum>Qt::Horizontal</enum> 191 </property> 192 <property name="sizeHint" stdset="0"> 193 <size> 194 <width>40</width> 195 <height>20</height> 196 </size> 197 </property> 198 </spacer> 199 </item> 200 <item> 201 <widget class="QPushButton" name="copyButton"> 202 <property name="enabled"> 203 <bool>false</bool> 204 </property> 205 <property name="toolTip"> 206 <string>Press to copy the snapshot to the clipboard</string> 207 </property> 208 <property name="text"> 209 <string>&Copy</string> 210 </property> 211 </widget> 212 </item> 213 <item> 214 <widget class="QPushButton" name="copyPreviewButton"> 215 <property name="enabled"> 216 <bool>false</bool> 217 </property> 218 <property name="toolTip"> 219 <string>Press to copy the snapshot preview to the clipboard</string> 220 </property> 221 <property name="text"> 222 <string>Copy &Preview</string> 223 </property> 224 </widget> 225 </item> 226 <item> 227 <spacer name="horizontalSpacer_5"> 228 <property name="orientation"> 229 <enum>Qt::Horizontal</enum> 230 </property> 231 <property name="sizeHint" stdset="0"> 232 <size> 233 <width>28</width> 234 <height>20</height> 235 </size> 236 </property> 237 </spacer> 238 </item> 239 <item> 240 <widget class="QPushButton" name="takeButton"> 241 <property name="toolTip"> 242 <string>Press to take a snapshot</string> 243 </property> 244 <property name="text"> 245 <string>&Take Snapshot ...</string> 246 </property> 247 </widget> 248 </item> 249 </layout> 250 </item> 251 </layout> 252 </widget> 253 <customwidgets> 254 <customwidget> 255 <class>SnapshotPreview</class> 256 <extends>QLabel</extends> 257 <header>Snapshot/SnapshotPreview.h</header> 258 </customwidget> 259 </customwidgets> 260 <tabstops> 261 <tabstop>modeCombo</tabstop> 262 <tabstop>delaySpin</tabstop> 263 <tabstop>decorationsCheckBox</tabstop> 264 <tabstop>mouseCursorCheckBox</tabstop> 265 <tabstop>takeButton</tabstop> 266 <tabstop>pathNameEdit</tabstop> 267 <tabstop>saveButton</tabstop> 268 <tabstop>copyPreviewButton</tabstop> 269 <tabstop>copyButton</tabstop> 270 </tabstops> 271 <resources/> 272 <connections/> 273</ui> 274