eric7.Plugins.VcsPlugins.vcsGit.GitWorktreePathsDialog

Module implementing a dialog to enter a list of worktree paths.

Global Attributes

None

Classes

GitWorktreePathsDialog Class implementing a dialog to enter a list of worktree paths.

Functions

None


GitWorktreePathsDialog

Class implementing a dialog to enter a list of worktree paths.

Derived from

QDialog, Ui_GitWorktreePathsDialog

Class Attributes

None

Class Methods

None

Methods

GitWorktreePathsDialog Constructor
__updateOK Private method to set the enabled state of the OK button.
getPathsList Public method to get the entered worktree paths.
on_addButton_clicked Private slot to add a path entry.
on_pathsList_itemSelectionChanged Private slot handling a change of selected items.
on_removeAllButton_clicked Private slot to remove all items from the list.
on_removeButton_clicked Private slot to remove the selected items.

Static Methods

None

GitWorktreePathsDialog (Constructor)

GitWorktreePathsDialog(parentDirectory, parent=None)

Constructor

parentDirectory (str)
path of the worktrees parent directory
parent (QWidget (optional))
reference to the parent widget (defaults to None)

GitWorktreePathsDialog.__updateOK

__updateOK()

Private method to set the enabled state of the OK button.

GitWorktreePathsDialog.getPathsList

getPathsList()

Public method to get the entered worktree paths.

Return:
list of worktree paths
Return Type:
list of str

GitWorktreePathsDialog.on_addButton_clicked

on_addButton_clicked()

Private slot to add a path entry.

GitWorktreePathsDialog.on_pathsList_itemSelectionChanged

on_pathsList_itemSelectionChanged()

Private slot handling a change of selected items.

GitWorktreePathsDialog.on_removeAllButton_clicked

on_removeAllButton_clicked()

Private slot to remove all items from the list.

GitWorktreePathsDialog.on_removeButton_clicked

on_removeButton_clicked()

Private slot to remove the selected items.

Up