Home ⌂Doc Index ◂Up ▴

eric6.Plugins.VcsPlugins.vcsMercurial.HgGraftDialog

Module implementing a dialog to enter the data for a graft session.

Global Attributes

None

Classes

HgGraftDialog Class implementing a dialog to enter the data for a graft session.

Functions

None


HgGraftDialog

Class implementing a dialog to enter the data for a graft session.

Derived from

QDialog, Ui_HgGraftDialog

Class Attributes

None

Class Methods

None

Methods

HgGraftDialog Constructor
__updateOk Private slot to update the state of the OK button.
getData Public method to retrieve the entered data.
on_currentUserCheckBox_toggled Private slot to handle changes of the current user state.
on_revisionsEdit_textChanged Private slot to react upon changes of revisions.
on_userEdit_textChanged Private slot to handle changes of the user name.
on_userGroup_toggled Private slot to handle changes of the user group state.

Static Methods

None

HgGraftDialog (Constructor)

HgGraftDialog(vcs, revs=None, parent=None)

Constructor

vcs (Hg)
reference to the VCS object
revs (list of str)
list of revisions to show in the revisions pane
parent (QWidget)
reference to the parent widget

HgGraftDialog.__updateOk

__updateOk()

Private slot to update the state of the OK button.

HgGraftDialog.getData

getData()

Public method to retrieve the entered data.

Returns:
tuple with list of revisions, a tuple giving a flag indicating to set the user, a flag indicating to use the current user and the user name, another tuple giving a flag indicating to set the date, a flag indicating to use the current date and the date, a flag indicating to append graft info to the log message, a flag indicating a dry-run and a flag indicating to not commit the copied changesets
Return Type:
tuple of (list of str, (bool, bool, str), (bool, bool, str), bool, bool, bool)

HgGraftDialog.on_currentUserCheckBox_toggled

on_currentUserCheckBox_toggled(checked)

Private slot to handle changes of the current user state.

checked (bool)
flag giving the checked state

HgGraftDialog.on_revisionsEdit_textChanged

on_revisionsEdit_textChanged()

Private slot to react upon changes of revisions.

HgGraftDialog.on_userEdit_textChanged

on_userEdit_textChanged(txt)

Private slot to handle changes of the user name.

txt
text of the edit (string)

HgGraftDialog.on_userGroup_toggled

on_userGroup_toggled(checked)

Private slot to handle changes of the user group state.

checked (bool)
flag giving the checked state
Up



Home ⌂Doc Index ◂Up ▴