eric7.Plugins.VcsPlugins.vcsGit.GitCopyDialog
Module implementing a dialog to enter the data for a copy or rename operation.
Global Attributes
Classes
GitCopyDialog |
Class implementing a dialog to enter the data for a copy or rename operation. |
Functions
GitCopyDialog
Class implementing a dialog to enter the data for a copy or rename
operation.
Derived from
QDialog, Ui_GitCopyDialog
Class Attributes
Class Methods
Methods
Static Methods
GitCopyDialog (Constructor)
GitCopyDialog(source, parent=None, move=False)
Constructor
- source (str)
-
name of the source file/directory
- parent (QWidget)
-
parent widget
- move (bool)
-
flag indicating a move operation
GitCopyDialog.getData
getData()
Public method to retrieve the copy data.
- Return:
-
the target name and a flag indicating the operation should be enforced
- Return Type:
-
tuple of (str, bool)
GitCopyDialog.on_dirButton_clicked
on_dirButton_clicked()
Private slot to handle the button press for selecting the target via a
selection dialog.
GitCopyDialog.on_targetEdit_textChanged
on_targetEdit_textChanged(txt)
Private slot to handle changes of the target.
- txt (str)
-
contents of the target edit