eric5.Plugins.VcsPlugins.vcsMercurial.HgAnnotateDialog

Module implementing a dialog to show the output of the hg annotate command.

Global Attributes

None

Classes

HgAnnotateDialog Class implementing a dialog to show the output of the hg annotate command.

Functions

None


HgAnnotateDialog

Class implementing a dialog to show the output of the hg annotate command.

Derived from

QDialog, Ui_HgAnnotateDialog

Class Attributes

None

Methods

HgAnnotateDialog Constructor
__finish Private slot called when the process finished or the user pressed the button.
__generateItem Private method to generate a tag item in the taglist.
__procFinished Private slot connected to the finished signal.
__readStderr Private slot to handle the readyReadStderr signal.
__readStdout Private slot to handle the readyReadStdout signal.
__resizeColumns Private method to resize the list columns.
closeEvent Private slot implementing a close event handler.
keyPressEvent Protected slot to handle a key press event.
on_buttonBox_clicked Private slot called by a button of the button box clicked.
on_input_returnPressed Private slot to handle the press of the return key in the input field.
on_passwordCheckBox_toggled Private slot to handle the password checkbox toggled.
on_sendButton_clicked Private slot to send the input to the subversion process.
start Public slot to start the annotate command.

HgAnnotateDialog (Constructor)

HgAnnotateDialog(vcs, parent = None)

Constructor

vcs
reference to the vcs object
parent
parent widget (QWidget)

HgAnnotateDialog.__finish

__finish()

Private slot called when the process finished or the user pressed the button.

HgAnnotateDialog.__generateItem

__generateItem(revision, changeset, author, date, text)

Private method to generate a tag item in the taglist.

revision
revision string (string)
changeset
changeset string (string)
author
author of the change (string)
date
date of the tag (string)
name
name (path) of the tag (string)

HgAnnotateDialog.__procFinished

__procFinished(exitCode, exitStatus)

Private slot connected to the finished signal.

exitCode
exit code of the process (integer)
exitStatus
exit status of the process (QProcess.ExitStatus)

HgAnnotateDialog.__readStderr

__readStderr()

Private slot to handle the readyReadStderr signal.

It reads the error output of the process and inserts it into the error pane.

HgAnnotateDialog.__readStdout

__readStdout()

Private slot to handle the readyReadStdout signal.

It reads the output of the process, formats it and inserts it into the annotation list.

HgAnnotateDialog.__resizeColumns

__resizeColumns()

Private method to resize the list columns.

HgAnnotateDialog.closeEvent

closeEvent(e)

Private slot implementing a close event handler.

e
close event (QCloseEvent)

HgAnnotateDialog.keyPressEvent

keyPressEvent(evt)

Protected slot to handle a key press event.

evt
the key press event (QKeyEvent)

HgAnnotateDialog.on_buttonBox_clicked

on_buttonBox_clicked(button)

Private slot called by a button of the button box clicked.

button
button that was clicked (QAbstractButton)

HgAnnotateDialog.on_input_returnPressed

on_input_returnPressed()

Private slot to handle the press of the return key in the input field.

HgAnnotateDialog.on_passwordCheckBox_toggled

on_passwordCheckBox_toggled(isOn)

Private slot to handle the password checkbox toggled.

isOn
flag indicating the status of the check box (boolean)

HgAnnotateDialog.on_sendButton_clicked

on_sendButton_clicked()

Private slot to send the input to the subversion process.

HgAnnotateDialog.start

start(fn)

Public slot to start the annotate command.

fn
filename to show the log for (string)
Up