24 |
24 |
25 def __init__(self, guards, activeGuards=None, listOnly=False, parent=None): |
25 def __init__(self, guards, activeGuards=None, listOnly=False, parent=None): |
26 """ |
26 """ |
27 Constructor |
27 Constructor |
28 |
28 |
29 @param guards list of guards to select from (list of strings) |
29 @param guards list of guards to select from |
30 @param activeGuards list of active guards (list of strings) |
30 @type list of str |
31 @param listOnly flag indicating to only list the guards (boolean) |
31 @param activeGuards list of active guards |
32 @param parent reference to the parent widget (QWidget) |
32 @type list of str |
|
33 @param listOnly flag indicating to only list the guards |
|
34 @type bool |
|
35 @param parent reference to the parent widget |
|
36 @type QWidget |
33 """ |
37 """ |
34 super().__init__(parent) |
38 super().__init__(parent) |
35 self.setupUi(self) |
39 self.setupUi(self) |
36 |
40 |
37 for guard in guards: |
41 for guard in guards: |