eric6/Plugins/VcsPlugins/vcsMercurial/QueuesExtension/HgQueuesGuardsSelectionDialog.py

branch
maintenance
changeset 8176
31965986ecd1
parent 8043
0acf98cd089a
parent 8143
2c730d5fd177
child 8273
698ae46f40a4
equal deleted inserted replaced
8153:e01ae92db699 8176:31965986ecd1
37 font.setBold(True) 37 font.setBold(True)
38 itm.setFont(font) 38 itm.setFont(font)
39 self.guardsList.sortItems() 39 self.guardsList.sortItems()
40 40
41 if listOnly: 41 if listOnly:
42 self.buttonBox.button(QDialogButtonBox.Cancel).hide() 42 self.buttonBox.button(
43 self.guardsList.setSelectionMode(QAbstractItemView.NoSelection) 43 QDialogButtonBox.StandardButton.Cancel).hide()
44 self.guardsList.setSelectionMode(
45 QAbstractItemView.SelectionMode.NoSelection)
44 self.setWindowTitle(self.tr("Active Guards")) 46 self.setWindowTitle(self.tr("Active Guards"))
45 47
46 def getData(self): 48 def getData(self):
47 """ 49 """
48 Public method to retrieve the data. 50 Public method to retrieve the data.

eric ide

mercurial