--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Documentation/Source/eric5.Plugins.VcsPlugins.vcsMercurial.QueuesExtension.HgQueuesRenamePatchDialog.html Sun May 15 19:13:36 2011 +0200 @@ -0,0 +1,140 @@ +<?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.QueuesExtension.HgQueuesRenamePatchDialog</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.vcsMercurial.QueuesExtension.HgQueuesRenamePatchDialog</h1> +<p> +Module implementing a dialog to enter the data to rename a patch. +</p> +<h3>Global Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> +<table> +<tr> +<td><a href="#HgQueuesRenamePatchDialog">HgQueuesRenamePatchDialog</a></td> +<td>Class implementing a dialog to enter the data to rename a patch.</td> +</tr> +</table> +<h3>Functions</h3> +<table> +<tr><td>None</td></tr> +</table> +<hr /><hr /> +<a NAME="HgQueuesRenamePatchDialog" ID="HgQueuesRenamePatchDialog"></a> +<h2>HgQueuesRenamePatchDialog</h2> +<p> + Class implementing a dialog to enter the data to rename a patch. +</p> +<h3>Derived from</h3> +QDialog, Ui_HgQueuesRenamePatchDialog +<h3>Class Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> +<table> +<tr> +<td><a href="#HgQueuesRenamePatchDialog.__init__">HgQueuesRenamePatchDialog</a></td> +<td>Constructor</td> +</tr><tr> +<td><a href="#HgQueuesRenamePatchDialog.__updateUI">__updateUI</a></td> +<td>Private slot to update the UI.</td> +</tr><tr> +<td><a href="#HgQueuesRenamePatchDialog.getData">getData</a></td> +<td>Public method to retrieve the entered data.</td> +</tr><tr> +<td><a href="#HgQueuesRenamePatchDialog.on_nameCombo_currentIndexChanged">on_nameCombo_currentIndexChanged</a></td> +<td>Private slot to handle changes of the selected patch name.</td> +</tr><tr> +<td><a href="#HgQueuesRenamePatchDialog.on_nameEdit_textChanged">on_nameEdit_textChanged</a></td> +<td>Private slot to handle changes of the new name.</td> +</tr><tr> +<td><a href="#HgQueuesRenamePatchDialog.on_namedButton_toggled">on_namedButton_toggled</a></td> +<td>Private slot to handle changes of the selection method.</td> +</tr> +</table> +<a NAME="HgQueuesRenamePatchDialog.__init__" ID="HgQueuesRenamePatchDialog.__init__"></a> +<h4>HgQueuesRenamePatchDialog (Constructor)</h4> +<b>HgQueuesRenamePatchDialog</b>(<i>currentPatch, patchesList, parent=None</i>) +<p> + Constructor +</p><dl> +<dt><i>currentPatch</i></dt> +<dd> +name of the current patch (string) +</dd><dt><i>patchesList</i></dt> +<dd> +list of patches to select from (list of strings) +</dd><dt><i>parent</i></dt> +<dd> +reference to the parent widget (QWidget) +</dd> +</dl><a NAME="HgQueuesRenamePatchDialog.__updateUI" ID="HgQueuesRenamePatchDialog.__updateUI"></a> +<h4>HgQueuesRenamePatchDialog.__updateUI</h4> +<b>__updateUI</b>(<i></i>) +<p> + Private slot to update the UI. +</p><a NAME="HgQueuesRenamePatchDialog.getData" ID="HgQueuesRenamePatchDialog.getData"></a> +<h4>HgQueuesRenamePatchDialog.getData</h4> +<b>getData</b>(<i></i>) +<p> + Public method to retrieve the entered data. +</p><dl> +<dt>Returns:</dt> +<dd> +tuple of new name and selected patch (string, string) +</dd> +</dl><a NAME="HgQueuesRenamePatchDialog.on_nameCombo_currentIndexChanged" ID="HgQueuesRenamePatchDialog.on_nameCombo_currentIndexChanged"></a> +<h4>HgQueuesRenamePatchDialog.on_nameCombo_currentIndexChanged</h4> +<b>on_nameCombo_currentIndexChanged</b>(<i>txt</i>) +<p> + Private slot to handle changes of the selected patch name. +</p><dl> +<dt><i>txt</i></dt> +<dd> +selected patch name (string) +</dd> +</dl><a NAME="HgQueuesRenamePatchDialog.on_nameEdit_textChanged" ID="HgQueuesRenamePatchDialog.on_nameEdit_textChanged"></a> +<h4>HgQueuesRenamePatchDialog.on_nameEdit_textChanged</h4> +<b>on_nameEdit_textChanged</b>(<i>txt</i>) +<p> + Private slot to handle changes of the new name. +</p><dl> +<dt><i>txt</i></dt> +<dd> +text of the edit (string) +</dd> +</dl><a NAME="HgQueuesRenamePatchDialog.on_namedButton_toggled" ID="HgQueuesRenamePatchDialog.on_namedButton_toggled"></a> +<h4>HgQueuesRenamePatchDialog.on_namedButton_toggled</h4> +<b>on_namedButton_toggled</b>(<i>checked</i>) +<p> + Private slot to handle changes of the selection method. +</p><dl> +<dt><i>checked</i></dt> +<dd> +state of the check box (boolean) +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file