1<?xml version="1.0" encoding="UTF-8"?>
2<ui version="4.0">
3 <author>
4SPDX-FileCopyrightText: 2021 S. MANKOWSKI stephane@mankowski.fr
5SPDX-FileCopyrightText: 2021 G. DE BURE support@mankowski.fr
6SPDX-License-Identifier: GPL-3.0-or-later
7 </author>
8 <class>skgfileplugin_pref</class>
9 <widget class="QWidget" name="skgfileplugin_pref">
10  <property name="geometry">
11   <rect>
12    <x>0</x>
13    <y>0</y>
14    <width>520</width>
15    <height>435</height>
16   </rect>
17  </property>
18  <layout class="QGridLayout" name="gridLayout_2">
19   <item row="0" column="0">
20    <widget class="QCheckBox" name="kcfg_openlastfile">
21     <property name="text">
22      <string>Open last file on startup</string>
23     </property>
24     <property name="checked">
25      <bool>true</bool>
26     </property>
27    </widget>
28   </item>
29   <item row="1" column="0">
30    <widget class="QCheckBox" name="kcfg_saveonclose">
31     <property name="text">
32      <string>Save on close</string>
33     </property>
34    </widget>
35   </item>
36   <item row="2" column="0">
37    <widget class="QCheckBox" name="kcfg_storeInKdeWallet">
38     <property name="text">
39      <string>Store passwords in KDE Wallet:</string>
40     </property>
41    </widget>
42   </item>
43   <item row="3" column="0" colspan="3">
44    <widget class="QGroupBox" name="groupBox">
45     <property name="title">
46      <string>Backup on save</string>
47     </property>
48     <layout class="QGridLayout" name="gridLayout">
49      <property name="spacing">
50       <number>2</number>
51      </property>
52      <item row="0" column="0" colspan="2">
53       <widget class="QCheckBox" name="kcfg_backup_enabled">
54        <property name="text">
55         <string>Enable backup</string>
56        </property>
57        <property name="checked">
58         <bool>true</bool>
59        </property>
60       </widget>
61      </item>
62      <item row="1" column="0">
63       <widget class="QLabel" name="label">
64        <property name="sizePolicy">
65         <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
66          <horstretch>0</horstretch>
67          <verstretch>0</verstretch>
68         </sizepolicy>
69        </property>
70        <property name="text">
71         <string>Prefix:</string>
72        </property>
73        <property name="alignment">
74         <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
75        </property>
76        <property name="buddy">
77         <cstring>kcfg_prefix</cstring>
78        </property>
79       </widget>
80      </item>
81      <item row="1" column="1">
82       <widget class="SKGComboBox" name="kcfg_prefix">
83        <property name="editable">
84         <bool>true</bool>
85        </property>
86       </widget>
87      </item>
88      <item row="2" column="0">
89       <widget class="QLabel" name="label_2">
90        <property name="sizePolicy">
91         <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
92          <horstretch>0</horstretch>
93          <verstretch>0</verstretch>
94         </sizepolicy>
95        </property>
96        <property name="text">
97         <string>Suffix:</string>
98        </property>
99        <property name="alignment">
100         <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
101        </property>
102        <property name="buddy">
103         <cstring>kcfg_suffix</cstring>
104        </property>
105       </widget>
106      </item>
107      <item row="2" column="1">
108       <widget class="SKGComboBox" name="kcfg_suffix">
109        <property name="editable">
110         <bool>true</bool>
111        </property>
112       </widget>
113      </item>
114      <item row="1" column="2">
115       <spacer name="horizontalSpacer">
116        <property name="orientation">
117         <enum>Qt::Horizontal</enum>
118        </property>
119        <property name="sizeHint" stdset="0">
120         <size>
121          <width>40</width>
122          <height>20</height>
123         </size>
124        </property>
125       </spacer>
126      </item>
127      <item row="3" column="0" colspan="3">
128       <widget class="QLabel" name="label_3">
129        <property name="text">
130         <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;The following key words can be used in prefix and suffix:&lt;br/&gt;&amp;lt;DATE&amp;gt;: to add the current date in the backuped file&lt;br/&gt;&amp;lt;TIME&amp;gt;: to add the current time in the backuped file&lt;/p&gt;&lt;p&gt;By default, the backup is stored in the same directory than the saved file.&lt;br/&gt;But, you can force the backup directory by setting an absolute path in the prefix.&lt;br/&gt;(example: /backup/)&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
131        </property>
132       </widget>
133      </item>
134     </layout>
135    </widget>
136   </item>
137   <item row="4" column="0">
138    <spacer name="verticalSpacer">
139     <property name="orientation">
140      <enum>Qt::Vertical</enum>
141     </property>
142     <property name="sizeHint" stdset="0">
143      <size>
144       <width>20</width>
145       <height>16</height>
146      </size>
147     </property>
148    </spacer>
149   </item>
150   <item row="2" column="1">
151    <widget class="SKGComboBox" name="kcfg_selectedWallet"/>
152   </item>
153   <item row="2" column="2">
154    <spacer name="horizontalSpacer_2">
155     <property name="orientation">
156      <enum>Qt::Horizontal</enum>
157     </property>
158     <property name="sizeHint" stdset="0">
159      <size>
160       <width>40</width>
161       <height>20</height>
162      </size>
163     </property>
164    </spacer>
165   </item>
166  </layout>
167 </widget>
168 <customwidgets>
169  <customwidget>
170   <class>SKGComboBox</class>
171   <extends>QComboBox</extends>
172   <header>skgcombobox.h</header>
173  </customwidget>
174 </customwidgets>
175 <resources/>
176 <connections/>
177</ui>
178