# eric7.Plugins.VcsPlugins.vcsMercurial.QueuesExtension.HgQueuesGuardsSelectionDialog

Module implementing a dialog to select a list of guards.

### Global Attributes

None

### Classes

HgQueuesGuardsSelectionDialog | Class implementing a dialog to select a list of guards.

### Functions

None

## HgQueuesGuardsSelectionDialog

Class implementing a dialog to select a list of guards.

### Derived from

QDialog, Ui_HgQueuesGuardsSelectionDialog

### Class Attributes

None

### Class Methods

None

### Methods

HgQueuesGuardsSelectionDialog | Constructor
getData | Public method to retrieve the data.

### Static Methods

None

#### HgQueuesGuardsSelectionDialog (Constructor)

HgQueuesGuardsSelectionDialog(guards, activeGuards=None, listOnly=False, parent=None)

Constructor

guards (list of str)
  list of guards to select from
activeGuards (list of str)
  list of active guards
listOnly (bool)
  flag indicating to only list the guards
parent (QWidget)
  reference to the parent widget

#### HgQueuesGuardsSelectionDialog.getData

getData()

Public method to retrieve the data.

Return:
  list of selected guards

Return Type:
  list of str

Up