# eric6.Plugins.VcsPlugins.vcsMercurial.HgBackoutDialog

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

### Global Attributes

None

### Classes

HgBackoutDialog | Class implementing a dialog to enter the data for a backout operation.

### Functions

None

## HgBackoutDialog

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

### Derived from

QDialog, Ui_HgBackoutDialog

### Class Attributes

None

### Class Methods

None

### Methods

HgBackoutDialog | Constructor
__updateOK | Private slot to update the OK button.
getParameters | Public method to retrieve the backout data.
on_bookmarkButton_toggled | Private slot to handle changes of the Bookmark select button.
on_bookmarkCombo_editTextChanged | Private slot to handle changes of the Bookmark combo.
on_branchButton_toggled | Private slot to handle changes of the Branch select button.
on_branchCombo_editTextChanged | Private slot to handle changes of the Branch combo.
on_idButton_toggled | Private slot to handle changes of the ID select button.
on_idEdit_textChanged | Private slot to handle changes of the ID edit.
on_noneButton_toggled | Private slot to handle the toggling of the None revision button.
on_tagButton_toggled | Private slot to handle changes of the Tag select button.
on_tagCombo_editTextChanged | Private slot to handle changes of the Tag combo.

### Static Methods

None

#### HgBackoutDialog (Constructor)

HgBackoutDialog(tagsList, branchesList, bookmarksList=None, parent=None)

Constructor

tagsList
  list of tags (list of strings)
branchesList
  list of branches (list of strings)
bookmarksList
  list of bookmarks (list of strings)
parent
  parent widget (QWidget)

#### HgBackoutDialog.__updateOK

__updateOK()

Private slot to update the OK button.

#### HgBackoutDialog.getParameters

getParameters()

Public method to retrieve the backout data.

Returns:
  tuple naming the revision, a flag indicating a merge, the commit date, the commit user and a commit message (string, boolean, string, string, string)

#### HgBackoutDialog.on_bookmarkButton_toggled

on_bookmarkButton_toggled(checked)

Private slot to handle changes of the Bookmark select button.

checked
  state of the button (boolean)

#### HgBackoutDialog.on_bookmarkCombo_editTextChanged

on_bookmarkCombo_editTextChanged(txt)

Private slot to handle changes of the Bookmark combo.

txt
  text of the combo (string)

#### HgBackoutDialog.on_branchButton_toggled

on_branchButton_toggled(checked)

Private slot to handle changes of the Branch select button.

checked
  state of the button (boolean)

#### HgBackoutDialog.on_branchCombo_editTextChanged

on_branchCombo_editTextChanged(txt)

Private slot to handle changes of the Branch combo.

txt
  text of the combo (string)

#### HgBackoutDialog.on_idButton_toggled

on_idButton_toggled(checked)

Private slot to handle changes of the ID select button.

checked
  state of the button (boolean)

#### HgBackoutDialog.on_idEdit_textChanged

on_idEdit_textChanged(txt)

Private slot to handle changes of the ID edit.

txt
  text of the edit (string)

#### HgBackoutDialog.on_noneButton_toggled

on_noneButton_toggled(checked)

Private slot to handle the toggling of the None revision button.

checked
  flag indicating the checked state (boolean)

#### HgBackoutDialog.on_tagButton_toggled

on_tagButton_toggled(checked)

Private slot to handle changes of the Tag select button.

checked
  state of the button (boolean)

#### HgBackoutDialog.on_tagCombo_editTextChanged

on_tagCombo_editTextChanged(txt)

Private slot to handle changes of the Tag combo.

txt
  text of the combo (string)

Up