eric7.Plugins.VcsPlugins.vcsMercurial.ShelveExtension.HgUnshelveDataDialog
Module implementing a dialog to enter the data for an unshelve operation.
Global Attributes
Classes
Functions
HgUnshelveDataDialog
Class implementing a dialog to enter the data for an unshelve operation.
Derived from
QDialog, Ui_HgUnshelveDataDialog
Class Attributes
Class Methods
Methods
Static Methods
HgUnshelveDataDialog (Constructor)
HgUnshelveDataDialog(shelveNames, shelveName="", parent=None)
Constructor
- shelveNames (list of str)
-
list of available shelves
- shelveName (str)
-
name of the shelve to restore
- parent (QWidget)
-
reference to the parent widget
HgUnshelveDataDialog.getData
getData()
Public method to get the user data.
- Return:
-
tuple containing the name and a flag indicating to keep the
shelved change
- Return Type:
-
tuple of (str, bool)