2 <class>KSnapshotWidget</class>
3 <widget class="QWidget" name="KSnapshotWidget" >
4 <property name="geometry" >
12 <layout class="QGridLayout" >
13 <property name="margin" >
16 <property name="spacing" >
19 <item row="0" column="0" colspan="3" >
20 <widget class="KSnapshotPreview" native="1" name="lblImage" >
21 <property name="minimumSize" >
27 <property name="whatsThis" >
28 <string>This is a preview of the current snapshot.
30 The image can be dragged to another application or document to copy the full screenshot there. Try it with the Konqueror file manager.
32 You can also copy the image to the clipboard by pressing Ctrl+C.</string>
36 <item row="1" column="0" colspan="4" >
37 <widget class="Line" name="line1" >
38 <property name="frameShape" >
39 <enum>QFrame::HLine</enum>
41 <property name="frameShadow" >
42 <enum>QFrame::Sunken</enum>
44 <property name="orientation" >
45 <enum>Qt::Horizontal</enum>
49 <item row="3" column="1" >
50 <widget class="QSpinBox" name="spinDelay" >
51 <property name="toolTip" >
52 <string>Snapshot delay in seconds</string>
54 <property name="whatsThis" >
56 This is the number of seconds to wait after clicking the <i>New Snapshot</i> button before taking the snapshot.
58 This is very useful for getting windows, menus and other items on the screen set up just the way you want.
60 If <i>no delay</i> is set, the program will wait for a mouse click before taking a snapshot.
64 <property name="specialValueText" >
65 <string>No delay</string>
67 <property name="suffix" >
72 <item row="3" column="0" >
73 <widget class="QLabel" name="lblDelay" >
74 <property name="text" >
75 <string>Snapshot &delay:</string>
77 <property name="alignment" >
78 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
80 <property name="buddy" >
81 <cstring>spinDelay</cstring>
85 <item row="2" column="0" >
86 <widget class="QLabel" name="textLabel1" >
87 <property name="text" >
88 <string>Cap&ture mode:</string>
90 <property name="alignment" >
91 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
93 <property name="buddy" >
94 <cstring>comboMode</cstring>
98 <item row="3" column="2" colspan="2" >
100 <property name="orientation" >
101 <enum>Qt::Horizontal</enum>
103 <property name="sizeType" >
104 <enum>QSizePolicy::Expanding</enum>
106 <property name="sizeHint" stdset="0" >
114 <item row="4" column="0" colspan="4" >
115 <widget class="QCheckBox" name="cbIncludeDecorations" >
116 <property name="whatsThis" >
117 <string>When enabled, snapshot of a window will also include the window decorations</string>
119 <property name="text" >
120 <string>Include &window decorations</string>
122 <property name="checked" >
127 <item row="2" column="1" colspan="3" >
128 <widget class="QComboBox" name="comboMode" >
129 <property name="whatsThis" >
130 <string><qt>Using this menu, you can select from the five following snapshot modes:
132 <b>Full Screen</b> - captures the entire desktop.<br/>
133 <b>Window Under Cursor</b> - captures only the window (or menu) that is under the mouse cursor when the snapshot is taken.<br/>
134 <b>Region</b> - captures only the region of the desktop that you specify. When taking a new snapshot in this mode you will be able to select any area of the screen by clicking and dragging the mouse.<br/>
135 <b>Section of Window</b> - captures only a section of the window. When taking a new snapshot in this mode you will be able to select any child window by moving the mouse over it.<br/>
136 <b>Current Screen</b> - if you have multiple screens, this captures the screen containing the mouse cursor when the snapshot is taken.
137 </p></qt></string>
140 <property name="text" >
141 <string>Full Screen</string>
145 <property name="text" >
146 <string>Window Under Cursor</string>
150 <property name="text" >
151 <string>Region</string>
155 <property name="text" >
156 <string>Section of Window</string>
160 <property name="text" >
161 <string>Current Screen</string>
166 <item row="0" column="3" >
167 <layout class="QVBoxLayout" >
168 <property name="spacing" >
171 <property name="margin" >
175 <widget class="KPushButton" name="btnNew" >
176 <property name="whatsThis" >
177 <string>Click this button to take a new snapshot.</string>
179 <property name="text" >
180 <string>&New Snapshot</string>
186 <property name="orientation" >
187 <enum>Qt::Vertical</enum>
189 <property name="sizeType" >
190 <enum>QSizePolicy::Expanding</enum>
192 <property name="sizeHint" stdset="0" >
201 <widget class="KPushButton" name="btnSave" >
202 <property name="whatsThis" >
203 <string>Click this button to save the current snapshot. To quickly save the snapshot without showing the file dialog, press Ctrl+Shift+S. The filename is automatically incremented after each save.</string>
205 <property name="text" >
206 <string>&Save As...</string>
211 <widget class="KPushButton" name="btnOpen" >
212 <property name="whatsThis" >
213 <string>Click this button to open the snapshot with another application.</string>
215 <property name="text" >
216 <string>&Open With</string>
221 <widget class="KPushButton" name="btnCopy" >
222 <property name="whatsThis" >
223 <string>Click this button to copy the current snapshot to the clipboard.</string>
225 <property name="text" >
226 <string>&Copy to Clipboard</string>
234 <layoutdefault spacing="6" margin="11" />
235 <layoutfunction spacing="KDialog::spacingHint" margin="KDialog::marginHint" />
238 <class>KPushButton</class>
239 <extends>QPushButton</extends>
240 <header>kpushbutton.h</header>
243 <class>KSnapshotPreview</class>
244 <extends>QWidget</extends>
245 <header>ksnapshot.h</header>
249 <tabstop>btnNew</tabstop>
250 <tabstop>btnSave</tabstop>
251 <tabstop>btnOpen</tabstop>
252 <tabstop>btnCopy</tabstop>
253 <tabstop>comboMode</tabstop>
254 <tabstop>spinDelay</tabstop>
255 <tabstop>cbIncludeDecorations</tabstop>
258 <include location="local" >kpushbutton.h</include>