eric3.VCS.subversionPackage.DiffDialog

Module implementing a dialog to show the output of the svn diff command process.

Classes

SvnDiffDialog Class implementing a dialog to show the output of the svn diff command process.

Functions

None

SvnDiffDialog

Class implementing a dialog to show the output of the svn diff command process.

Derived from

LogForm

Methods

SvnDiffDialog Constructor
closeEvent Private slot implementing a close event handler.
handleProcessExited Private slot to handle the processExited signal.
handleReadStderr Private slot to handle the readyReadStderr signal.
handleReadStdout Private slot to handle the readyReadStdout signal.
handleSave Private slot to handle the Save button press.
start Public slot to start the svn diff command.

SvnDiffDialog (Constructor)

SvnDiffDialog(vcs, parent = None)

Constructor

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

SvnDiffDialog.closeEvent

closeEvent(e)

Private slot implementing a close event handler.

e
close event (QCloseEvent)

SvnDiffDialog.handleProcessExited

handleProcessExited()

Private slot to handle the processExited signal.

After the process has exited, the contents pane is colored.

SvnDiffDialog.handleReadStderr

handleReadStderr()

Private slot to handle the readyReadStderr signal.

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

SvnDiffDialog.handleReadStdout

handleReadStdout()

Private slot to handle the readyReadStdout signal.

It reads the output of the process, formats it and inserts it into the contents pane.

SvnDiffDialog.handleSave

handleSave()

Private slot to handle the Save button press.

It saves the diff shown in the dialog to a file in the local filesystem.

SvnDiffDialog.start

start(fn, versions=None)

Public slot to start the svn diff command.

fn
filename to be diffed (string)
versions
list of versions to be diffed (list of 2 QString or None)

Up