spectacle.kcfg 4.79 KB
Newer Older
David Redondo's avatar
David Redondo committed
1
2
3
4
5
6
7
8
9
10
11
<?xml version="1.0" encoding="UTF-8"?>

<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
                          http://www.kde.org/standards/kcfg/1.0/kcfg.xsd" >
<include>QStandardPaths</include>
<include>SpectacleCommon.h</include>
<kcfgfile />
<group name="General">
    <entry name="printKeyActionRunning" type="Enum">
12
        <label>What should happen if print key is pressed when Spectacle is already running</label>
David Redondo's avatar
David Redondo committed
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
        <choices>
        <choice name="TakeNewScreenshot"></choice>
        <choice name="StartNewInstance"></choice>
        <choice name="FocusWindow"></choice>
        </choices>
        <default>TakeNewScreenshot</default>
    </entry>
    <entry name="copyImageToClipboard" type ="Bool">
        <label>Copy screenshot automatically to the clipboard after it is taken</label>
        <default>false</default>
    </entry>
    <entry name="autoSaveImage" type="Bool">
        <label>Save screenshot automatically after it is taken</label>
        <default>false</default>
    </entry>
    <entry name="useLightMaskColour" type="Bool">
29
        <label>Whether to use a light color mask in the region selection dialog</label>
David Redondo's avatar
David Redondo committed
30
31
32
33
34
35
36
        <default>false</default>
    </entry>
    <entry name="showMagnifier" type="Bool">
        <label>Whether to show a magnifier in the region selection</label>
        <default>false</default>
    </entry>
    <entry name="useReleaseToCapture" type="Bool">
37
        <label>Whether the screenshot should be captured after selecting the region and releasing the mouse</label>
David Redondo's avatar
David Redondo committed
38
39
40
        <default>false</default>
    </entry>
     <entry name="rememberLastRectangularRegion" type="Bool">
Yuri Chornoivan's avatar
Yuri Chornoivan committed
41
        <label>Remember the last rectangular region</label>
David Redondo's avatar
David Redondo committed
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
        <default>true</default>
    </entry>
     <entry name="alwaysRememberRegion" type="Bool">
        <label>Remember the region across restarts</label>
        <default>false</default>
    </entry>
</group>
<group name="GuiConfig">
    <entry name="cropRegion" type="IntList">
        <label>The last used region the user selected</label>
        <default>0,0,0,0</default>
    </entry>
    <entry name="onClickChecked" type="Bool">
        <label>Take screenshot on click</label>
        <default>false</default>
    </entry>
    <entry name="includePointer" type="Bool">
        <label>Whether the mouse cursor is included in the screenshot</label>
Antonio Prcela's avatar
Antonio Prcela committed
60
        <default>false</default>
David Redondo's avatar
David Redondo committed
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
    </entry>
    <entry name="includeDecorations" type="Bool">
        <label>Whether the window decorations are included in the screenshot</label>
        <default>true</default>
    </entry>
    <entry name="transientOnly" type="Bool">
        <label>Only capture the current pop up menu</label>
        <default>false</default>
    </entry>
    <entry name="quitAfterSaveCopyExport" type="Bool">
        <label>Quit after saving or copying an image</label>
        <default>false</default>
    </entry>
    <entry name="captureDelay" type="Double">
        <label>Delay</label>
        <default>0</default>
    </entry>
    <entry name="captureMode" type="Enum">
        <choices name="Spectacle::CaptureMode"></choices>
        <default>Spectacle::CaptureMode::AllScreens</default>
    </entry>
</group>
<group name="Save">
    <entry name="defaultSaveLocation" type="Url">
        <label>Default filename</label>
        <default code="true">
            QUrl::fromLocalFile(QStandardPaths::writableLocation(QStandardPaths::PicturesLocation)+QLatin1Char('/')) 
        </default>
    </entry>
    <entry name="copySaveLocation" type="Bool">
        <label>Whether to copy the file path after saving to the clipboard</label>
        <default>true</default>
    </entry>
     <entry name="compressionQuality" type="UInt">
        <label>Compression quality for lossy file formats</label>
        <default>90</default>
    </entry>
     <entry name="defaultSaveImageFormat" type="String">
        <label>Default save image format</label>
        <default>PNG</default>
    </entry>
    <entry name="saveFilenameFormat" type="String">
        <label>The default filename used when saving</label>
        <default>Screenshot_%Y%M%D_%H%m%S</default>
    </entry>
    <entry name="lastSaveLocation" type="Url">
        <label>The path of the file saved last</label>
        <default code="true">defaultSaveLocation()</default>
    </entry>
    <entry name="lastSaveAsLocation" type="Url">
        <label>Last path used for "save as" action</label>
        <default code="true">defaultSaveLocation()</default>
    </entry>
    <entry name="lastUsedSaveMode" type="Enum">
        <label>The last used save mode</label>
        <choices>
        <choice name="SaveAs"></choice>
        <choice name="Save"></choice>
        </choices>
        <default>SaveAs</default>
    </entry>
</group>
</kcfg>