summaryrefslogtreecommitdiffstats
path: root/kcontrol/smserver/smserverconfigdlg.ui
blob: e10f3a81383f8d3d61dcd6721bfa51ec971c4ebf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
<!DOCTYPE UI><UI version="3.2" stdsetdef="1">
<class>SMServerConfigDlg</class>
<widget class="TQWidget">
    <property name="name">
        <cstring>SMServerConfigDlg</cstring>
    </property>
    <property name="geometry">
        <rect>
            <x>0</x>
            <y>0</y>
            <width>325</width>
            <height>366</height>
        </rect>
    </property>
    <property name="caption">
        <string>Session Manager</string>
    </property>
    <property name="layoutMargin" stdset="0">
    </property>
    <vbox>
        <property name="name">
            <cstring>unnamed</cstring>
        </property>
        <property name="margin">
            <number>0</number>
        </property>
        <widget class="TQGroupBox">
            <property name="name">
                <cstring>topBox</cstring>
            </property>
            <property name="sizePolicy">
                <sizepolicy>
                    <hsizetype>5</hsizetype>
                    <vsizetype>0</vsizetype>
                    <horstretch>0</horstretch>
                    <verstretch>0</verstretch>
                </sizepolicy>
            </property>
            <property name="title">
                <string>General</string>
            </property>
            <vbox>
                <property name="name">
                    <cstring>unnamed</cstring>
                </property>
                <widget class="TQCheckBox">
                    <property name="name">
                        <cstring>confirmLogoutCheck</cstring>
                    </property>
                    <property name="text">
                        <string>Conf&amp;irm logout</string>
                    </property>
                    <property name="whatsThis" stdset="0">
                        <string>Check this option if you want the session manager to display a logout confirmation dialog box.</string>
                    </property>
                </widget>
                <widget class="TQCheckBox">
                    <property name="name">
                        <cstring>offerShutdownCheck</cstring>
                    </property>
                    <property name="text">
                        <string>O&amp;ffer shutdown options</string>
                    </property>
                </widget>
            </vbox>
        </widget>
        <widget class="TQButtonGroup">
            <property name="name">
                <cstring>loginGroup</cstring>
            </property>
            <property name="title">
                <string>On Login</string>
            </property>
            <property name="whatsThis" stdset="0">
                <string>&lt;ul&gt;
&lt;li&gt;&lt;b&gt;Restore previous session:&lt;/b&gt; Will save all applications running on exit and restore them when they next start up&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Restore manually saved session: &lt;/b&gt; Allows the session to be saved at any time via "Save Session" in the K-Menu. This means the currently started applications will reappear when they next start up.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Start with an empty session:&lt;/b&gt; Do not save anything. Will come up with an empty desktop on next start.&lt;/li&gt;
&lt;/ul&gt;</string>
            </property>
            <vbox>
                <property name="name">
                    <cstring>unnamed</cstring>
                </property>
                <widget class="TQRadioButton">
                    <property name="name">
                        <cstring>previousSessionRadio</cstring>
                    </property>
                    <property name="text">
                        <string>Restore &amp;previous session</string>
                    </property>
                </widget>
                <widget class="TQRadioButton">
                    <property name="name">
                        <cstring>savedSessionRadio</cstring>
                    </property>
                    <property name="text">
                        <string>Restore &amp;manually saved session</string>
                    </property>
                </widget>
                <widget class="TQRadioButton">
                    <property name="name">
                        <cstring>emptySessionRadio</cstring>
                    </property>
                    <property name="text">
                        <string>Start with an empty &amp;session</string>
                    </property>
                </widget>
            </vbox>
        </widget>
        <widget class="TQButtonGroup">
            <property name="name">
                <cstring>sdGroup</cstring>
            </property>
            <property name="title">
                <string>Default Shutdown Option</string>
            </property>
            <property name="whatsThis" stdset="0">
                <string>Here you can choose what should happen by default when you log out. This only has meaning, if you logged in through KDM.</string>
            </property>
            <vbox>
                <property name="name">
                    <cstring>unnamed</cstring>
                </property>
                <widget class="TQRadioButton">
                    <property name="name">
                        <cstring>logoutRadio</cstring>
                    </property>
                    <property name="text">
                        <string>&amp;End current session</string>
                    </property>
                </widget>
                <widget class="TQRadioButton">
                    <property name="name">
                        <cstring>haltRadio</cstring>
                    </property>
                    <property name="text">
                        <string>&amp;Turn off computer</string>
                    </property>
                </widget>
                <widget class="TQRadioButton">
                    <property name="name">
                        <cstring>rebootRadio</cstring>
                    </property>
                    <property name="text">
                        <string>&amp;Restart computer</string>
                    </property>
                </widget>
            </vbox>
        </widget>
        <widget class="TQButtonGroup">
            <property name="name">
                <cstring>advancedGroup</cstring>
            </property>
            <property name="title">
                <string>Advanced</string>
            </property>
            <vbox>
                <property name="name">
                    <cstring>unnamed</cstring>
                </property>
                <widget class="TQLabel">
                    <property name="name">
                        <cstring>textLabel1</cstring>
                    </property>
                    <property name="text">
                        <string>Applications to be e&amp;xcluded from sessions:</string>
                    </property>
                    <property name="buddy" stdset="0">
                        <cstring>excludeLineedit</cstring>
                    </property>
                </widget>
                <widget class="KLineEdit">
                    <property name="name">
                        <cstring>excludeLineedit</cstring>
                    </property>
                    <property name="whatsThis" stdset="0">
                        <string>Here you can enter a comma-separated list of applications that should not be saved in sessions, and therefore will not be started when restoring a session. For example 'xterm,xconsole'.</string>
                    </property>
                </widget>
            </vbox>
        </widget>
        <spacer>
            <property name="name">
                <cstring>bottomSpacer</cstring>
            </property>
            <property name="orientation">
                <enum>Vertical</enum>
            </property>
            <property name="sizeType">
                <enum>Expanding</enum>
            </property>
            <property name="tqsizeHint">
                <size>
                    <width>20</width>
                    <height>130</height>
                </size>
            </property>
        </spacer>
    </vbox>
</widget>
<connections>
    <connection>
        <sender>confirmLogoutCheck</sender>
        <signal>toggled(bool)</signal>
        <receiver>SMServerConfigDlg</receiver>
        <slot>configChanged()</slot>
    </connection>
    <connection>
        <sender>loginGroup</sender>
        <signal>clicked(int)</signal>
        <receiver>SMServerConfigDlg</receiver>
        <slot>configChanged()</slot>
    </connection>
    <connection>
        <sender>sdGroup</sender>
        <signal>clicked(int)</signal>
        <receiver>SMServerConfigDlg</receiver>
        <slot>configChanged()</slot>
    </connection>
    <connection>
        <sender>excludeLineedit</sender>
        <signal>textChanged(const QString&amp;)</signal>
        <receiver>SMServerConfigDlg</receiver>
        <slot>configChanged()</slot>
    </connection>
    <connection>
        <sender>offerShutdownCheck</sender>
        <signal>toggled(bool)</signal>
        <receiver>sdGroup</receiver>
        <slot>setEnabled(bool)</slot>
    </connection>
    <connection>
        <sender>offerShutdownCheck</sender>
        <signal>toggled(bool)</signal>
        <receiver>SMServerConfigDlg</receiver>
        <slot>configChanged()</slot>
    </connection>
</connections>
<includes>
    <include location="global" impldecl="in implementation">kdialog.h</include>
</includes>
<Q_SLOTS>
    <slot>configChanged()</slot>
</Q_SLOTS>
<layoutdefaults spacing="3" margin="6"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
</UI>