Documentation/Source/eric6.Debugger.StartHistoryEditDialog.html

Sun, 11 Dec 2016 18:28:42 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 11 Dec 2016 18:28:42 +0100
changeset 5372
7ba8d3d61fdd
permissions
-rw-r--r--

Added the capability to edit the history lists to the start dialogs of the debugger.

<!DOCTYPE html>
<html><head>
<title>eric6.Debugger.StartHistoryEditDialog</title>
<meta charset="UTF-8">
<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>eric6.Debugger.StartHistoryEditDialog</h1>
<p>
Module implementing a dialog to edit a list of history entries.
</p>
<h3>Global Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Classes</h3>
<table>
<tr>
<td><a href="#StartHistoryEditDialog">StartHistoryEditDialog</a></td>
<td>Class implementing a dialog to edit a list of history entries.</td>
</tr>
</table>
<h3>Functions</h3>
<table>
<tr><td>None</td></tr>
</table>
<hr /><hr />
<a NAME="StartHistoryEditDialog" ID="StartHistoryEditDialog"></a>
<h2>StartHistoryEditDialog</h2>
<p>
    Class implementing a dialog to edit a list of history entries.
</p>
<h3>Derived from</h3>
QDialog, Ui_StartHistoryEditDialog
<h3>Class Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Class Methods</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Methods</h3>
<table>
<tr>
<td><a href="#StartHistoryEditDialog.__init__">StartHistoryEditDialog</a></td>
<td>Constructor</td>
</tr><tr>
<td><a href="#StartHistoryEditDialog.__updateEditButtons">__updateEditButtons</a></td>
<td>Private method to set the state of the edit buttons.</td>
</tr><tr>
<td><a href="#StartHistoryEditDialog.getHistory">getHistory</a></td>
<td>Public method to get the new list of history entries.</td>
</tr><tr>
<td><a href="#StartHistoryEditDialog.on_deleteAllButton_clicked">on_deleteAllButton_clicked</a></td>
<td>Private slot to delete all entries.</td>
</tr><tr>
<td><a href="#StartHistoryEditDialog.on_deleteButton_clicked">on_deleteButton_clicked</a></td>
<td>Private slot to delete the selected entries.</td>
</tr><tr>
<td><a href="#StartHistoryEditDialog.on_editButton_clicked">on_editButton_clicked</a></td>
<td>Private slot to edit the selected entry.</td>
</tr><tr>
<td><a href="#StartHistoryEditDialog.on_historyList_itemSelectionChanged">on_historyList_itemSelectionChanged</a></td>
<td>Private slot to handle the selection of entries.</td>
</tr>
</table>
<h3>Static Methods</h3>
<table>
<tr><td>None</td></tr>
</table>
<a NAME="StartHistoryEditDialog.__init__" ID="StartHistoryEditDialog.__init__"></a>
<h4>StartHistoryEditDialog (Constructor)</h4>
<b>StartHistoryEditDialog</b>(<i>history, parent=None</i>)
<p>
        Constructor
</p><dl>
<dt><i>history</i> (list of str)</dt>
<dd>
list of history entries to be edited
</dd><dt><i>parent</i> (QWidget)</dt>
<dd>
reference to the parent widget
</dd>
</dl><a NAME="StartHistoryEditDialog.__updateEditButtons" ID="StartHistoryEditDialog.__updateEditButtons"></a>
<h4>StartHistoryEditDialog.__updateEditButtons</h4>
<b>__updateEditButtons</b>(<i></i>)
<p>
        Private method to set the state of the edit buttons.
</p><a NAME="StartHistoryEditDialog.getHistory" ID="StartHistoryEditDialog.getHistory"></a>
<h4>StartHistoryEditDialog.getHistory</h4>
<b>getHistory</b>(<i></i>)
<p>
        Public method to get the new list of history entries.
</p><dl>
<dt>Returns:</dt>
<dd>
list of history entries
</dd>
</dl><dl>
<dt>Return Type:</dt>
<dd>
list of str
</dd>
</dl><a NAME="StartHistoryEditDialog.on_deleteAllButton_clicked" ID="StartHistoryEditDialog.on_deleteAllButton_clicked"></a>
<h4>StartHistoryEditDialog.on_deleteAllButton_clicked</h4>
<b>on_deleteAllButton_clicked</b>(<i></i>)
<p>
        Private slot to delete all entries.
</p><a NAME="StartHistoryEditDialog.on_deleteButton_clicked" ID="StartHistoryEditDialog.on_deleteButton_clicked"></a>
<h4>StartHistoryEditDialog.on_deleteButton_clicked</h4>
<b>on_deleteButton_clicked</b>(<i></i>)
<p>
        Private slot to delete the selected entries.
</p><a NAME="StartHistoryEditDialog.on_editButton_clicked" ID="StartHistoryEditDialog.on_editButton_clicked"></a>
<h4>StartHistoryEditDialog.on_editButton_clicked</h4>
<b>on_editButton_clicked</b>(<i></i>)
<p>
        Private slot to edit the selected entry.
</p><a NAME="StartHistoryEditDialog.on_historyList_itemSelectionChanged" ID="StartHistoryEditDialog.on_historyList_itemSelectionChanged"></a>
<h4>StartHistoryEditDialog.on_historyList_itemSelectionChanged</h4>
<b>on_historyList_itemSelectionChanged</b>(<i></i>)
<p>
        Private slot to handle the selection of entries.
</p>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial