mirror of
https://bitbucket.org/smil3y/kde-extraapps.git
synced 2025-02-23 18:32:53 +00:00
269 lines
8.6 KiB
XML
269 lines
8.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>KSnapshotWidget</class>
|
|
<widget class="QWidget" name="KSnapshotWidget">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>436</width>
|
|
<height>374</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_2">
|
|
<item row="0" column="0">
|
|
<widget class="KSnapshotPreview" name="lblImage" native="true">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>200</width>
|
|
<height>130</height>
|
|
</size>
|
|
</property>
|
|
<property name="whatsThis">
|
|
<string>This is a preview of the current snapshot.
|
|
|
|
The image can be dragged to another application or document to copy the full screenshot there. Try it with the file manager.
|
|
|
|
You can also copy the image to the clipboard by pressing Ctrl+C.</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<item>
|
|
<spacer name="horizontalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<widget class="KPushButton" name="btnNew">
|
|
<property name="whatsThis">
|
|
<string>Click this button to take a new snapshot.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Take a &New Snapshot</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer_2">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="Line" name="line1">
|
|
<property name="frameShape">
|
|
<enum>QFrame::HLine</enum>
|
|
</property>
|
|
<property name="frameShadow">
|
|
<enum>QFrame::Sunken</enum>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0">
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="textLabel1">
|
|
<property name="text">
|
|
<string>Cap&ture mode:</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>comboMode</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QComboBox" name="comboMode">
|
|
<property name="whatsThis">
|
|
<string><qt>Using this menu, you can select from the six following snapshot modes:
|
|
<p>
|
|
<b>Full Screen</b> - captures the entire desktop.<br/>
|
|
<b>Window Under Cursor</b> - captures only the window (or menu) that is under the mouse cursor when the snapshot is taken.<br/>
|
|
<b>Rectangular Region</b> - captures only the rectangular 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/>
|
|
<b>Freehand Region</b> - captures arbitrary shapes that you specify. When taking a new snapshot in this mode you will be able to select any shape by dragging the mouse.<br/>
|
|
<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/>
|
|
<b>Current Screen</b> - if you have multiple screens, this captures the screen containing the mouse cursor when the snapshot is taken.
|
|
</p></qt></string>
|
|
</property>
|
|
<item>
|
|
<property name="text">
|
|
<string>Full Screen</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Window Under Cursor</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Rectangular Region</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Freehand Region</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Section of Window</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Current Screen</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="lblDelay">
|
|
<property name="text">
|
|
<string>Snapshot &delay:</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>spinDelay</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="KIntSpinBox" name="spinDelay">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Snapshot delay in seconds</string>
|
|
</property>
|
|
<property name="whatsThis">
|
|
<string><qt><p>
|
|
This is the number of seconds to wait after clicking the <i>New Snapshot</i> button before taking the snapshot.
|
|
</p><p>
|
|
This is very useful for getting windows, menus and other items on the screen set up just the way you want.
|
|
</p><p>
|
|
If <i>no delay</i> is set, the program will wait for a mouse click before taking a snapshot.
|
|
</p>
|
|
</qt></string>
|
|
</property>
|
|
<property name="specialValueText">
|
|
<string>No delay</string>
|
|
</property>
|
|
<property name="suffix">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="lblIncludeDecorations">
|
|
<property name="text">
|
|
<string>Include &window decorations:</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>cbIncludeDecorations</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="QCheckBox" name="cbIncludeDecorations">
|
|
<property name="whatsThis">
|
|
<string>When enabled, snapshot of a window will also include the window decorations</string>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0">
|
|
<widget class="QLabel" name="lblIncludePointer">
|
|
<property name="text">
|
|
<string>Include mouse &pointer:</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>cbIncludePointer</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="1">
|
|
<widget class="QCheckBox" name="cbIncludePointer">
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>KIntSpinBox</class>
|
|
<extends>QSpinBox</extends>
|
|
<header>knuminput.h</header>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>KPushButton</class>
|
|
<extends>QPushButton</extends>
|
|
<header>kpushbutton.h</header>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>KSnapshotPreview</class>
|
|
<extends>QWidget</extends>
|
|
<header>ksnapshotpreview.h</header>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<tabstops>
|
|
<tabstop>btnNew</tabstop>
|
|
<tabstop>comboMode</tabstop>
|
|
<tabstop>spinDelay</tabstop>
|
|
<tabstop>cbIncludeDecorations</tabstop>
|
|
</tabstops>
|
|
<includes>
|
|
<include location="local">kpushbutton.h</include>
|
|
</includes>
|
|
<connections/>
|
|
</ui>
|