Documentation/Source/eric5.Plugins.VcsPlugins.vcsMercurial.HgStatusDialog.html

changeset 178
dd9f0bca5e2f
child 198
7ab8e126f404
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Documentation/Source/eric5.Plugins.VcsPlugins.vcsMercurial.HgStatusDialog.html	Mon Apr 12 18:00:42 2010 +0000
@@ -0,0 +1,316 @@
+<?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.vcsMercurial.HgStatusDialog</title>
+<style>
+body {
+    background:white;
+    margin: 0em 1em 10em 1em;
+    color: black;
+}
+
+h1 { color: white; background: #4FA4FF; }
+h2 { color: white; background: #4FA4FF; }
+h3 { color: white; background: #00557F; }
+h4 { color: white; background: #00557F; }
+    
+a { color: #AA5500; }
+
+</style>
+</head>
+<body><a NAME="top" ID="top"></a>
+<h1>eric5.Plugins.VcsPlugins.vcsMercurial.HgStatusDialog</h1>
+<p>
+Module implementing a dialog to show the output of the hg status command process.
+</p>
+<h3>Global Attributes</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+<h3>Classes</h3>
+<table>
+<tr>
+<td><a href="#HgStatusDialog">HgStatusDialog</a></td>
+<td>Class implementing a dialog to show the output of the hg status command process.</td>
+</tr>
+</table>
+<h3>Functions</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+<hr /><hr />
+<a NAME="HgStatusDialog" ID="HgStatusDialog"></a>
+<h2>HgStatusDialog</h2>
+<p>
+    Class implementing a dialog to show the output of the hg status command process.
+</p>
+<h3>Derived from</h3>
+QWidget, Ui_HgStatusDialog
+<h3>Class Attributes</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+<h3>Methods</h3>
+<table>
+<tr>
+<td><a href="#HgStatusDialog.__init__">HgStatusDialog</a></td>
+<td>Constructor</td>
+</tr><tr>
+<td><a href="#HgStatusDialog.__add">__add</a></td>
+<td>Private slot to handle the Add context menu entry.</td>
+</tr><tr>
+<td><a href="#HgStatusDialog.__commit">__commit</a></td>
+<td>Private slot to handle the Commit context menu entry.</td>
+</tr><tr>
+<td><a href="#HgStatusDialog.__committed">__committed</a></td>
+<td>Private slot called after the commit has finished.</td>
+</tr><tr>
+<td><a href="#HgStatusDialog.__finish">__finish</a></td>
+<td>Private slot called when the process finished or the user pressed the button.</td>
+</tr><tr>
+<td><a href="#HgStatusDialog.__generateItem">__generateItem</a></td>
+<td>Private method to generate a status item in the status list.</td>
+</tr><tr>
+<td><a href="#HgStatusDialog.__getModifiedItems">__getModifiedItems</a></td>
+<td>Private method to retrieve all entries, that have a modified status.</td>
+</tr><tr>
+<td><a href="#HgStatusDialog.__getUnversionedItems">__getUnversionedItems</a></td>
+<td>Private method to retrieve all entries, that have an unversioned status.</td>
+</tr><tr>
+<td><a href="#HgStatusDialog.__procFinished">__procFinished</a></td>
+<td>Private slot connected to the finished signal.</td>
+</tr><tr>
+<td><a href="#HgStatusDialog.__readStderr">__readStderr</a></td>
+<td>Private slot to handle the readyReadStandardError signal.</td>
+</tr><tr>
+<td><a href="#HgStatusDialog.__readStdout">__readStdout</a></td>
+<td>Private slot to handle the readyReadStandardOutput signal.</td>
+</tr><tr>
+<td><a href="#HgStatusDialog.__resizeColumns">__resizeColumns</a></td>
+<td>Private method to resize the list columns.</td>
+</tr><tr>
+<td><a href="#HgStatusDialog.__resort">__resort</a></td>
+<td>Private method to resort the tree.</td>
+</tr><tr>
+<td><a href="#HgStatusDialog.__revert">__revert</a></td>
+<td>Private slot to handle the Revert context menu entry.</td>
+</tr><tr>
+<td><a href="#HgStatusDialog.__showContextMenu">__showContextMenu</a></td>
+<td>Protected slot to show the context menu of the status list.</td>
+</tr><tr>
+<td><a href="#HgStatusDialog.closeEvent">closeEvent</a></td>
+<td>Private slot implementing a close event handler.</td>
+</tr><tr>
+<td><a href="#HgStatusDialog.keyPressEvent">keyPressEvent</a></td>
+<td>Protected slot to handle a key press event.</td>
+</tr><tr>
+<td><a href="#HgStatusDialog.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="#HgStatusDialog.on_input_returnPressed">on_input_returnPressed</a></td>
+<td>Private slot to handle the press of the return key in the input field.</td>
+</tr><tr>
+<td><a href="#HgStatusDialog.on_passwordCheckBox_toggled">on_passwordCheckBox_toggled</a></td>
+<td>Private slot to handle the password checkbox toggled.</td>
+</tr><tr>
+<td><a href="#HgStatusDialog.on_refreshButton_clicked">on_refreshButton_clicked</a></td>
+<td>Private slot to refresh the status display.</td>
+</tr><tr>
+<td><a href="#HgStatusDialog.on_sendButton_clicked">on_sendButton_clicked</a></td>
+<td>Private slot to send the input to the subversion process.</td>
+</tr><tr>
+<td><a href="#HgStatusDialog.start">start</a></td>
+<td>Public slot to start the svn status command.</td>
+</tr>
+</table>
+<a NAME="HgStatusDialog.__init__" ID="HgStatusDialog.__init__"></a>
+<h4>HgStatusDialog (Constructor)</h4>
+<b>HgStatusDialog</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="HgStatusDialog.__add" ID="HgStatusDialog.__add"></a>
+<h4>HgStatusDialog.__add</h4>
+<b>__add</b>(<i></i>)
+<p>
+        Private slot to handle the Add context menu entry.
+</p><a NAME="HgStatusDialog.__commit" ID="HgStatusDialog.__commit"></a>
+<h4>HgStatusDialog.__commit</h4>
+<b>__commit</b>(<i></i>)
+<p>
+        Private slot to handle the Commit context menu entry.
+</p><a NAME="HgStatusDialog.__committed" ID="HgStatusDialog.__committed"></a>
+<h4>HgStatusDialog.__committed</h4>
+<b>__committed</b>(<i></i>)
+<p>
+        Private slot called after the commit has finished.
+</p><a NAME="HgStatusDialog.__finish" ID="HgStatusDialog.__finish"></a>
+<h4>HgStatusDialog.__finish</h4>
+<b>__finish</b>(<i></i>)
+<p>
+        Private slot called when the process finished or the user pressed the button.
+</p><a NAME="HgStatusDialog.__generateItem" ID="HgStatusDialog.__generateItem"></a>
+<h4>HgStatusDialog.__generateItem</h4>
+<b>__generateItem</b>(<i>status, path</i>)
+<p>
+        Private method to generate a status item in the status list.
+</p><dl>
+<dt><i>status</i></dt>
+<dd>
+status indicator (string)
+</dd><dt><i>path</i></dt>
+<dd>
+path of the file or directory (string)
+</dd>
+</dl><a NAME="HgStatusDialog.__getModifiedItems" ID="HgStatusDialog.__getModifiedItems"></a>
+<h4>HgStatusDialog.__getModifiedItems</h4>
+<b>__getModifiedItems</b>(<i></i>)
+<p>
+        Private method to retrieve all entries, that have a modified status.
+</p><dl>
+<dt>Returns:</dt>
+<dd>
+list of all items with a modified status
+</dd>
+</dl><a NAME="HgStatusDialog.__getUnversionedItems" ID="HgStatusDialog.__getUnversionedItems"></a>
+<h4>HgStatusDialog.__getUnversionedItems</h4>
+<b>__getUnversionedItems</b>(<i></i>)
+<p>
+        Private method to retrieve all entries, that have an unversioned status.
+</p><dl>
+<dt>Returns:</dt>
+<dd>
+list of all items with an unversioned status
+</dd>
+</dl><a NAME="HgStatusDialog.__procFinished" ID="HgStatusDialog.__procFinished"></a>
+<h4>HgStatusDialog.__procFinished</h4>
+<b>__procFinished</b>(<i>exitCode, exitStatus</i>)
+<p>
+        Private slot connected to the finished signal.
+</p><dl>
+<dt><i>exitCode</i></dt>
+<dd>
+exit code of the process (integer)
+</dd><dt><i>exitStatus</i></dt>
+<dd>
+exit status of the process (QProcess.ExitStatus)
+</dd>
+</dl><a NAME="HgStatusDialog.__readStderr" ID="HgStatusDialog.__readStderr"></a>
+<h4>HgStatusDialog.__readStderr</h4>
+<b>__readStderr</b>(<i></i>)
+<p>
+        Private slot to handle the readyReadStandardError signal.
+</p><p>
+        It reads the error output of the process and inserts it into the
+        error pane.
+</p><a NAME="HgStatusDialog.__readStdout" ID="HgStatusDialog.__readStdout"></a>
+<h4>HgStatusDialog.__readStdout</h4>
+<b>__readStdout</b>(<i></i>)
+<p>
+        Private slot to handle the readyReadStandardOutput signal.
+</p><p>
+        It reads the output of the process, formats it and inserts it into
+        the contents pane.
+</p><a NAME="HgStatusDialog.__resizeColumns" ID="HgStatusDialog.__resizeColumns"></a>
+<h4>HgStatusDialog.__resizeColumns</h4>
+<b>__resizeColumns</b>(<i></i>)
+<p>
+        Private method to resize the list columns.
+</p><a NAME="HgStatusDialog.__resort" ID="HgStatusDialog.__resort"></a>
+<h4>HgStatusDialog.__resort</h4>
+<b>__resort</b>(<i></i>)
+<p>
+        Private method to resort the tree.
+</p><a NAME="HgStatusDialog.__revert" ID="HgStatusDialog.__revert"></a>
+<h4>HgStatusDialog.__revert</h4>
+<b>__revert</b>(<i></i>)
+<p>
+        Private slot to handle the Revert context menu entry.
+</p><a NAME="HgStatusDialog.__showContextMenu" ID="HgStatusDialog.__showContextMenu"></a>
+<h4>HgStatusDialog.__showContextMenu</h4>
+<b>__showContextMenu</b>(<i>coord</i>)
+<p>
+        Protected slot to show the context menu of the status list.
+</p><dl>
+<dt><i>coord</i></dt>
+<dd>
+the position of the mouse pointer (QPoint)
+</dd>
+</dl><a NAME="HgStatusDialog.closeEvent" ID="HgStatusDialog.closeEvent"></a>
+<h4>HgStatusDialog.closeEvent</h4>
+<b>closeEvent</b>(<i>e</i>)
+<p>
+        Private slot implementing a close event handler.
+</p><dl>
+<dt><i>e</i></dt>
+<dd>
+close event (QCloseEvent)
+</dd>
+</dl><a NAME="HgStatusDialog.keyPressEvent" ID="HgStatusDialog.keyPressEvent"></a>
+<h4>HgStatusDialog.keyPressEvent</h4>
+<b>keyPressEvent</b>(<i>evt</i>)
+<p>
+        Protected slot to handle a key press event.
+</p><dl>
+<dt><i>evt</i></dt>
+<dd>
+the key press event (QKeyEvent)
+</dd>
+</dl><a NAME="HgStatusDialog.on_buttonBox_clicked" ID="HgStatusDialog.on_buttonBox_clicked"></a>
+<h4>HgStatusDialog.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="HgStatusDialog.on_input_returnPressed" ID="HgStatusDialog.on_input_returnPressed"></a>
+<h4>HgStatusDialog.on_input_returnPressed</h4>
+<b>on_input_returnPressed</b>(<i></i>)
+<p>
+        Private slot to handle the press of the return key in the input field.
+</p><a NAME="HgStatusDialog.on_passwordCheckBox_toggled" ID="HgStatusDialog.on_passwordCheckBox_toggled"></a>
+<h4>HgStatusDialog.on_passwordCheckBox_toggled</h4>
+<b>on_passwordCheckBox_toggled</b>(<i>isOn</i>)
+<p>
+        Private slot to handle the password checkbox toggled.
+</p><dl>
+<dt><i>isOn</i></dt>
+<dd>
+flag indicating the status of the check box (boolean)
+</dd>
+</dl><a NAME="HgStatusDialog.on_refreshButton_clicked" ID="HgStatusDialog.on_refreshButton_clicked"></a>
+<h4>HgStatusDialog.on_refreshButton_clicked</h4>
+<b>on_refreshButton_clicked</b>(<i></i>)
+<p>
+        Private slot to refresh the status display.
+</p><a NAME="HgStatusDialog.on_sendButton_clicked" ID="HgStatusDialog.on_sendButton_clicked"></a>
+<h4>HgStatusDialog.on_sendButton_clicked</h4>
+<b>on_sendButton_clicked</b>(<i></i>)
+<p>
+        Private slot to send the input to the subversion process.
+</p><a NAME="HgStatusDialog.start" ID="HgStatusDialog.start"></a>
+<h4>HgStatusDialog.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(s)/directoryname(s) to show the status of
+            (string or list of strings)
+</dd>
+</dl>
+<div align="right"><a href="#top">Up</a></div>
+<hr />
+</body></html>
\ No newline at end of file

eric ide

mercurial