~ubuntu-branches/ubuntu/breezy/koffice/breezy-security

« back to all changes in this revision

Viewing changes to krita/plugins/screenshot/ksnapshotwidget.ui

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2005-10-11 14:49:50 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051011144950-lwpngbifzp8nk0ds
Tags: 1:1.4.1-0ubuntu7
* SECURITY UPDATE: fix heap based buffer overflow in the RTF importer of KWord
* Opening specially crafted RTF files in KWord can cause
  execution of abitrary code.
* Add kubuntu_01_rtfimport_heap_overflow.diff
* References:
  CAN-2005-2971
  CESA-2005-005
  http://www.koffice.org/security/advisory-20051011-1.txt

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE UI><UI version="3.2" stdsetdef="1">
 
2
<class>KSnapshotWidget</class>
 
3
<widget class="QWidget">
 
4
    <property name="name">
 
5
        <cstring>KSnapshotWidget</cstring>
 
6
    </property>
 
7
    <property name="geometry">
 
8
        <rect>
 
9
            <x>0</x>
 
10
            <y>0</y>
 
11
            <width>358</width>
 
12
            <height>241</height>
 
13
        </rect>
 
14
    </property>
 
15
    <grid>
 
16
        <property name="name">
 
17
            <cstring>unnamed</cstring>
 
18
        </property>
 
19
        <property name="margin">
 
20
            <number>0</number>
 
21
        </property>
 
22
        <widget class="KSnapshotThumb" row="0" column="0" rowspan="4" colspan="3">
 
23
            <property name="name">
 
24
                <cstring>lblImage</cstring>
 
25
            </property>
 
26
            <property name="minimumSize">
 
27
                <size>
 
28
                    <width>200</width>
 
29
                    <height>130</height>
 
30
                </size>
 
31
            </property>
 
32
            <property name="toolTip" stdset="0">
 
33
                <string>Thumbnail of the current snapshot</string>
 
34
            </property>
 
35
            <property name="whatsThis" stdset="0">
 
36
                <string>This is a thumbnail of the current snapshot.
 
37
 
 
38
The image can be dragged to another application or document to copy the full screenshot there. Try it with the Konqueror file manager.</string>
 
39
            </property>
 
40
        </widget>
 
41
        <widget class="KPushButton" row="0" column="3">
 
42
            <property name="name">
 
43
                <cstring>btnNew</cstring>
 
44
            </property>
 
45
            <property name="text">
 
46
                <string>&amp;New Snapshot</string>
 
47
            </property>
 
48
            <property name="iconSet">
 
49
                <iconset>"tool_screenshot"</iconset>
 
50
            </property>
 
51
            <property name="whatsThis" stdset="0">
 
52
                <string>Click this button to take a new snapshot.</string>
 
53
            </property>
 
54
        </widget>
 
55
        <widget class="KPushButton" row="2" column="3">
 
56
            <property name="name">
 
57
                <cstring>btnSave</cstring>
 
58
            </property>
 
59
            <property name="text">
 
60
                <string>&amp;Save As...</string>
 
61
            </property>
 
62
            <property name="iconSet">
 
63
                <iconset>"filesave"</iconset>
 
64
            </property>
 
65
            <property name="whatsThis" stdset="0">
 
66
                <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>
 
67
            </property>
 
68
        </widget>
 
69
        <spacer row="1" column="3">
 
70
            <property name="name">
 
71
                <cstring>Spacer6</cstring>
 
72
            </property>
 
73
            <property name="orientation">
 
74
                <enum>Vertical</enum>
 
75
            </property>
 
76
            <property name="sizeType">
 
77
                <enum>Expanding</enum>
 
78
            </property>
 
79
            <property name="sizeHint">
 
80
                <size>
 
81
                    <width>16</width>
 
82
                    <height>16</height>
 
83
                </size>
 
84
            </property>
 
85
        </spacer>
 
86
        <widget class="KPushButton" row="3" column="3">
 
87
            <property name="name">
 
88
                <cstring>btnPrint</cstring>
 
89
            </property>
 
90
            <property name="text">
 
91
                <string>&amp;Print...</string>
 
92
            </property>
 
93
            <property name="iconSet">
 
94
                <iconset>"fileprint"</iconset>
 
95
            </property>
 
96
            <property name="whatsThis" stdset="0">
 
97
                <string>Click this button to print the current screenshot.</string>
 
98
            </property>
 
99
        </widget>
 
100
        <widget class="Line" row="4" column="0" rowspan="1" colspan="4">
 
101
            <property name="name">
 
102
                <cstring>line1</cstring>
 
103
            </property>
 
104
            <property name="frameShape">
 
105
                <enum>HLine</enum>
 
106
            </property>
 
107
            <property name="frameShadow">
 
108
                <enum>Sunken</enum>
 
109
            </property>
 
110
            <property name="orientation">
 
111
                <enum>Horizontal</enum>
 
112
            </property>
 
113
        </widget>
 
114
        <widget class="QSpinBox" row="6" column="1">
 
115
            <property name="name">
 
116
                <cstring>spinDelay</cstring>
 
117
            </property>
 
118
            <property name="suffix">
 
119
                <string> sec</string>
 
120
            </property>
 
121
            <property name="specialValueText">
 
122
                <string>No delay</string>
 
123
            </property>
 
124
            <property name="toolTip" stdset="0">
 
125
                <string>Snapshot delay in seconds</string>
 
126
            </property>
 
127
            <property name="whatsThis" stdset="0">
 
128
                <string>&lt;qt&gt;
 
129
This is the number of seconds to wait after clicking the &lt;i&gt;New Snapshot&lt;/i&gt; button before taking the snapshot.
 
130
&lt;p&gt;
 
131
This is very useful for getting windows, menus and other items on the screen set up just the way you want.
 
132
&lt;p&gt;
 
133
If &lt;i&gt;no delay&lt;/i&gt; is set, the program will wait for a mouse click before taking a snapshot.
 
134
&lt;/p&gt;
 
135
&lt;/qt&gt;</string>
 
136
            </property>
 
137
        </widget>
 
138
        <widget class="QLabel" row="6" column="0">
 
139
            <property name="name">
 
140
                <cstring>lblDelay</cstring>
 
141
            </property>
 
142
            <property name="text">
 
143
                <string>Snapshot &amp;delay:</string>
 
144
            </property>
 
145
            <property name="buddy" stdset="0">
 
146
                <cstring>spinDelay</cstring>
 
147
            </property>
 
148
        </widget>
 
149
        <widget class="QLabel" row="5" column="0">
 
150
            <property name="name">
 
151
                <cstring>textLabel1</cstring>
 
152
            </property>
 
153
            <property name="text">
 
154
                <string>Cap&amp;ture mode:</string>
 
155
            </property>
 
156
            <property name="buddy" stdset="0">
 
157
                <cstring>comboMode</cstring>
 
158
            </property>
 
159
        </widget>
 
160
        <spacer row="6" column="2" rowspan="1" colspan="2">
 
161
            <property name="name">
 
162
                <cstring>Spacer1</cstring>
 
163
            </property>
 
164
            <property name="orientation">
 
165
                <enum>Horizontal</enum>
 
166
            </property>
 
167
            <property name="sizeType">
 
168
                <enum>Expanding</enum>
 
169
            </property>
 
170
            <property name="sizeHint">
 
171
                <size>
 
172
                    <width>156</width>
 
173
                    <height>16</height>
 
174
                </size>
 
175
            </property>
 
176
        </spacer>
 
177
        <widget class="QCheckBox" row="7" column="0" rowspan="1" colspan="4">
 
178
            <property name="name">
 
179
                <cstring>cbIncludeDecorations</cstring>
 
180
            </property>
 
181
            <property name="text">
 
182
                <string>Include &amp;window decorations</string>
 
183
            </property>
 
184
            <property name="checked">
 
185
                <bool>true</bool>
 
186
            </property>
 
187
            <property name="whatsThis" stdset="0">
 
188
                <string>When enabled, snapshot of a window will also include the window decorations</string>
 
189
            </property>
 
190
        </widget>
 
191
        <widget class="QComboBox" row="5" column="1" rowspan="1" colspan="3">
 
192
            <item>
 
193
                <property name="text">
 
194
                    <string>Full Screen</string>
 
195
                </property>
 
196
            </item>
 
197
            <item>
 
198
                <property name="text">
 
199
                    <string>Window Under Cursor</string>
 
200
                </property>
 
201
            </item>
 
202
            <item>
 
203
                <property name="text">
 
204
                    <string>Region</string>
 
205
                </property>
 
206
            </item>
 
207
            <property name="name">
 
208
                <cstring>comboMode</cstring>
 
209
            </property>
 
210
            <property name="whatsThis" stdset="0">
 
211
                <string>&lt;qt&gt;Using this menu, you can select from the three following snapshot modes:
 
212
&lt;p&gt;
 
213
&lt;b&gt;Full Screen&lt;/b&gt; - captures the entire desktop.&lt;br&gt;
 
214
&lt;b&gt;Window Under Cursor&lt;/b&gt; - captures only the window (or menu) that is under the mouse cursor when the snapshot is taken.&lt;br&gt;
 
215
&lt;b&gt;Region&lt;/b&gt; - 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.&lt;/p&gt;&lt;/qt&gt;</string>
 
216
            </property>
 
217
        </widget>
 
218
        <spacer row="8" column="1">
 
219
            <property name="name">
 
220
                <cstring>spacer3</cstring>
 
221
            </property>
 
222
            <property name="orientation">
 
223
                <enum>Vertical</enum>
 
224
            </property>
 
225
            <property name="sizeType">
 
226
                <enum>Expanding</enum>
 
227
            </property>
 
228
            <property name="sizeHint">
 
229
                <size>
 
230
                    <width>20</width>
 
231
                    <height>31</height>
 
232
                </size>
 
233
            </property>
 
234
        </spacer>
 
235
    </grid>
 
236
</widget>
 
237
<customwidgets>
 
238
    <customwidget>
 
239
        <class>KSnapshotThumb</class>
 
240
        <header location="local">ksnapshot.h</header>
 
241
        <sizehint>
 
242
            <width>-1</width>
 
243
            <height>-1</height>
 
244
        </sizehint>
 
245
        <container>0</container>
 
246
        <sizepolicy>
 
247
            <hordata>5</hordata>
 
248
            <verdata>5</verdata>
 
249
            <horstretch>0</horstretch>
 
250
            <verstretch>0</verstretch>
 
251
        </sizepolicy>
 
252
        <pixmap>image0</pixmap>
 
253
        <signal>startDrag()</signal>
 
254
    </customwidget>
 
255
</customwidgets>
 
256
<images>
 
257
    <image name="image0">
 
258
        <data format="XPM.GZ" length="5230">789c9597db4e1d4b0e86eff31428be8b46b5fb54dd551acd051020211c4320c0682eecaa5e9ccf90005bf3ee53cbbfe9d9c9c548a38ea27c2977b5cbfe6dd7fae3c3c2e1cee6c2873fde3d3cf2e3595a48a77cbff0213f5d5dbdfcf35ffff8f3ddfba65998fff161a179ffb777ef771f17d2c2d6cdf53807c705a889cdac6ee72c47736eebd637b5f2b672d70ecd30e744ca7d9b9a4ad7579587363433e527e5d072abefbb03636978ceb4a31c5bc13a91716ad41f89e0aec2fe74abcc6d6ad5f9e4945357375ef75f997357751dd61d19c71afb61bdef421b951f274ebaffb6716cb3f2b2f230f18d3183dd95b1b441d7d59f2e94757ccf1b27eceff69563618d0f5dcfd9d7beeb7a5dd7f3fac6fb4ee32b87c619f1168d976f7d6ff6df26d6ef4b301e1bac7f54f63e747a5e87f5c173276aff605c22a8fefc540e5e3af5972f956359577bf2c6d978cb78d6697edc9eb2f8b143fed7945359d778b0e6c3e7be81bf7465dce23cf4ac3c16567f19fecefaae53bd081b7baccbb131b7d05f679ca03f27c6b9d1f388c6bbaffab7f80dca4d1fed7bfafdbeedb9533d490f1e2ae8d5693ccacb83d77cd027e3d4416faa97beefa3d7f8f086f168f9d9020f43a3f5c5aa877e28eb88f74fe319becfaa873e0c15de775f95639f3dec37c143d361bf2be3cef4b76bdcb7d84ff5d2cbd0227facf1ecd360fa67d54b9f078ffcd10f636e11ff53e3847853ad3c1b668837e9fe43358c2df45a81430b3db2e6676842d368fd48abdc068b87e0fd2e788bf792b21f861e7afd0e0e5ce37dcdd7d0872218e5d789f57b3218a71ae7bb501eca3af67b510e21c05fd27a1b6218ac3ef17d0ed68fe8cb1be3fc6e5159863ca0bfed824340fe687d62c4838c23f677f0370de380fcdd2be7e03dfab1d6cf300bcd80fa80bfb358dbf9547fa18abe413d68fe421d63ade7737aded094cf63fdcc38f4d0bfee17dac2d08380a3a0dff24cb90bdc23ffaa87e0636c912fed87612e38d4df1e982bc4dbdd29872001f14aca319413eb793e83cbfbe8af27606e4c0f5f8d3bcb7763ec6b8da73b57e69083d61f9d82b9b5fada31f635fcaf8d7b7b5ffb41f16e34ff34fe214dfc0c8e1ef1a22330bfcdc345e31e4c33e3c1e6e181b1609e3ac43f8759803e8cd9f2e7e0ff18ab80ef5d8239e2fc0ef129f90ff0bf0773347fee8d13ce279bc6b34af5c61abf58157bf4b765b05435f4abfec726968c2b67e536fa80fe388279067f680d2c750dff75fe9766da07e44bc02521ba4e1d584c1fb261dcc23fd97f63f8c3af136bfc687362c4e76962ed8fac7a2ecdb7853f7c63ec6bf467bd3fc421c680780c60b6f9275fc045aea84fadaf18a2e0fc04ff0237bd9e8fefc0d236e8ef3f8d83c57fdd38daf94edeb886be74fec618b3ed7f3731e66b0fe67a403e76c0454ef8de9231dbfe9f8dc5fc47be38a6887ad2f950964d2fdc1a27d3c7b6710693f6ef9864b4fdb4ffc6cc5540fea0972c339c87afc1c9f4443a5fe2c84d40bd2f82cb3ae6c7b1716dbc37b1e68bf5be118b7e3dead78125d87d0bfa99bd7d8fb78c1bdb4fcfcfd51bcb9d716bebda3fb8966cf7cf57709103f2e327c6fe5a2fdc4ab4fb01deef5283fa65d50ffb54c13fd67ec37d61e845fb070f8571df7c341eec7e7a691c6ae453fb771937d1fa999ebfa43358bf573d3327c6fdd0a9de59b87414e59f60911ef3ff07380d16bf0b63b6fbb8ce0f4e523a80ee8ff8a5f21fe83f384f2e8cf9d419db7d4bb4bff32cb1dd871ae38c79417962dd9f8f2786bfaa3fa992ddbf68d5d8d6797d62dc27b4bf4a9bdeee5be7c619efbb169c2b9bb7aa67e972857a67d59bf8943cf4a6f5237dae3b9c3f4f8cef5713637e6a3c6548e546a7eb87e0b28e7cf7c68ddd2fb15f28acf166bd2f484c19f921f8cbc57de84ff52c397b8f7e178d7bbb7f7e9f18f743d593ccd210d12f9e8c05fd8417c1e5e704e2afefa7aa5cf850ff4fc6a1473debfc4d7561c4ebd3c48897f69fd4e4d8eb7e4efb736a0b23fe9adfd465bb3f388d6ff22933fa1df6f7597ad483c62371f6e6ff8671b6f89e198fb8cfb0ea3f49619c6f6562cc27d5474a7906e6b589d1df549f29e78479450fe0b1c2fc67d5731a0ba33ffc97a167fd7d92ebb1b1f9a87acdcdd8a23ff2e3c4a81fed0fb91bbb88f8e9f772f9b9c6b8bfac187bd41febbcc8c35831f4bb6edc227eeec8b847bc58ef0f398d91a1179d6f391746bdebfd60ac4716b0180bd8a97e473f8ea2dfdb7d9c3f8e1cff8f8760057b27e57f92cb6e743377e24efff29cb97377e12edd55b190c99eddb5bb71b7eeceddbb07f7e89edc0ff7d33dbb17f7ea16dd925b761fdd8a63d8174f52b15e756bee93fbecd6dd17b7e136dd96db763b6ed77d2dd67bee9bdb77078ed49e8b27b7c5fabb3b7447eed855ae768d6bcbd339ef7a37b8e022392a2734fbd1dd119350a24c23cde8844ee98ccee9c2f9c2977445d77443b793fd8ceee89e1ee8919ee807fdb4e7995ee8b5d82fd252b15ffe8bfd097da4155aa535fa34597fa6f5f2f717da28f69bb445dbb433d99fd22e7da53dfa3659efd3017da7c3f2af233aa68aeadfec1b6aa9236fd63d0d14ca15c0719913737b965fedcbf0c83cc29a677cc2a77cc6e77cc1977cc5d7c5fee637fbdbb2db9d5adff343b17ee427fec1737ee69762fffa9bfd222ff17259fdc82bbcca6bfc893ff33a7fe10ddee42ddee69ddfec77f92beff137dee703fece877cc4c7aee58a6b6ee8b8fc10ed7eb13f635f9a4bc5e54719477152ba671977a505c84845c57222a7bfd89fcb999ccb855cca955cbfc5546ee456ee68b14cf67b799047799aec2fdc92fc28999cef567224cff222afb2c85b32e36d599265f9282bb23ad95fba6559934f2593f3e798b74acc8fd5f6b3accb17d9904dd9926db3a7520d1fdd37d9915df95a72599e1291566df7e49beccb817c974339829eb55e56dc7e51ec0d2dcbb1545297a791563af1c5eff2d3beb4faf8562f568f0744745b9e9d5f1f7992d5e412a186ffef7afff7dfdffd077c99ae99</data>
 
259
    </image>
 
260
</images>
 
261
<connections>
 
262
    <connection>
 
263
        <sender>comboMode</sender>
 
264
        <signal>activated(int)</signal>
 
265
        <receiver>KSnapshotWidget</receiver>
 
266
        <slot>slotModeChanged(int)</slot>
 
267
    </connection>
 
268
    <connection>
 
269
        <sender>btnNew</sender>
 
270
        <signal>clicked()</signal>
 
271
        <receiver>KSnapshotWidget</receiver>
 
272
        <slot>slotNewClicked()</slot>
 
273
    </connection>
 
274
    <connection>
 
275
        <sender>btnPrint</sender>
 
276
        <signal>clicked()</signal>
 
277
        <receiver>KSnapshotWidget</receiver>
 
278
        <slot>slotPrintClicked()</slot>
 
279
    </connection>
 
280
    <connection>
 
281
        <sender>btnSave</sender>
 
282
        <signal>clicked()</signal>
 
283
        <receiver>KSnapshotWidget</receiver>
 
284
        <slot>slotSaveClicked()</slot>
 
285
    </connection>
 
286
    <connection>
 
287
        <sender>lblImage</sender>
 
288
        <signal>startDrag()</signal>
 
289
        <receiver>KSnapshotWidget</receiver>
 
290
        <slot>slotStartDrag()</slot>
 
291
    </connection>
 
292
</connections>
 
293
<tabstops>
 
294
    <tabstop>btnNew</tabstop>
 
295
    <tabstop>btnSave</tabstop>
 
296
    <tabstop>btnPrint</tabstop>
 
297
    <tabstop>comboMode</tabstop>
 
298
    <tabstop>spinDelay</tabstop>
 
299
    <tabstop>cbIncludeDecorations</tabstop>
 
300
</tabstops>
 
301
<includes>
 
302
    <include location="global" impldecl="in implementation">kdialog.h</include>
 
303
    <include location="global" impldecl="in implementation">kiconloader.h</include>
 
304
    <include location="global" impldecl="in implementation">kglobalsettings.h</include>
 
305
    <include location="local" impldecl="in implementation">ksnapshotwidget.ui.h</include>
 
306
</includes>
 
307
<signals>
 
308
    <signal>newClicked()</signal>
 
309
    <signal>saveClicked()</signal>
 
310
    <signal>printClicked()</signal>
 
311
    <signal>startImageDrag()</signal>
 
312
</signals>
 
313
<slots>
 
314
    <slot access="protected" specifier="non virtual">slotModeChanged( int mode )</slot>
 
315
    <slot access="protected" specifier="non virtual">slotNewClicked()</slot>
 
316
    <slot access="protected" specifier="non virtual">slotSaveClicked()</slot>
 
317
    <slot access="protected" specifier="non virtual">slotPrintClicked()</slot>
 
318
    <slot access="protected" specifier="non virtual">slotStartDrag()</slot>
 
319
    <slot specifier="non virtual" returnType="int">previewWidth()</slot>
 
320
    <slot specifier="non virtual" returnType="int">previewHeight()</slot>
 
321
</slots>
 
322
<functions>
 
323
    <function specifier="non virtual">setPreview( const QPixmap &amp; pm )</function>
 
324
    <function specifier="non virtual">setDelay( int i )</function>
 
325
    <function specifier="non virtual">setIncludeDecorations( bool b )</function>
 
326
    <function specifier="non virtual">setMode( int mode )</function>
 
327
    <function specifier="non virtual" returnType="int">delay()</function>
 
328
    <function specifier="non virtual" returnType="bool">includeDecorations()</function>
 
329
    <function specifier="non virtual" returnType="int">mode()</function>
 
330
    <function specifier="non virtual" returnType="QPixmap">preview()</function>
 
331
</functions>
 
332
<pixmapfunction>SmallIconSet</pixmapfunction>
 
333
<layoutdefaults spacing="6" margin="11"/>
 
334
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
 
335
<includehints>
 
336
    <includehint>ksnapshotthumb.h</includehint>
 
337
</includehints>
 
338
</UI>