eric4.VCS.vcsPySvn.SvnDiffDialog

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.

Functions

None


SvnDiffDialog

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

Derived from

QWidget, SvnDialogMixin, Ui_SvnDiffDialog

Methods

SvnDiffDialog Constructor
__appendText Private method to append text to the end of the contents pane.
__finish Private slot called when the user pressed the button.
__showError Private slot to show an error message.
on_closeButton_clicked Private slot connected to the closeButton clicked signal.
on_saveButton_clicked Private slot to handle the Save button press.
start Public slot to start the svn diff command.

SvnDiffDialog (Constructor)

SvnDiffDialog(vcs, parent = None)

Constructor

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

SvnDiffDialog.__appendText

__appendText(line)

Private method to append text to the end of the contents pane.

line
line of text to insert (string)

SvnDiffDialog.__finish

__finish()

Private slot called when the user pressed the button.

SvnDiffDialog.__showError

__showError(msg)

Private slot to show an error message.

msg
error message to show (string or QString)

SvnDiffDialog.on_closeButton_clicked

on_closeButton_clicked()

Private slot connected to the closeButton clicked signal.

SvnDiffDialog.on_saveButton_clicked

on_saveButton_clicked()

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 up to 2 integer or None)

Up