eric7.Plugins.VcsPlugins.vcsMercurial.HgBranchInputDialog
Module implementing a dialog to enter the data for a branch operation.
Global Attributes
Classes
Functions
HgBranchInputDialog
Class implementing a dialog to enter the data for a branch operation.
Derived from
QDialog, Ui_HgBranchInputDialog
Class Attributes
Class Methods
Methods
Static Methods
HgBranchInputDialog (Constructor)
HgBranchInputDialog(branches, parent=None)
Constructor
- branches (list of str)
-
branch names to populate the branch list with
- parent (QWidget)
-
reference to the parent widget
HgBranchInputDialog.getData
getData()
Public method to get the data.
- Return:
-
tuple of branch name, a flag indicating to commit the branch
and a flag indicating to force the branch creation
- Return Type:
-
tuple of (str, bool, bool)
HgBranchInputDialog.on_branchComboBox_editTextChanged
on_branchComboBox_editTextChanged(txt)
Private slot handling a change of the branch name.
- txt (str)
-
contents of the branch combo box