# eric7.Plugins.VcsPlugins.vcsMercurial.HgTagDialog

Module implementing a dialog to enter the data for a tagging operation.

### Global Attributes

None

### Classes

HgTagDialog | Class implementing a dialog to enter the data for a tagging operation.
HgTagOperation | Class defining the supported tagging operations.

### Functions

None

## HgTagDialog

Class implementing a dialog to enter the data for a tagging operation.

### Derived from

QDialog, Ui_HgTagDialog

### Class Attributes

None

### Class Methods

None

### Methods

HgTagDialog | Constructor
getParameters | Public method to retrieve the tag data.
on_tagCombo_currentIndexChanged | Private slot setting the local status of the selected entry.
on_tagCombo_editTextChanged | Private method used to enable/disable the OK-button.

### Static Methods

None

#### HgTagDialog (Constructor)

HgTagDialog(taglist, revision=None, tagName=None, parent=None)

Constructor

taglist (list of str)
  list of previously entered tags
revision (str)
  revision to set tag for
tagName (str)
  name of the tag
parent (QWidget)
  parent widget

#### HgTagDialog.getParameters

getParameters()

Public method to retrieve the tag data.

Return:
  tuple containing the tag, revision, tag operation and a flag indicating to enforce the operation

Return Type:
  tuple of str, str, HgTagOperation, bool

#### HgTagDialog.on_tagCombo_currentIndexChanged

on_tagCombo_currentIndexChanged(index)

Private slot setting the local status of the selected entry.

index (int)
  index of the selected entrie

#### HgTagDialog.on_tagCombo_editTextChanged

on_tagCombo_editTextChanged(text)

Private method used to enable/disable the OK-button.

text (str)
  tag name entered in the combo

Up

## HgTagOperation

Class defining the supported tagging operations.

### Derived from

enum.Enum

### Class Attributes

CreateGlobal
CreateLocal
DeleteGlobal
DeleteLocal

### Class Methods

None

### Methods

None

### Static Methods

None

Up