|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric6.Debugger.StartHistoryEditDialog</title> |
|
4 <meta charset="UTF-8"> |
|
5 <style> |
|
6 body { |
|
7 background: #EDECE6; |
|
8 margin: 0em 1em 10em 1em; |
|
9 color: black; |
|
10 } |
|
11 |
|
12 h1 { color: white; background: #85774A; } |
|
13 h2 { color: white; background: #85774A; } |
|
14 h3 { color: white; background: #9D936E; } |
|
15 h4 { color: white; background: #9D936E; } |
|
16 |
|
17 a { color: #BA6D36; } |
|
18 |
|
19 </style> |
|
20 </head> |
|
21 <body><a NAME="top" ID="top"></a> |
|
22 <h1>eric6.Debugger.StartHistoryEditDialog</h1> |
|
23 <p> |
|
24 Module implementing a dialog to edit a list of history entries. |
|
25 </p> |
|
26 <h3>Global Attributes</h3> |
|
27 <table> |
|
28 <tr><td>None</td></tr> |
|
29 </table> |
|
30 <h3>Classes</h3> |
|
31 <table> |
|
32 <tr> |
|
33 <td><a href="#StartHistoryEditDialog">StartHistoryEditDialog</a></td> |
|
34 <td>Class implementing a dialog to edit a list of history entries.</td> |
|
35 </tr> |
|
36 </table> |
|
37 <h3>Functions</h3> |
|
38 <table> |
|
39 <tr><td>None</td></tr> |
|
40 </table> |
|
41 <hr /><hr /> |
|
42 <a NAME="StartHistoryEditDialog" ID="StartHistoryEditDialog"></a> |
|
43 <h2>StartHistoryEditDialog</h2> |
|
44 <p> |
|
45 Class implementing a dialog to edit a list of history entries. |
|
46 </p> |
|
47 <h3>Derived from</h3> |
|
48 QDialog, Ui_StartHistoryEditDialog |
|
49 <h3>Class Attributes</h3> |
|
50 <table> |
|
51 <tr><td>None</td></tr> |
|
52 </table> |
|
53 <h3>Class Methods</h3> |
|
54 <table> |
|
55 <tr><td>None</td></tr> |
|
56 </table> |
|
57 <h3>Methods</h3> |
|
58 <table> |
|
59 <tr> |
|
60 <td><a href="#StartHistoryEditDialog.__init__">StartHistoryEditDialog</a></td> |
|
61 <td>Constructor</td> |
|
62 </tr><tr> |
|
63 <td><a href="#StartHistoryEditDialog.__updateEditButtons">__updateEditButtons</a></td> |
|
64 <td>Private method to set the state of the edit buttons.</td> |
|
65 </tr><tr> |
|
66 <td><a href="#StartHistoryEditDialog.getHistory">getHistory</a></td> |
|
67 <td>Public method to get the new list of history entries.</td> |
|
68 </tr><tr> |
|
69 <td><a href="#StartHistoryEditDialog.on_deleteAllButton_clicked">on_deleteAllButton_clicked</a></td> |
|
70 <td>Private slot to delete all entries.</td> |
|
71 </tr><tr> |
|
72 <td><a href="#StartHistoryEditDialog.on_deleteButton_clicked">on_deleteButton_clicked</a></td> |
|
73 <td>Private slot to delete the selected entries.</td> |
|
74 </tr><tr> |
|
75 <td><a href="#StartHistoryEditDialog.on_editButton_clicked">on_editButton_clicked</a></td> |
|
76 <td>Private slot to edit the selected entry.</td> |
|
77 </tr><tr> |
|
78 <td><a href="#StartHistoryEditDialog.on_historyList_itemSelectionChanged">on_historyList_itemSelectionChanged</a></td> |
|
79 <td>Private slot to handle the selection of entries.</td> |
|
80 </tr> |
|
81 </table> |
|
82 <h3>Static Methods</h3> |
|
83 <table> |
|
84 <tr><td>None</td></tr> |
|
85 </table> |
|
86 <a NAME="StartHistoryEditDialog.__init__" ID="StartHistoryEditDialog.__init__"></a> |
|
87 <h4>StartHistoryEditDialog (Constructor)</h4> |
|
88 <b>StartHistoryEditDialog</b>(<i>history, parent=None</i>) |
|
89 <p> |
|
90 Constructor |
|
91 </p><dl> |
|
92 <dt><i>history</i> (list of str)</dt> |
|
93 <dd> |
|
94 list of history entries to be edited |
|
95 </dd><dt><i>parent</i> (QWidget)</dt> |
|
96 <dd> |
|
97 reference to the parent widget |
|
98 </dd> |
|
99 </dl><a NAME="StartHistoryEditDialog.__updateEditButtons" ID="StartHistoryEditDialog.__updateEditButtons"></a> |
|
100 <h4>StartHistoryEditDialog.__updateEditButtons</h4> |
|
101 <b>__updateEditButtons</b>(<i></i>) |
|
102 <p> |
|
103 Private method to set the state of the edit buttons. |
|
104 </p><a NAME="StartHistoryEditDialog.getHistory" ID="StartHistoryEditDialog.getHistory"></a> |
|
105 <h4>StartHistoryEditDialog.getHistory</h4> |
|
106 <b>getHistory</b>(<i></i>) |
|
107 <p> |
|
108 Public method to get the new list of history entries. |
|
109 </p><dl> |
|
110 <dt>Returns:</dt> |
|
111 <dd> |
|
112 list of history entries |
|
113 </dd> |
|
114 </dl><dl> |
|
115 <dt>Return Type:</dt> |
|
116 <dd> |
|
117 list of str |
|
118 </dd> |
|
119 </dl><a NAME="StartHistoryEditDialog.on_deleteAllButton_clicked" ID="StartHistoryEditDialog.on_deleteAllButton_clicked"></a> |
|
120 <h4>StartHistoryEditDialog.on_deleteAllButton_clicked</h4> |
|
121 <b>on_deleteAllButton_clicked</b>(<i></i>) |
|
122 <p> |
|
123 Private slot to delete all entries. |
|
124 </p><a NAME="StartHistoryEditDialog.on_deleteButton_clicked" ID="StartHistoryEditDialog.on_deleteButton_clicked"></a> |
|
125 <h4>StartHistoryEditDialog.on_deleteButton_clicked</h4> |
|
126 <b>on_deleteButton_clicked</b>(<i></i>) |
|
127 <p> |
|
128 Private slot to delete the selected entries. |
|
129 </p><a NAME="StartHistoryEditDialog.on_editButton_clicked" ID="StartHistoryEditDialog.on_editButton_clicked"></a> |
|
130 <h4>StartHistoryEditDialog.on_editButton_clicked</h4> |
|
131 <b>on_editButton_clicked</b>(<i></i>) |
|
132 <p> |
|
133 Private slot to edit the selected entry. |
|
134 </p><a NAME="StartHistoryEditDialog.on_historyList_itemSelectionChanged" ID="StartHistoryEditDialog.on_historyList_itemSelectionChanged"></a> |
|
135 <h4>StartHistoryEditDialog.on_historyList_itemSelectionChanged</h4> |
|
136 <b>on_historyList_itemSelectionChanged</b>(<i></i>) |
|
137 <p> |
|
138 Private slot to handle the selection of entries. |
|
139 </p> |
|
140 <div align="right"><a href="#top">Up</a></div> |
|
141 <hr /> |
|
142 </body></html> |