38 self.guardsList.sortItems() |
38 self.guardsList.sortItems() |
39 |
39 |
40 if listOnly: |
40 if listOnly: |
41 self.buttonBox.button(QDialogButtonBox.Cancel).hide() |
41 self.buttonBox.button(QDialogButtonBox.Cancel).hide() |
42 self.guardsList.setSelectionMode(QAbstractItemView.NoSelection) |
42 self.guardsList.setSelectionMode(QAbstractItemView.NoSelection) |
43 self.setWindowTitle(self.trUtf8("Active Guards")) |
43 self.setWindowTitle(self.tr("Active Guards")) |
44 |
44 |
45 def getData(self): |
45 def getData(self): |
46 """ |
46 """ |
47 Public method to retrieve the data. |
47 Public method to retrieve the data. |
48 |
48 |