1 <!DOCTYPE UI><UI version="3.0" stdsetdef="1">
2 <class>GroupSelectDlg</class>
3 <widget class="QDialog">
5 <cstring>GroupSelectDlg</cstring>
7 <property name="geometry">
15 <property name="windowTitle">
16 <string>Select Groups</string>
18 <property name="sizeGripEnabled">
22 <property name="name">
23 <cstring>unnamed</cstring>
25 <property name="margin">
28 <property name="spacing">
31 <widget class="QLayoutWidget" row="4" column="0" rowspan="1" colspan="2">
32 <property name="name">
33 <cstring>Layout1</cstring>
36 <property name="name">
37 <cstring>unnamed</cstring>
39 <property name="margin">
42 <property name="spacing">
46 <property name="name">
47 <cstring>Qt::Horizontal Spacing2</cstring>
49 <property name="orientation">
50 <enum>Qt::Horizontal</enum>
52 <property name="sizeType">
53 <enum>Expanding</enum>
55 <property name="sizeHint">
62 <widget class="QPushButton">
63 <property name="name">
64 <cstring>buttonOk</cstring>
66 <property name="text">
67 <string>&OK</string>
69 <property name="accel">
72 <property name="autoDefault">
75 <property name="default">
79 <widget class="QPushButton">
80 <property name="name">
81 <cstring>buttonCancel</cstring>
83 <property name="text">
84 <string>&Cancel</string>
86 <property name="accel">
89 <property name="autoDefault">
95 <widget class="QFrame" row="3" column="0" rowspan="1" colspan="2">
96 <property name="name">
97 <cstring>frame16</cstring>
99 <property name="frameShape">
102 <property name="frameShadow">
106 <spacer row="2" column="1">
107 <property name="name">
108 <cstring>spacer90</cstring>
110 <property name="orientation">
111 <enum>Qt::Vertical</enum>
113 <property name="sizeType">
114 <enum>Expanding</enum>
116 <property name="sizeHint">
123 <widget class="QGroupBox" row="0" column="0" rowspan="3" colspan="1">
124 <property name="name">
125 <cstring>groupBox87</cstring>
127 <property name="sizePolicy">
129 <hsizetype>7</hsizetype>
130 <vsizetype>5</vsizetype>
131 <horstretch>100</horstretch>
132 <verstretch>0</verstretch>
135 <property name="title">
136 <string>Selec&t Groups</string>
139 <property name="name">
140 <cstring>unnamed</cstring>
142 <property name="margin">
145 <property name="spacing">
148 <widget class="QListView">
150 <property name="text">
151 <string>Name</string>
153 <property name="clickable">
156 <property name="resizeable">
161 <property name="text">
164 <property name="clickable">
167 <property name="resizeable">
171 <property name="name">
172 <cstring>groupListView</cstring>
174 <property name="sizePolicy">
176 <hsizetype>7</hsizetype>
177 <vsizetype>7</vsizetype>
178 <horstretch>100</horstretch>
179 <verstretch>0</verstretch>
182 <property name="selectionMode">
183 <enum>Extended</enum>
188 <widget class="QButtonGroup" row="0" column="1">
189 <property name="name">
190 <cstring>accessBtnGrp</cstring>
192 <property name="sizePolicy">
194 <hsizetype>1</hsizetype>
195 <vsizetype>5</vsizetype>
196 <horstretch>0</horstretch>
197 <verstretch>0</verstretch>
200 <property name="title">
201 <string>Acc&ess</string>
204 <property name="name">
205 <cstring>unnamed</cstring>
207 <property name="margin">
210 <property name="spacing">
213 <widget class="QRadioButton">
214 <property name="name">
215 <cstring>defaultRadio</cstring>
217 <property name="sizePolicy">
219 <hsizetype>0</hsizetype>
220 <vsizetype>0</vsizetype>
221 <horstretch>0</horstretch>
222 <verstretch>0</verstretch>
225 <property name="text">
226 <string>&Default</string>
228 <property name="accel">
229 <number>8388676</number>
231 <property name="checked">
235 <widget class="QRadioButton">
236 <property name="name">
237 <cstring>readRadio</cstring>
239 <property name="sizePolicy">
241 <hsizetype>0</hsizetype>
242 <vsizetype>0</vsizetype>
243 <horstretch>0</horstretch>
244 <verstretch>0</verstretch>
247 <property name="text">
248 <string>&Read access</string>
250 <property name="accel">
251 <number>8388690</number>
254 <widget class="QRadioButton">
255 <property name="name">
256 <cstring>writeRadio</cstring>
258 <property name="sizePolicy">
260 <hsizetype>0</hsizetype>
261 <vsizetype>0</vsizetype>
262 <horstretch>0</horstretch>
263 <verstretch>0</verstretch>
266 <property name="text">
267 <string>&Write access</string>
269 <property name="accel">
270 <number>8388695</number>
273 <widget class="QRadioButton">
274 <property name="name">
275 <cstring>adminRadio</cstring>
277 <property name="sizePolicy">
279 <hsizetype>0</hsizetype>
280 <vsizetype>0</vsizetype>
281 <horstretch>0</horstretch>
282 <verstretch>0</verstretch>
285 <property name="text">
286 <string>&Admin access</string>
288 <property name="accel">
289 <number>8388673</number>
292 <widget class="QRadioButton">
293 <property name="name">
294 <cstring>noAccessRadio</cstring>
296 <property name="sizePolicy">
298 <hsizetype>0</hsizetype>
299 <vsizetype>0</vsizetype>
300 <horstretch>0</horstretch>
301 <verstretch>0</verstretch>
304 <property name="text">
305 <string>&No access at all</string>
307 <property name="accel">
308 <number>8388686</number>
313 <widget class="QButtonGroup" row="1" column="1">
314 <property name="name">
315 <cstring>kindBtnGrp</cstring>
317 <property name="title">
318 <string>&Kind of Group</string>
321 <property name="name">
322 <cstring>unnamed</cstring>
324 <property name="margin">
327 <property name="spacing">
330 <widget class="QRadioButton">
331 <property name="name">
332 <cstring>unixRadio</cstring>
334 <property name="sizePolicy">
336 <hsizetype>0</hsizetype>
337 <vsizetype>0</vsizetype>
338 <horstretch>0</horstretch>
339 <verstretch>0</verstretch>
342 <property name="text">
343 <string>&UNIX group</string>
345 <property name="accel">
346 <number>8388693</number>
348 <property name="checked">
351 <property name="buttonGroupId">
355 <widget class="QRadioButton">
356 <property name="name">
357 <cstring>nisRadio</cstring>
359 <property name="sizePolicy">
361 <hsizetype>0</hsizetype>
362 <vsizetype>0</vsizetype>
363 <horstretch>0</horstretch>
364 <verstretch>0</verstretch>
367 <property name="text">
368 <string>NI&S group</string>
370 <property name="accel">
371 <number>8388691</number>
373 <property name="checked">
376 <property name="buttonGroupId">
380 <widget class="QRadioButton">
381 <property name="name">
382 <cstring>bothRadio</cstring>
384 <property name="sizePolicy">
386 <hsizetype>0</hsizetype>
387 <vsizetype>0</vsizetype>
388 <horstretch>0</horstretch>
389 <verstretch>0</verstretch>
392 <property name="text">
393 <string>UNIX and NIS gr&oup</string>
395 <property name="accel">
396 <number>8388687</number>
398 <property name="checked">
408 <sender>buttonOk</sender>
409 <signal>clicked()</signal>
410 <receiver>GroupSelectDlg</receiver>
411 <slot>accept()</slot>
414 <sender>buttonCancel</sender>
415 <signal>clicked()</signal>
416 <receiver>GroupSelectDlg</receiver>
417 <slot>reject()</slot>
421 <tabstop>groupListView</tabstop>
422 <tabstop>defaultRadio</tabstop>
423 <tabstop>bothRadio</tabstop>
424 <tabstop>buttonOk</tabstop>
425 <tabstop>buttonCancel</tabstop>
428 <include location="local" impldecl="in declaration">qstringlist.h</include>
429 <include location="local" impldecl="in implementation">passwd.h</include>
430 <include location="local" impldecl="in implementation">groupselectdlg.ui.h</include>
433 <variable>QString groupKind;</variable>
434 <variable>int access;</variable>
435 <variable>QStringList selectedGroups;</variable>
438 <slot>init( const QStringList & specifiedGroups )</slot>
439 <slot access="protected">accept()</slot>
440 <slot returnType="QStringList">getSelectedGroups()</slot>
441 <slot returnType="int">getAccess()</slot>
442 <slot returnType="QString">getGroupKind()</slot>
444 <layoutdefaults spacing="6" margin="11"/>