eric7.Plugins.VcsPlugins.vcsGit.GitBranchPushDialog
Module implementing a dialog to select the data for pushing a branch.
Global Attributes
Classes
Functions
GitBranchPushDialog
Class implementing a dialog to select the data for pushing a branch.
Derived from
QDialog, Ui_GitBranchPushDialog
Class Attributes
Class Methods
Methods
Static Methods
GitBranchPushDialog (Constructor)
GitBranchPushDialog(branches, remotes, delete=False, parent=None)
Constructor
- branches (list of str)
-
list of branch names
- remotes (list of str)
-
list of remote names
- delete (bool)
-
flag indicating a delete branch action
- parent (QWidget)
-
reference to the parent widget
GitBranchPushDialog.getData
getData()
Public method to get the selected data.
- Return:
-
tuple of selected branch name, remote name and a flag
indicating all branches
- Return Type:
-
tuple of (str, str, bool)
GitBranchPushDialog.on_branchComboBox_editTextChanged
on_branchComboBox_editTextChanged(txt)
Private slot to handle a change of the branch name.
- txt (str)
-
branch name