~ubuntu-branches/ubuntu/lucid/mumble/lucid-security

« back to all changes in this revision

Viewing changes to src/mumble11x/ACLEditor.ui

  • Committer: Bazaar Package Importer
  • Author(s): Thorvald Natvig, Patrick Matthäi, Thorvald Natvig
  • Date: 2009-11-11 23:33:38 UTC
  • mfrom: (9.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20091111233338-yrojdl25rlm0f2zy
Tags: 1.2.0~beta1-1
[ Patrick Matthäi ]
* Do not build with missing libcap2-dev on kfreebsd-*.
* Merge 1.1.8-3 and 1.1.8-4 changelog.
* Merge remaining changes from the 1.1.8 branch.
* Also install the menu icon for the mumble-11x package.
* Extend the long description of the mumble-11x package. Thanks lintian.

[ Thorvald Natvig ]
* New upstream beta release.
* Update get-orig-source.
* Update dependencies.
* Let the qmake script find the celt/speex libraries on its own.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<ui version="4.0" >
 
2
 <class>ACLEditor</class>
 
3
 <widget class="QDialog" name="ACLEditor" >
 
4
  <property name="geometry" >
 
5
   <rect>
 
6
    <x>0</x>
 
7
    <y>0</y>
 
8
    <width>607</width>
 
9
    <height>509</height>
 
10
   </rect>
 
11
  </property>
 
12
  <property name="windowTitle" >
 
13
   <string>Dialog</string>
 
14
  </property>
 
15
  <layout class="QVBoxLayout" >
 
16
   <item>
 
17
    <widget class="QTabWidget" name="qtwTab" >
 
18
     <property name="currentIndex" >
 
19
      <number>1</number>
 
20
     </property>
 
21
     <widget class="QWidget" name="tab" >
 
22
      <attribute name="title" >
 
23
       <string>&amp;Groups</string>
 
24
      </attribute>
 
25
      <layout class="QVBoxLayout" >
 
26
       <item>
 
27
        <widget class="QGroupBox" name="qgbGroups" >
 
28
         <property name="title" >
 
29
          <string>Group</string>
 
30
         </property>
 
31
         <layout class="QHBoxLayout" >
 
32
          <item>
 
33
           <widget class="QComboBox" name="qcbGroupList" >
 
34
            <property name="toolTip" >
 
35
             <string>List of groups</string>
 
36
            </property>
 
37
            <property name="whatsThis" >
 
38
             <string>This is all the groups currently defined for the channel. To create a new group, just type in the name and press enter.</string>
 
39
            </property>
 
40
            <property name="editable" >
 
41
             <bool>true</bool>
 
42
            </property>
 
43
           </widget>
 
44
          </item>
 
45
          <item>
 
46
           <widget class="QPushButton" name="qpbGroupRemove" >
 
47
            <property name="toolTip" >
 
48
             <string>Remove selected group</string>
 
49
            </property>
 
50
            <property name="whatsThis" >
 
51
             <string>This removes the currently selected group. If the group was inherited, it will not be removed from the list, but all local information about the group will be cleared.</string>
 
52
            </property>
 
53
            <property name="text" >
 
54
             <string>Remove</string>
 
55
            </property>
 
56
            <property name="autoDefault" >
 
57
             <bool>false</bool>
 
58
            </property>
 
59
           </widget>
 
60
          </item>
 
61
          <item>
 
62
           <widget class="QCheckBox" name="qcbGroupInherit" >
 
63
            <property name="toolTip" >
 
64
             <string>Inherit group members from parent</string>
 
65
            </property>
 
66
            <property name="whatsThis" >
 
67
             <string>This inherits all the members in the group from the parent, if the group is marked as &lt;i>Inheritable&lt;/i> in the parent channel.</string>
 
68
            </property>
 
69
            <property name="text" >
 
70
             <string>Inherit</string>
 
71
            </property>
 
72
           </widget>
 
73
          </item>
 
74
          <item>
 
75
           <widget class="QCheckBox" name="qcbGroupInheritable" >
 
76
            <property name="toolTip" >
 
77
             <string>Make group inheritable to sub-channels</string>
 
78
            </property>
 
79
            <property name="whatsThis" >
 
80
             <string>This makes this group inheritable to sub-channels. If the group is non-inheritable, sub-channels are still free to create a new group with the same name.</string>
 
81
            </property>
 
82
            <property name="text" >
 
83
             <string>Inheritable</string>
 
84
            </property>
 
85
           </widget>
 
86
          </item>
 
87
          <item>
 
88
           <widget class="QCheckBox" name="qcbGroupInherited" >
 
89
            <property name="enabled" >
 
90
             <bool>false</bool>
 
91
            </property>
 
92
            <property name="toolTip" >
 
93
             <string>Group was inherited from parent channel</string>
 
94
            </property>
 
95
            <property name="whatsThis" >
 
96
             <string>This indicates that the group was inherited from the parent channel. You cannot edit this flag, it's just for information.</string>
 
97
            </property>
 
98
            <property name="text" >
 
99
             <string>Inherited</string>
 
100
            </property>
 
101
           </widget>
 
102
          </item>
 
103
         </layout>
 
104
        </widget>
 
105
       </item>
 
106
       <item>
 
107
        <widget class="QGroupBox" name="qgbGroupMembers" >
 
108
         <property name="title" >
 
109
          <string>Members</string>
 
110
         </property>
 
111
         <layout class="QGridLayout" >
 
112
          <item row="0" column="0" >
 
113
           <widget class="QLabel" name="label" >
 
114
            <property name="text" >
 
115
             <string>Add</string>
 
116
            </property>
 
117
            <property name="buddy" >
 
118
             <cstring>qlwGroupAdd</cstring>
 
119
            </property>
 
120
           </widget>
 
121
          </item>
 
122
          <item row="0" column="2" >
 
123
           <widget class="QLabel" name="label_2" >
 
124
            <property name="text" >
 
125
             <string>Remove</string>
 
126
            </property>
 
127
            <property name="buddy" >
 
128
             <cstring>qlwGroupRemove</cstring>
 
129
            </property>
 
130
           </widget>
 
131
          </item>
 
132
          <item row="0" column="4" >
 
133
           <widget class="QLabel" name="label_3" >
 
134
            <property name="text" >
 
135
             <string>Inherit</string>
 
136
            </property>
 
137
            <property name="buddy" >
 
138
             <cstring>qlwGroupInherit</cstring>
 
139
            </property>
 
140
           </widget>
 
141
          </item>
 
142
          <item row="1" column="0" colspan="2" >
 
143
           <widget class="QListWidget" name="qlwGroupAdd" />
 
144
          </item>
 
145
          <item row="1" column="2" colspan="2" >
 
146
           <widget class="QListWidget" name="qlwGroupRemove" />
 
147
          </item>
 
148
          <item rowspan="2" row="1" column="4" >
 
149
           <widget class="QListWidget" name="qlwGroupInherit" />
 
150
          </item>
 
151
          <item row="3" column="4" >
 
152
           <widget class="QPushButton" name="qpbGroupInheritRemove" >
 
153
            <property name="text" >
 
154
             <string>Add to Remove</string>
 
155
            </property>
 
156
           </widget>
 
157
          </item>
 
158
          <item row="3" column="2" colspan="2" >
 
159
           <widget class="QPushButton" name="qpbGroupRemoveRemove" >
 
160
            <property name="text" >
 
161
             <string>Remove</string>
 
162
            </property>
 
163
           </widget>
 
164
          </item>
 
165
          <item row="3" column="0" colspan="2" >
 
166
           <widget class="QPushButton" name="qpbGroupAddRemove" >
 
167
            <property name="text" >
 
168
             <string>Remove</string>
 
169
            </property>
 
170
           </widget>
 
171
          </item>
 
172
          <item row="2" column="0" >
 
173
           <widget class="QLineEdit" name="qleGroupAdd" >
 
174
            <property name="toolTip" >
 
175
             <string>Add member to group</string>
 
176
            </property>
 
177
            <property name="whatsThis" >
 
178
             <string>Type in the name of a player you wish to add to the group and click Add.</string>
 
179
            </property>
 
180
           </widget>
 
181
          </item>
 
182
          <item row="2" column="2" >
 
183
           <widget class="QLineEdit" name="qleGroupRemove" >
 
184
            <property name="toolTip" >
 
185
             <string>Remove member from group</string>
 
186
            </property>
 
187
            <property name="whatsThis" >
 
188
             <string>Type in the name of a player you wish to remove from the group and click Add.</string>
 
189
            </property>
 
190
           </widget>
 
191
          </item>
 
192
          <item row="2" column="1" >
 
193
           <widget class="QPushButton" name="qpbGroupAddAdd" >
 
194
            <property name="text" >
 
195
             <string>Add</string>
 
196
            </property>
 
197
           </widget>
 
198
          </item>
 
199
          <item row="2" column="3" >
 
200
           <widget class="QPushButton" name="qpbGroupRemoveAdd" >
 
201
            <property name="text" >
 
202
             <string>Add</string>
 
203
            </property>
 
204
           </widget>
 
205
          </item>
 
206
         </layout>
 
207
        </widget>
 
208
       </item>
 
209
      </layout>
 
210
     </widget>
 
211
     <widget class="QWidget" name="tab_2" >
 
212
      <attribute name="title" >
 
213
       <string>&amp;ACL</string>
 
214
      </attribute>
 
215
      <layout class="QGridLayout" >
 
216
       <item row="0" column="0" colspan="2" >
 
217
        <widget class="QGroupBox" name="qgbACLs" >
 
218
         <property name="title" >
 
219
          <string>Active ACLs</string>
 
220
         </property>
 
221
         <layout class="QGridLayout" >
 
222
          <item rowspan="2" row="0" column="0" colspan="5" >
 
223
           <widget class="QListWidget" name="qlwACLs" >
 
224
            <property name="toolTip" >
 
225
             <string>List of entries</string>
 
226
            </property>
 
227
            <property name="whatsThis" >
 
228
             <string>This shows all the entries active on this channel. Entries inherited from parent channels will be show in italics.&lt;br />ACLs are evaluated top to bottom, meaning priority increases as you move down the list.</string>
 
229
            </property>
 
230
           </widget>
 
231
          </item>
 
232
          <item row="2" column="0" >
 
233
           <widget class="QCheckBox" name="qcbACLInherit" >
 
234
            <property name="toolTip" >
 
235
             <string>Inherit ACL of parent?</string>
 
236
            </property>
 
237
            <property name="whatsThis" >
 
238
             <string>This sets whether or not the ACL up the chain of parent channels are applied to this object. Only those entries that are marked in the parent as "Apply to sub-channels" will be inherited.</string>
 
239
            </property>
 
240
            <property name="text" >
 
241
             <string>Inherit ACLs</string>
 
242
            </property>
 
243
           </widget>
 
244
          </item>
 
245
          <item row="2" column="1" >
 
246
           <widget class="QPushButton" name="qpbACLUp" >
 
247
            <property name="toolTip" >
 
248
             <string>Move entry up</string>
 
249
            </property>
 
250
            <property name="whatsThis" >
 
251
             <string>This moves the entry up in the list. As entries are evaluated in order, this may change the effective permissions of users. You cannot move an entry above an inherited entry, if you really need that you'll have to duplicate the inherited entry.</string>
 
252
            </property>
 
253
            <property name="text" >
 
254
             <string>&amp;Up</string>
 
255
            </property>
 
256
            <property name="autoDefault" >
 
257
             <bool>false</bool>
 
258
            </property>
 
259
           </widget>
 
260
          </item>
 
261
          <item row="2" column="2" >
 
262
           <widget class="QPushButton" name="qpbACLDown" >
 
263
            <property name="toolTip" >
 
264
             <string>Move entry down</string>
 
265
            </property>
 
266
            <property name="whatsThis" >
 
267
             <string>This moves the entry down in the list. As entries are evaluated in order, this may change the effective permissions of users.</string>
 
268
            </property>
 
269
            <property name="text" >
 
270
             <string>&amp;Down</string>
 
271
            </property>
 
272
            <property name="autoDefault" >
 
273
             <bool>false</bool>
 
274
            </property>
 
275
           </widget>
 
276
          </item>
 
277
          <item row="2" column="3" >
 
278
           <widget class="QPushButton" name="qpbACLAdd" >
 
279
            <property name="toolTip" >
 
280
             <string>Add new entry</string>
 
281
            </property>
 
282
            <property name="whatsThis" >
 
283
             <string>This adds a new entry, initially set with no permissions and applying to all.</string>
 
284
            </property>
 
285
            <property name="text" >
 
286
             <string>&amp;Add</string>
 
287
            </property>
 
288
            <property name="autoDefault" >
 
289
             <bool>false</bool>
 
290
            </property>
 
291
           </widget>
 
292
          </item>
 
293
          <item row="2" column="4" >
 
294
           <widget class="QPushButton" name="qpbACLRemove" >
 
295
            <property name="toolTip" >
 
296
             <string>Remove entry</string>
 
297
            </property>
 
298
            <property name="whatsThis" >
 
299
             <string>This removes the currently selected entry.</string>
 
300
            </property>
 
301
            <property name="text" >
 
302
             <string>&amp;Remove</string>
 
303
            </property>
 
304
            <property name="autoDefault" >
 
305
             <bool>false</bool>
 
306
            </property>
 
307
           </widget>
 
308
          </item>
 
309
         </layout>
 
310
        </widget>
 
311
       </item>
 
312
       <item row="1" column="0" >
 
313
        <widget class="QGroupBox" name="qgbACLapply" >
 
314
         <property name="title" >
 
315
          <string>Context</string>
 
316
         </property>
 
317
         <layout class="QVBoxLayout" >
 
318
          <item>
 
319
           <widget class="QCheckBox" name="qcbACLApplyHere" >
 
320
            <property name="toolTip" >
 
321
             <string>Entry should apply to this channel.</string>
 
322
            </property>
 
323
            <property name="whatsThis" >
 
324
             <string>This makes the entry apply to this channel.</string>
 
325
            </property>
 
326
            <property name="text" >
 
327
             <string>Applies to this channel</string>
 
328
            </property>
 
329
           </widget>
 
330
          </item>
 
331
          <item>
 
332
           <widget class="QCheckBox" name="qcbACLApplySubs" >
 
333
            <property name="toolTip" >
 
334
             <string>Entry should apply to sub-channels.</string>
 
335
            </property>
 
336
            <property name="whatsThis" >
 
337
             <string>This makes the entry apply to sub-channels of this channel.</string>
 
338
            </property>
 
339
            <property name="text" >
 
340
             <string>Applies to sub-channels</string>
 
341
            </property>
 
342
           </widget>
 
343
          </item>
 
344
         </layout>
 
345
        </widget>
 
346
       </item>
 
347
       <item rowspan="2" row="1" column="1" >
 
348
        <widget class="QGroupBox" name="qgbACLpermissions" >
 
349
         <property name="title" >
 
350
          <string>Permissions</string>
 
351
         </property>
 
352
        </widget>
 
353
       </item>
 
354
       <item row="2" column="0" >
 
355
        <widget class="QGroupBox" name="qgbACLugroup" >
 
356
         <property name="title" >
 
357
          <string>User/Group</string>
 
358
         </property>
 
359
         <layout class="QGridLayout" >
 
360
          <item row="0" column="0" >
 
361
           <widget class="QLabel" name="label_5" >
 
362
            <property name="text" >
 
363
             <string>Group</string>
 
364
            </property>
 
365
            <property name="buddy" >
 
366
             <cstring>qcbACLGroup</cstring>
 
367
            </property>
 
368
           </widget>
 
369
          </item>
 
370
          <item row="0" column="1" >
 
371
           <widget class="QComboBox" name="qcbACLGroup" >
 
372
            <property name="toolTip" >
 
373
             <string>Group this entry applies to</string>
 
374
            </property>
 
375
            <property name="whatsThis" >
 
376
             <string>This controls which group of users this entry applies to.&lt;br />Note that the group is evaluated in the context of the channel the entry is used in. For example, the default ACL on the Root channel gives &lt;i>Write&lt;/i> permission to the &lt;i>admin&lt;/i> group. This entry, if inherited by a channel, will give a user write privileges if he belongs to the &lt;i>admin&lt;/i> group in that channel, even if he doesn't belong to the &lt;i>admin&lt;/i> group in the channel where the ACL originated.&lt;br />If a group name starts with a !, its membership is negated, and if it starts with a ~, it is evaluated in the channel the ACL was defined in, rather than the channel the ACL is active in. Order is important; &lt;i>!~in&lt;/i> is valid, but &lt;i>~!in&lt;/i> is not.&lt;br />A few special predefined groups are:&lt;br />&lt;b>all&lt;/b> - Everyone will match.&lt;br />&lt;b>auth&lt;/b> - All authenticated users will match.&lt;br />&lt;b>sub,a,b,c&lt;/b> - User currently in a sub-channel minimum &lt;i>a&lt;/i> common parents, and between &lt;i>b&lt;/i> and &lt;i>c&lt;/i> channels down the chain. See the website for more extensive documentation on this one.&lt;br />&lt;b>in&lt;/b> - Users currently in the channel will match (convenience for &lt;i>sub,0,0,0&lt;/i>).&lt;br />&lt;b>out&lt;/b> - Users outside the channel will match (convenience for &lt;i>!sub,0,0,0&lt;/i>).&lt;br />Note that an entry applies to either a user or a group, not both.</string>
 
377
            </property>
 
378
            <property name="editable" >
 
379
             <bool>true</bool>
 
380
            </property>
 
381
           </widget>
 
382
          </item>
 
383
          <item row="1" column="0" >
 
384
           <widget class="QLabel" name="label_6" >
 
385
            <property name="text" >
 
386
             <string>User ID</string>
 
387
            </property>
 
388
            <property name="buddy" >
 
389
             <cstring>qleACLUser</cstring>
 
390
            </property>
 
391
           </widget>
 
392
          </item>
 
393
          <item row="1" column="1" >
 
394
           <widget class="QLineEdit" name="qleACLUser" >
 
395
            <property name="toolTip" >
 
396
             <string>User this entry applies to</string>
 
397
            </property>
 
398
            <property name="whatsThis" >
 
399
             <string>This controls which user this entry applies to. Just type in the user name and hit enter to query the server for a match.</string>
 
400
            </property>
 
401
           </widget>
 
402
          </item>
 
403
         </layout>
 
404
        </widget>
 
405
       </item>
 
406
      </layout>
 
407
     </widget>
 
408
    </widget>
 
409
   </item>
 
410
   <item>
 
411
    <widget class="QDialogButtonBox" name="qdbbButtons" >
 
412
     <property name="orientation" >
 
413
      <enum>Qt::Horizontal</enum>
 
414
     </property>
 
415
     <property name="standardButtons" >
 
416
      <set>QDialogButtonBox::Cancel|QDialogButtonBox::NoButton|QDialogButtonBox::Ok</set>
 
417
     </property>
 
418
    </widget>
 
419
   </item>
 
420
  </layout>
 
421
 </widget>
 
422
 <resources/>
 
423
 <connections>
 
424
  <connection>
 
425
   <sender>qdbbButtons</sender>
 
426
   <signal>accepted()</signal>
 
427
   <receiver>ACLEditor</receiver>
 
428
   <slot>accept()</slot>
 
429
   <hints>
 
430
    <hint type="sourcelabel" >
 
431
     <x>227</x>
 
432
     <y>583</y>
 
433
    </hint>
 
434
    <hint type="destinationlabel" >
 
435
     <x>157</x>
 
436
     <y>274</y>
 
437
    </hint>
 
438
   </hints>
 
439
  </connection>
 
440
  <connection>
 
441
   <sender>qdbbButtons</sender>
 
442
   <signal>rejected()</signal>
 
443
   <receiver>ACLEditor</receiver>
 
444
   <slot>reject()</slot>
 
445
   <hints>
 
446
    <hint type="sourcelabel" >
 
447
     <x>295</x>
 
448
     <y>589</y>
 
449
    </hint>
 
450
    <hint type="destinationlabel" >
 
451
     <x>286</x>
 
452
     <y>274</y>
 
453
    </hint>
 
454
   </hints>
 
455
  </connection>
 
456
  <connection>
 
457
   <sender>qleGroupAdd</sender>
 
458
   <signal>returnPressed()</signal>
 
459
   <receiver>qpbGroupAddAdd</receiver>
 
460
   <slot>animateClick()</slot>
 
461
   <hints>
 
462
    <hint type="sourcelabel" >
 
463
     <x>82</x>
 
464
     <y>494</y>
 
465
    </hint>
 
466
    <hint type="destinationlabel" >
 
467
     <x>176</x>
 
468
     <y>493</y>
 
469
    </hint>
 
470
   </hints>
 
471
  </connection>
 
472
  <connection>
 
473
   <sender>qleGroupRemove</sender>
 
474
   <signal>returnPressed()</signal>
 
475
   <receiver>qpbGroupRemoveAdd</receiver>
 
476
   <slot>animateClick()</slot>
 
477
   <hints>
 
478
    <hint type="sourcelabel" >
 
479
     <x>268</x>
 
480
     <y>494</y>
 
481
    </hint>
 
482
    <hint type="destinationlabel" >
 
483
     <x>365</x>
 
484
     <y>495</y>
 
485
    </hint>
 
486
   </hints>
 
487
  </connection>
 
488
  <connection>
 
489
   <sender>qlwGroupInherit</sender>
 
490
   <signal>doubleClicked(QModelIndex)</signal>
 
491
   <receiver>qpbGroupInheritRemove</receiver>
 
492
   <slot>animateClick()</slot>
 
493
   <hints>
 
494
    <hint type="sourcelabel" >
 
495
     <x>476</x>
 
496
     <y>316</y>
 
497
    </hint>
 
498
    <hint type="destinationlabel" >
 
499
     <x>481</x>
 
500
     <y>525</y>
 
501
    </hint>
 
502
   </hints>
 
503
  </connection>
 
504
 </connections>
 
505
</ui>