--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Documentation/Source/eric5.QScintilla.ShellHistoryDialog.html Sat Jan 02 18:19:35 2010 +0000 @@ -0,0 +1,134 @@ +<?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.QScintilla.ShellHistoryDialog</title> +<style> +b'body {\n background:white;\n margin: 0em 1em 10em 1em;\n color: black;\n}\n\nh1 { color: white; background: #4FA4FF; }\nh2 { color: white; background: #4FA4FF; }\nh3 { color: white; background: #00557F; }\nh4 { color: white; background: #00557F; }\n \na { color: #AA5500; }\n' +</style> +</head> +<body><a NAME="top" ID="top"></a> +<h1>eric5.QScintilla.ShellHistoryDialog</h1> +<p> +Module implementing the shell history dialog. +</p> +<h3>Global Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> +<table> +<tr> +<td><a href="#ShellHistoryDialog">ShellHistoryDialog</a></td> +<td>Class implementing the shell history dialog.</td> +</tr> +</table> +<h3>Functions</h3> +<table> +<tr><td>None</td></tr> +</table> +<hr /><hr /> +<a NAME="ShellHistoryDialog" ID="ShellHistoryDialog"></a> +<h2>ShellHistoryDialog</h2> +<p> + Class implementing the shell history dialog. +</p> +<h3>Derived from</h3> +QDialog, Ui_ShellHistoryDialog +<h3>Class Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> +<table> +<tr> +<td><a href="#ShellHistoryDialog.__init__">ShellHistoryDialog</a></td> +<td>Constructor</td> +</tr><tr> +<td><a href="#ShellHistoryDialog.getHistory">getHistory</a></td> +<td>Public method to retrieve the history from the dialog.</td> +</tr><tr> +<td><a href="#ShellHistoryDialog.on_copyButton_clicked">on_copyButton_clicked</a></td> +<td>Private slot to copy the selected entries to the current editor.</td> +</tr><tr> +<td><a href="#ShellHistoryDialog.on_deleteButton_clicked">on_deleteButton_clicked</a></td> +<td>Private slot to delete the selected entries from the history.</td> +</tr><tr> +<td><a href="#ShellHistoryDialog.on_executeButton_clicked">on_executeButton_clicked</a></td> +<td>Private slot to execute the selected entries in the shell.</td> +</tr><tr> +<td><a href="#ShellHistoryDialog.on_historyList_itemDoubleClicked">on_historyList_itemDoubleClicked</a></td> +<td>Private slot to handle a double click of an item.</td> +</tr><tr> +<td><a href="#ShellHistoryDialog.on_historyList_itemSelectionChanged">on_historyList_itemSelectionChanged</a></td> +<td>Private slot to handle a change of the selection.</td> +</tr><tr> +<td><a href="#ShellHistoryDialog.on_reloadButton_clicked">on_reloadButton_clicked</a></td> +<td>Private slot to reload the history.</td> +</tr> +</table> +<a NAME="ShellHistoryDialog.__init__" ID="ShellHistoryDialog.__init__"></a> +<h4>ShellHistoryDialog (Constructor)</h4> +<b>ShellHistoryDialog</b>(<i>history, vm, shell</i>) +<p> + Constructor +</p><dl> +<dt><i>history</i></dt> +<dd> +reference to the current shell history (list of strings) +</dd><dt><i>vm</i></dt> +<dd> +reference to the viewmanager object +</dd><dt><i>shell</i></dt> +<dd> +reference to the shell object +</dd> +</dl><a NAME="ShellHistoryDialog.getHistory" ID="ShellHistoryDialog.getHistory"></a> +<h4>ShellHistoryDialog.getHistory</h4> +<b>getHistory</b>(<i></i>) +<p> + Public method to retrieve the history from the dialog. +</p><dl> +<dt>Returns:</dt> +<dd> +list of history entries (list of strings) +</dd> +</dl><a NAME="ShellHistoryDialog.on_copyButton_clicked" ID="ShellHistoryDialog.on_copyButton_clicked"></a> +<h4>ShellHistoryDialog.on_copyButton_clicked</h4> +<b>on_copyButton_clicked</b>(<i></i>) +<p> + Private slot to copy the selected entries to the current editor. +</p><a NAME="ShellHistoryDialog.on_deleteButton_clicked" ID="ShellHistoryDialog.on_deleteButton_clicked"></a> +<h4>ShellHistoryDialog.on_deleteButton_clicked</h4> +<b>on_deleteButton_clicked</b>(<i></i>) +<p> + Private slot to delete the selected entries from the history. +</p><a NAME="ShellHistoryDialog.on_executeButton_clicked" ID="ShellHistoryDialog.on_executeButton_clicked"></a> +<h4>ShellHistoryDialog.on_executeButton_clicked</h4> +<b>on_executeButton_clicked</b>(<i></i>) +<p> + Private slot to execute the selected entries in the shell. +</p><a NAME="ShellHistoryDialog.on_historyList_itemDoubleClicked" ID="ShellHistoryDialog.on_historyList_itemDoubleClicked"></a> +<h4>ShellHistoryDialog.on_historyList_itemDoubleClicked</h4> +<b>on_historyList_itemDoubleClicked</b>(<i>item</i>) +<p> + Private slot to handle a double click of an item. +</p><dl> +<dt><i>item</i></dt> +<dd> +reference to the item that was double clicked (QListWidgetItem) +</dd> +</dl><a NAME="ShellHistoryDialog.on_historyList_itemSelectionChanged" ID="ShellHistoryDialog.on_historyList_itemSelectionChanged"></a> +<h4>ShellHistoryDialog.on_historyList_itemSelectionChanged</h4> +<b>on_historyList_itemSelectionChanged</b>(<i></i>) +<p> + Private slot to handle a change of the selection. +</p><a NAME="ShellHistoryDialog.on_reloadButton_clicked" ID="ShellHistoryDialog.on_reloadButton_clicked"></a> +<h4>ShellHistoryDialog.on_reloadButton_clicked</h4> +<b>on_reloadButton_clicked</b>(<i></i>) +<p> + Private slot to reload the history. +</p> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file