eric3.VCS.mercurialPackage.CommandDialog

Module implementing the Mercurial command dialog.

Classes

HgCommandDialog Class implementing the Mercurial command dialog.

Functions

None


HgCommandDialog

Class implementing the Mercurial command dialog.

It implements a dialog that is used to enter an arbitrary Mercurial command. It asks the user to enter the commandline parameters.

Derived from

CommandForm

Methods

HgCommandDialog Constructor
enableOkButton Private method used to enable/disable the OK-button.
getData Public method to retrieve the data entered into this dialog.

HgCommandDialog (Constructor)

HgCommandDialog(argvList, ppath, parent=None)

Constructor

argvList
history list of commandline arguments (QStringList)
ppath
pathname of the project directory (string)
parent
parent widget of this dialog (QWidget)

HgCommandDialog.enableOkButton

enableOkButton(text)

Private method used to enable/disable the OK-button.

text
ignored

HgCommandDialog.getData

getData()

Public method to retrieve the data entered into this dialog.

Returns:
a tuple of argv, workdir

Up