Changeset View
Changeset View
Standalone View
Standalone View
kcm/kcm.ui
1 | <?xml version="1.0" encoding="UTF-8"?> | 1 | <?xml version="1.0" encoding="UTF-8"?> | ||
---|---|---|---|---|---|
2 | <ui version="4.0"> | 2 | <ui version="4.0"> | ||
3 | <class>ScreenLockerKcmForm</class> | 3 | <class>ScreenLockerKcmForm</class> | ||
4 | <widget class="QWidget" name="ScreenLockerKcmForm"> | 4 | <widget class="QWidget" name="ScreenLockerKcmForm"> | ||
5 | <property name="geometry"> | 5 | <property name="geometry"> | ||
6 | <rect> | 6 | <rect> | ||
7 | <x>0</x> | 7 | <width>500</width> | ||
8 | <y>0</y> | 8 | <height>525</height> | ||
9 | <width>577</width> | | |||
10 | <height>544</height> | | |||
11 | </rect> | 9 | </rect> | ||
12 | </property> | 10 | </property> | ||
13 | <property name="sizePolicy"> | | |||
14 | <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> | | |||
15 | <horstretch>0</horstretch> | | |||
16 | <verstretch>0</verstretch> | | |||
17 | </sizepolicy> | | |||
18 | </property> | | |||
19 | <layout class="QVBoxLayout" name="verticalLayout"> | 11 | <layout class="QVBoxLayout" name="verticalLayout"> | ||
20 | <item> | 12 | <item> | ||
21 | <widget class="QTabWidget" name="tabWidget"> | 13 | <widget class="QTabWidget" name="tabWidget"> | ||
22 | <property name="currentIndex"> | 14 | <property name="currentIndex"> | ||
23 | <number>0</number> | 15 | <number>0</number> | ||
24 | </property> | 16 | </property> | ||
25 | <property name="documentMode"> | 17 | <property name="documentMode"> | ||
26 | <bool>true</bool> | 18 | <bool>true</bool> | ||
27 | </property> | 19 | </property> | ||
28 | <widget class="QWidget" name="tab"> | 20 | <widget class="QWidget" name="tab_1"> | ||
29 | <property name="sizePolicy"> | | |||
30 | <sizepolicy hsizetype="Expanding" vsizetype="MinimumExpanding"> | | |||
31 | <horstretch>0</horstretch> | | |||
32 | <verstretch>0</verstretch> | | |||
33 | </sizepolicy> | | |||
34 | </property> | | |||
35 | <attribute name="title"> | 21 | <attribute name="title"> | ||
36 | <string>Activation</string> | 22 | <string>Activation</string> | ||
37 | </attribute> | 23 | </attribute> | ||
38 | <layout class="QVBoxLayout" name="verticalLayout_6"> | 24 | <layout class="QFormLayout" name="formLayout_1"> | ||
39 | <item> | 25 | <property name="formAlignment"> | ||
40 | <layout class="QFormLayout" name="formLayout_2"> | 26 | <set>Qt::AlignHCenter|Qt::AlignTop</set> | ||
41 | <item row="0" column="0"> | | |||
42 | <widget class="QCheckBox" name="kcfg_Autolock"> | | |||
43 | <property name="sizePolicy"> | | |||
44 | <sizepolicy hsizetype="Minimum" vsizetype="MinimumExpanding"> | | |||
45 | <horstretch>0</horstretch> | | |||
46 | <verstretch>0</verstretch> | | |||
47 | </sizepolicy> | | |||
48 | </property> | 27 | </property> | ||
28 | <item row="0" column="0"> | ||||
29 | <widget class="QLabel" name="label_1"> | ||||
49 | <property name="text"> | 30 | <property name="text"> | ||
50 | <string>Lock screen automatically after:</string> | 31 | <string>Lock screen:</string> | ||
51 | </property> | 32 | </property> | ||
52 | </widget> | 33 | </widget> | ||
53 | </item> | 34 | </item> | ||
54 | <item row="0" column="1"> | 35 | <item row="0" column="1"> | ||
55 | <widget class="KPluralHandlingSpinBox" name="kcfg_Timeout"> | 36 | <layout class="QHBoxLayout" name="horizontalLayout_1"> | ||
56 | <property name="sizePolicy"> | 37 | <property name="spacing"> | ||
57 | <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> | 38 | <number>0</number> | ||
58 | <horstretch>0</horstretch> | | |||
59 | <verstretch>0</verstretch> | | |||
60 | </sizepolicy> | | |||
61 | </property> | 39 | </property> | ||
40 | <item> | ||||
41 | <widget class="QCheckBox" name="kcfg_Autolock"> | ||||
42 | <property name="text"> | ||||
43 | <string>Automatically after:</string> | ||||
ngraham: Capitalize Automatically | |||||
Ok, I just followed the style from D21610, if it's wrong then it needs to be corrected ther too. GB_2: Ok, I just followed the style from D21610, if it's wrong then it needs to be corrected ther too. | |||||
That was kind of an exception for just that item because it's written as a multi-part sentence. You can see in the checkbox below it that it used the normal capitalization style. ngraham: That was kind of an exception for just that item because it's written as a multi-part sentence. | |||||
44 | </property> | ||||
45 | </widget> | ||||
46 | </item> | ||||
47 | <item> | ||||
48 | <widget class="KPluralHandlingSpinBox" name="kcfg_Timeout"> | ||||
62 | <property name="specialValueText"> | 49 | <property name="specialValueText"> | ||
63 | <string notr="true"/> | 50 | <string notr="true"/> | ||
64 | </property> | 51 | </property> | ||
65 | <property name="minimum"> | 52 | <property name="minimum"> | ||
66 | <number>1</number> | 53 | <number>1</number> | ||
67 | </property> | 54 | </property> | ||
68 | </widget> | 55 | </widget> | ||
69 | </item> | 56 | </item> | ||
70 | <item row="1" column="0"> | 57 | </layout> | ||
58 | </item> | ||||
59 | <item row="1" column="1"> | ||||
60 | <widget class="QCheckBox" name="kcfg_LockOnResume"> | ||||
61 | <property name="toolTip"> | ||||
62 | <string>Lock screen when waking up from suspension</string> | ||||
63 | </property> | ||||
64 | <property name="text"> | ||||
65 | <string>On resume</string> | ||||
ngraham: Capitalize On | |||||
66 | </property> | ||||
67 | </widget> | ||||
68 | </item> | ||||
69 | <item row="2" column="0"> | ||||
71 | <widget class="QLabel" name="label_2"> | 70 | <widget class="QLabel" name="label_2"> | ||
72 | <property name="text"> | 71 | <property name="text"> | ||
73 | <string>Re&quire password after locking:</string> | 72 | <string>Allow unlocking without password for:</string> | ||
While we're at it, I might rephrase this to say, "Allow unlocking without a password during the first" ngraham: While we're at it, I might rephrase this to say, "Allow unlocking without a password during the… | |||||
GB_2: Ok | |||||
74 | </property> | 73 | </property> | ||
75 | <property name="buddy"> | 74 | <property name="buddy"> | ||
76 | <cstring>kcfg_LockGrace</cstring> | 75 | <cstring>kcfg_LockGrace</cstring> | ||
77 | </property> | 76 | </property> | ||
78 | </widget> | 77 | </widget> | ||
79 | </item> | 78 | </item> | ||
80 | <item row="1" column="1"> | 79 | <item row="2" column="1"> | ||
81 | <widget class="KPluralHandlingSpinBox" name="kcfg_LockGrace"> | 80 | <widget class="KPluralHandlingSpinBox" name="kcfg_LockGrace"> | ||
82 | <property name="sizePolicy"> | | |||
83 | <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> | | |||
84 | <horstretch>0</horstretch> | | |||
85 | <verstretch>0</verstretch> | | |||
86 | </sizepolicy> | | |||
87 | </property> | | |||
88 | <property name="specialValueText"> | 81 | <property name="specialValueText"> | ||
89 | <string>Immediately</string> | 82 | <string>Immediately</string> | ||
90 | </property> | 83 | </property> | ||
91 | <property name="maximum"> | 84 | <property name="maximum"> | ||
92 | <number>300</number> | 85 | <number>300</number> | ||
93 | </property> | 86 | </property> | ||
94 | <property name="singleStep"> | 87 | <property name="singleStep"> | ||
95 | <number>10</number> | 88 | <number>10</number> | ||
96 | </property> | 89 | </property> | ||
97 | </widget> | 90 | </widget> | ||
98 | </item> | 91 | </item> | ||
99 | <item row="5" column="0"> | 92 | <item row="3" column="0"> | ||
100 | <widget class="QLabel" name="label_5"> | 93 | <widget class="QLabel" name="label_3"> | ||
101 | <property name="toolTip"> | | |||
102 | <string>Lock screen when waking up from suspension</string> | | |||
103 | </property> | | |||
104 | <property name="text"> | | |||
105 | <string>&Lock screen on resume:</string> | | |||
106 | </property> | | |||
107 | <property name="buddy"> | | |||
108 | <cstring>kcfg_LockOnResume</cstring> | | |||
109 | </property> | | |||
110 | </widget> | | |||
111 | </item> | | |||
112 | <item row="5" column="1"> | | |||
113 | <widget class="QCheckBox" name="kcfg_LockOnResume"> | | |||
114 | <property name="toolTip"> | | |||
115 | <string>Lock screen when waking up from suspension</string> | | |||
116 | </property> | | |||
117 | <property name="text"> | | |||
118 | <string/> | | |||
119 | </property> | | |||
120 | </widget> | | |||
121 | </item> | | |||
122 | <item row="2" column="1"> | | |||
123 | <widget class="KKeySequenceWidget" name="lockscreenShortcut"/> | | |||
124 | </item> | | |||
125 | <item row="2" column="0"> | | |||
126 | <widget class="QLabel" name="label_7"> | | |||
127 | <property name="toolTip"> | 94 | <property name="toolTip"> | ||
128 | <string>The global keyboard shortcut to lock the screen.</string> | 95 | <string>The global keyboard shortcut to lock the screen.</string> | ||
129 | </property> | 96 | </property> | ||
130 | <property name="text"> | 97 | <property name="text"> | ||
131 | <string>Keyboard shortcut:</string> | 98 | <string>Keyboard shortcut:</string> | ||
132 | </property> | 99 | </property> | ||
133 | </widget> | 100 | </widget> | ||
134 | </item> | 101 | </item> | ||
135 | </layout> | 102 | <item row="3" column="1"> | ||
103 | <widget class="KKeySequenceWidget" name="lockscreenShortcut" native="true"/> | ||||
136 | </item> | 104 | </item> | ||
137 | </layout> | 105 | </layout> | ||
138 | </widget> | 106 | </widget> | ||
139 | <widget class="QWidget" name="tab_2"> | 107 | <widget class="QWidget" name="tab_2"> | ||
140 | <attribute name="title"> | 108 | <attribute name="title"> | ||
141 | <string>Appearance</string> | 109 | <string>Appearance</string> | ||
142 | </attribute> | 110 | </attribute> | ||
143 | <layout class="QVBoxLayout" name="verticalLayout_5"> | 111 | <layout class="QVBoxLayout" name="verticalLayout_5"> | ||
Show All 12 Lines | 120 | <property name="minimumSize"> | |||
156 | </size> | 124 | </size> | ||
157 | </property> | 125 | </property> | ||
158 | <property name="resizeMode"> | 126 | <property name="resizeMode"> | ||
159 | <enum>QQuickWidget::SizeViewToRootObject</enum> | 127 | <enum>QQuickWidget::SizeViewToRootObject</enum> | ||
160 | </property> | 128 | </property> | ||
161 | </widget> | 129 | </widget> | ||
162 | </item> | 130 | </item> | ||
163 | <item> | 131 | <item> | ||
164 | <layout class="QVBoxLayout" name="verticalLayout_2"> | 132 | <layout class="QVBoxLayout" name="verticalLayout_1"> | ||
165 | <item> | 133 | <item> | ||
166 | <layout class="QFormLayout" name="formLayout_3"> | 134 | <layout class="QFormLayout" name="formLayout_2"> | ||
167 | <property name="fieldGrowthPolicy"> | 135 | <property name="fieldGrowthPolicy"> | ||
168 | <enum>QFormLayout::FieldsStayAtSizeHint</enum> | 136 | <enum>QFormLayout::FieldsStayAtSizeHint</enum> | ||
169 | </property> | 137 | </property> | ||
170 | <property name="formAlignment"> | 138 | <property name="formAlignment"> | ||
171 | <set>Qt::AlignHCenter|Qt::AlignTop</set> | 139 | <set>Qt::AlignHCenter|Qt::AlignTop</set> | ||
172 | </property> | 140 | </property> | ||
173 | <item row="1" column="0"> | 141 | <item row="1" column="0"> | ||
174 | <widget class="QLabel" name="label"> | 142 | <widget class="QLabel" name="label_4"> | ||
175 | <property name="text"> | 143 | <property name="text"> | ||
176 | <string>Wallpaper &Type:</string> | 144 | <string>Wallpaper &type:</string> | ||
177 | </property> | 145 | </property> | ||
178 | <property name="buddy"> | 146 | <property name="buddy"> | ||
179 | <cstring>wallpaperCombo</cstring> | 147 | <cstring>wallpaperCombo</cstring> | ||
180 | </property> | 148 | </property> | ||
181 | </widget> | 149 | </widget> | ||
182 | </item> | 150 | </item> | ||
183 | <item row="1" column="1"> | 151 | <item row="1" column="1"> | ||
184 | <widget class="QComboBox" name="wallpaperCombo"/> | 152 | <widget class="QComboBox" name="wallpaperCombo"/> | ||
Show All 18 Lines | |||||
203 | </layout> | 171 | </layout> | ||
204 | </widget> | 172 | </widget> | ||
205 | </widget> | 173 | </widget> | ||
206 | </item> | 174 | </item> | ||
207 | </layout> | 175 | </layout> | ||
208 | </widget> | 176 | </widget> | ||
209 | <customwidgets> | 177 | <customwidgets> | ||
210 | <customwidget> | 178 | <customwidget> | ||
179 | <class>QQuickWidget</class> | ||||
180 | <extends>QWidget</extends> | ||||
181 | <header location="global">QtQuickWidgets/QQuickWidget</header> | ||||
182 | </customwidget> | ||||
183 | <customwidget> | ||||
211 | <class>KKeySequenceWidget</class> | 184 | <class>KKeySequenceWidget</class> | ||
212 | <extends>QWidget</extends> | 185 | <extends>QWidget</extends> | ||
213 | <header>kkeysequencewidget.h</header> | 186 | <header>kkeysequencewidget.h</header> | ||
214 | </customwidget> | 187 | </customwidget> | ||
215 | <customwidget> | 188 | <customwidget> | ||
216 | <class>KPluralHandlingSpinBox</class> | 189 | <class>KPluralHandlingSpinBox</class> | ||
217 | <extends>QSpinBox</extends> | 190 | <extends>QSpinBox</extends> | ||
218 | <header>kpluralhandlingspinbox.h</header> | 191 | <header>kpluralhandlingspinbox.h</header> | ||
219 | </customwidget> | 192 | </customwidget> | ||
220 | <customwidget> | | |||
221 | <class>QQuickWidget</class> | | |||
222 | <extends>QWidget</extends> | | |||
223 | <header>QtQuickWidgets/QQuickWidget</header> | | |||
224 | </customwidget> | | |||
225 | </customwidgets> | 193 | </customwidgets> | ||
226 | <resources/> | 194 | <resources/> | ||
227 | <connections/> | 195 | <connections> | ||
196 | <connection> | ||||
197 | <sender>kcfg_Autolock</sender> | ||||
198 | <signal>toggled(bool)</signal> | ||||
199 | <receiver>kcfg_Timeout</receiver> | ||||
200 | <slot>setEnabled(bool)</slot> | ||||
201 | </connection> | ||||
202 | </connections> | ||||
228 | </ui> | 203 | </ui> |
Capitalize Automatically