Documentation/Source/eric5.Plugins.VcsPlugins.vcsPySvn.SvnBlameDialog.html

Fri, 11 Mar 2011 16:51:57 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Fri, 11 Mar 2011 16:51:57 +0100
changeset 945
8cd4d08fa9f6
parent 440
69ace3e2dcf6
child 1228
7afaf2fca55b
permissions
-rw-r--r--

Made code mostly PEP 8 compliant (except all whitespace and line length).

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'
'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
<html><head>
<title>eric5.Plugins.VcsPlugins.vcsPySvn.SvnBlameDialog</title>
<style>
body {
    background: #EDECE6;
    margin: 0em 1em 10em 1em;
    color: black;
}

h1 { color: white; background: #85774A; }
h2 { color: white; background: #85774A; }
h3 { color: white; background: #9D936E; }
h4 { color: white; background: #9D936E; }
    
a { color: #BA6D36; }

</style>
</head>
<body><a NAME="top" ID="top"></a>
<h1>eric5.Plugins.VcsPlugins.vcsPySvn.SvnBlameDialog</h1>
<p>
Module implementing a dialog to show the output of the svn blame command.
</p>
<h3>Global Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Classes</h3>
<table>
<tr>
<td><a href="#SvnBlameDialog">SvnBlameDialog</a></td>
<td>Class implementing a dialog to show the output of the svn blame command.</td>
</tr>
</table>
<h3>Functions</h3>
<table>
<tr><td>None</td></tr>
</table>
<hr /><hr />
<a NAME="SvnBlameDialog" ID="SvnBlameDialog"></a>
<h2>SvnBlameDialog</h2>
<p>
    Class implementing a dialog to show the output of the svn blame command.
</p>
<h3>Derived from</h3>
QDialog, SvnDialogMixin, Ui_SvnBlameDialog
<h3>Class Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Methods</h3>
<table>
<tr>
<td><a href="#SvnBlameDialog.__init__">SvnBlameDialog</a></td>
<td>Constructor</td>
</tr><tr>
<td><a href="#SvnBlameDialog.__finish">__finish</a></td>
<td>Private slot called when the process finished or the user pressed the button.</td>
</tr><tr>
<td><a href="#SvnBlameDialog.__generateItem">__generateItem</a></td>
<td>Private method to generate a blame item in the blame list.</td>
</tr><tr>
<td><a href="#SvnBlameDialog.__resizeColumns">__resizeColumns</a></td>
<td>Private method to resize the list columns.</td>
</tr><tr>
<td><a href="#SvnBlameDialog.__showError">__showError</a></td>
<td>Private slot to show an error message.</td>
</tr><tr>
<td><a href="#SvnBlameDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td>
<td>Private slot called by a button of the button box clicked.</td>
</tr><tr>
<td><a href="#SvnBlameDialog.start">start</a></td>
<td>Public slot to start the svn status command.</td>
</tr>
</table>
<a NAME="SvnBlameDialog.__init__" ID="SvnBlameDialog.__init__"></a>
<h4>SvnBlameDialog (Constructor)</h4>
<b>SvnBlameDialog</b>(<i>vcs, parent=None</i>)
<p>
        Constructor
</p><dl>
<dt><i>vcs</i></dt>
<dd>
reference to the vcs object
</dd><dt><i>parent</i></dt>
<dd>
parent widget (QWidget)
</dd>
</dl><a NAME="SvnBlameDialog.__finish" ID="SvnBlameDialog.__finish"></a>
<h4>SvnBlameDialog.__finish</h4>
<b>__finish</b>(<i></i>)
<p>
        Private slot called when the process finished or the user pressed the button.
</p><a NAME="SvnBlameDialog.__generateItem" ID="SvnBlameDialog.__generateItem"></a>
<h4>SvnBlameDialog.__generateItem</h4>
<b>__generateItem</b>(<i>revision, author, lineno, text</i>)
<p>
        Private method to generate a blame item in the blame list.
</p><dl>
<dt><i>revision</i></dt>
<dd>
revision string (string)
</dd><dt><i>author</i></dt>
<dd>
author of the change (string)
</dd><dt><i>lineno</i></dt>
<dd>
linenumber (string)
</dd><dt><i>text</i></dt>
<dd>
line of text from the annotated file (string)
</dd>
</dl><a NAME="SvnBlameDialog.__resizeColumns" ID="SvnBlameDialog.__resizeColumns"></a>
<h4>SvnBlameDialog.__resizeColumns</h4>
<b>__resizeColumns</b>(<i></i>)
<p>
        Private method to resize the list columns.
</p><a NAME="SvnBlameDialog.__showError" ID="SvnBlameDialog.__showError"></a>
<h4>SvnBlameDialog.__showError</h4>
<b>__showError</b>(<i>msg</i>)
<p>
        Private slot to show an error message.
</p><dl>
<dt><i>msg</i></dt>
<dd>
error message to show (string)
</dd>
</dl><a NAME="SvnBlameDialog.on_buttonBox_clicked" ID="SvnBlameDialog.on_buttonBox_clicked"></a>
<h4>SvnBlameDialog.on_buttonBox_clicked</h4>
<b>on_buttonBox_clicked</b>(<i>button</i>)
<p>
        Private slot called by a button of the button box clicked.
</p><dl>
<dt><i>button</i></dt>
<dd>
button that was clicked (QAbstractButton)
</dd>
</dl><a NAME="SvnBlameDialog.start" ID="SvnBlameDialog.start"></a>
<h4>SvnBlameDialog.start</h4>
<b>start</b>(<i>fn</i>)
<p>
        Public slot to start the svn status command.
</p><dl>
<dt><i>fn</i></dt>
<dd>
filename to show the log for (string)
</dd>
</dl>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial