16 |
16 |
17 a { color: #BA6D36; } |
17 a { color: #BA6D36; } |
18 |
18 |
19 </style> |
19 </style> |
20 </head> |
20 </head> |
21 <body><a NAME="top" ID="top"></a> |
21 <body> |
|
22 <a NAME="top" ID="top"></a> |
22 <h1>eric6.Debugger.WatchPointViewer</h1> |
23 <h1>eric6.Debugger.WatchPointViewer</h1> |
|
24 |
23 <p> |
25 <p> |
24 Module implementing the watch expression viewer widget. |
26 Module implementing the watch expression viewer widget. |
25 </p> |
27 </p> |
26 <h3>Global Attributes</h3> |
28 <h3>Global Attributes</h3> |
|
29 |
27 <table> |
30 <table> |
28 <tr><td>None</td></tr> |
31 <tr><td>None</td></tr> |
29 </table> |
32 </table> |
30 <h3>Classes</h3> |
33 <h3>Classes</h3> |
31 <table> |
34 |
|
35 <table> |
|
36 |
32 <tr> |
37 <tr> |
33 <td><a href="#WatchPointViewer">WatchPointViewer</a></td> |
38 <td><a href="#WatchPointViewer">WatchPointViewer</a></td> |
34 <td>Class implementing the watch expression viewer widget.</td> |
39 <td>Class implementing the watch expression viewer widget.</td> |
35 </tr> |
40 </tr> |
36 </table> |
41 </table> |
37 <h3>Functions</h3> |
42 <h3>Functions</h3> |
|
43 |
38 <table> |
44 <table> |
39 <tr><td>None</td></tr> |
45 <tr><td>None</td></tr> |
40 </table> |
46 </table> |
41 <hr /><hr /> |
47 <hr /> |
|
48 <hr /> |
42 <a NAME="WatchPointViewer" ID="WatchPointViewer"></a> |
49 <a NAME="WatchPointViewer" ID="WatchPointViewer"></a> |
43 <h2>WatchPointViewer</h2> |
50 <h2>WatchPointViewer</h2> |
|
51 |
44 <p> |
52 <p> |
45 Class implementing the watch expression viewer widget. |
53 Class implementing the watch expression viewer widget. |
46 </p><p> |
54 </p> |
|
55 <p> |
47 Watch expressions will be shown with all their details. They can be |
56 Watch expressions will be shown with all their details. They can be |
48 modified through the context menu of this widget. |
57 modified through the context menu of this widget. |
49 </p> |
58 </p> |
50 <h3>Derived from</h3> |
59 <h3>Derived from</h3> |
51 QTreeView |
60 QTreeView |
52 <h3>Class Attributes</h3> |
61 <h3>Class Attributes</h3> |
|
62 |
53 <table> |
63 <table> |
54 <tr><td>None</td></tr> |
64 <tr><td>None</td></tr> |
55 </table> |
65 </table> |
56 <h3>Class Methods</h3> |
66 <h3>Class Methods</h3> |
|
67 |
57 <table> |
68 <table> |
58 <tr><td>None</td></tr> |
69 <tr><td>None</td></tr> |
59 </table> |
70 </table> |
60 <h3>Methods</h3> |
71 <h3>Methods</h3> |
61 <table> |
72 |
|
73 <table> |
|
74 |
62 <tr> |
75 <tr> |
63 <td><a href="#WatchPointViewer.__init__">WatchPointViewer</a></td> |
76 <td><a href="#WatchPointViewer.__init__">WatchPointViewer</a></td> |
64 <td>Constructor</td> |
77 <td>Constructor</td> |
65 </tr><tr> |
78 </tr> |
|
79 <tr> |
66 <td><a href="#WatchPointViewer.__addWatchPoint">__addWatchPoint</a></td> |
80 <td><a href="#WatchPointViewer.__addWatchPoint">__addWatchPoint</a></td> |
67 <td>Private slot to handle the add watch expression context menu entry.</td> |
81 <td>Private slot to handle the add watch expression context menu entry.</td> |
68 </tr><tr> |
82 </tr> |
|
83 <tr> |
69 <td><a href="#WatchPointViewer.__clearSelection">__clearSelection</a></td> |
84 <td><a href="#WatchPointViewer.__clearSelection">__clearSelection</a></td> |
70 <td>Private slot to clear the selection.</td> |
85 <td>Private slot to clear the selection.</td> |
71 </tr><tr> |
86 </tr> |
|
87 <tr> |
72 <td><a href="#WatchPointViewer.__configure">__configure</a></td> |
88 <td><a href="#WatchPointViewer.__configure">__configure</a></td> |
73 <td>Private method to open the configuration dialog.</td> |
89 <td>Private method to open the configuration dialog.</td> |
74 </tr><tr> |
90 </tr> |
|
91 <tr> |
75 <td><a href="#WatchPointViewer.__createPopupMenus">__createPopupMenus</a></td> |
92 <td><a href="#WatchPointViewer.__createPopupMenus">__createPopupMenus</a></td> |
76 <td>Private method to generate the popup menus.</td> |
93 <td>Private method to generate the popup menus.</td> |
77 </tr><tr> |
94 </tr> |
|
95 <tr> |
78 <td><a href="#WatchPointViewer.__deleteAllWatchPoints">__deleteAllWatchPoints</a></td> |
96 <td><a href="#WatchPointViewer.__deleteAllWatchPoints">__deleteAllWatchPoints</a></td> |
79 <td>Private slot to handle the delete all watch expressions context menu entry.</td> |
97 <td>Private slot to handle the delete all watch expressions context menu entry.</td> |
80 </tr><tr> |
98 </tr> |
|
99 <tr> |
81 <td><a href="#WatchPointViewer.__deleteSelectedWatchPoints">__deleteSelectedWatchPoints</a></td> |
100 <td><a href="#WatchPointViewer.__deleteSelectedWatchPoints">__deleteSelectedWatchPoints</a></td> |
82 <td>Private slot to handle the delete selected watch expressions context menu entry.</td> |
101 <td>Private slot to handle the delete selected watch expressions context menu entry.</td> |
83 </tr><tr> |
102 </tr> |
|
103 <tr> |
84 <td><a href="#WatchPointViewer.__deleteWatchPoint">__deleteWatchPoint</a></td> |
104 <td><a href="#WatchPointViewer.__deleteWatchPoint">__deleteWatchPoint</a></td> |
85 <td>Private slot to handle the delete watch expression context menu entry.</td> |
105 <td>Private slot to handle the delete watch expression context menu entry.</td> |
86 </tr><tr> |
106 </tr> |
|
107 <tr> |
87 <td><a href="#WatchPointViewer.__disableAllWatchPoints">__disableAllWatchPoints</a></td> |
108 <td><a href="#WatchPointViewer.__disableAllWatchPoints">__disableAllWatchPoints</a></td> |
88 <td>Private slot to handle the disable all watch expressions context menu entry.</td> |
109 <td>Private slot to handle the disable all watch expressions context menu entry.</td> |
89 </tr><tr> |
110 </tr> |
|
111 <tr> |
90 <td><a href="#WatchPointViewer.__disableSelectedWatchPoints">__disableSelectedWatchPoints</a></td> |
112 <td><a href="#WatchPointViewer.__disableSelectedWatchPoints">__disableSelectedWatchPoints</a></td> |
91 <td>Private slot to handle the disable selected watch expressions context menu entry.</td> |
113 <td>Private slot to handle the disable selected watch expressions context menu entry.</td> |
92 </tr><tr> |
114 </tr> |
|
115 <tr> |
93 <td><a href="#WatchPointViewer.__disableWatchPoint">__disableWatchPoint</a></td> |
116 <td><a href="#WatchPointViewer.__disableWatchPoint">__disableWatchPoint</a></td> |
94 <td>Private slot to handle the disable watch expression context menu entry.</td> |
117 <td>Private slot to handle the disable watch expression context menu entry.</td> |
95 </tr><tr> |
118 </tr> |
|
119 <tr> |
96 <td><a href="#WatchPointViewer.__doEditWatchPoint">__doEditWatchPoint</a></td> |
120 <td><a href="#WatchPointViewer.__doEditWatchPoint">__doEditWatchPoint</a></td> |
97 <td>Private slot to edit a watch expression.</td> |
121 <td>Private slot to edit a watch expression.</td> |
98 </tr><tr> |
122 </tr> |
|
123 <tr> |
99 <td><a href="#WatchPointViewer.__doubleClicked">__doubleClicked</a></td> |
124 <td><a href="#WatchPointViewer.__doubleClicked">__doubleClicked</a></td> |
100 <td>Private slot to handle the double clicked signal.</td> |
125 <td>Private slot to handle the double clicked signal.</td> |
101 </tr><tr> |
126 </tr> |
|
127 <tr> |
102 <td><a href="#WatchPointViewer.__editWatchPoint">__editWatchPoint</a></td> |
128 <td><a href="#WatchPointViewer.__editWatchPoint">__editWatchPoint</a></td> |
103 <td>Private slot to handle the edit watch expression context menu entry.</td> |
129 <td>Private slot to handle the edit watch expression context menu entry.</td> |
104 </tr><tr> |
130 </tr> |
|
131 <tr> |
105 <td><a href="#WatchPointViewer.__enableAllWatchPoints">__enableAllWatchPoints</a></td> |
132 <td><a href="#WatchPointViewer.__enableAllWatchPoints">__enableAllWatchPoints</a></td> |
106 <td>Private slot to handle the enable all watch expressions context menu entry.</td> |
133 <td>Private slot to handle the enable all watch expressions context menu entry.</td> |
107 </tr><tr> |
134 </tr> |
|
135 <tr> |
108 <td><a href="#WatchPointViewer.__enableSelectedWatchPoints">__enableSelectedWatchPoints</a></td> |
136 <td><a href="#WatchPointViewer.__enableSelectedWatchPoints">__enableSelectedWatchPoints</a></td> |
109 <td>Private slot to handle the enable selected watch expressions context menu entry.</td> |
137 <td>Private slot to handle the enable selected watch expressions context menu entry.</td> |
110 </tr><tr> |
138 </tr> |
|
139 <tr> |
111 <td><a href="#WatchPointViewer.__enableWatchPoint">__enableWatchPoint</a></td> |
140 <td><a href="#WatchPointViewer.__enableWatchPoint">__enableWatchPoint</a></td> |
112 <td>Private slot to handle the enable watch expression context menu entry.</td> |
141 <td>Private slot to handle the enable watch expression context menu entry.</td> |
113 </tr><tr> |
142 </tr> |
|
143 <tr> |
114 <td><a href="#WatchPointViewer.__findDuplicates">__findDuplicates</a></td> |
144 <td><a href="#WatchPointViewer.__findDuplicates">__findDuplicates</a></td> |
115 <td>Private method to check, if an entry already exists.</td> |
145 <td>Private method to check, if an entry already exists.</td> |
116 </tr><tr> |
146 </tr> |
|
147 <tr> |
117 <td><a href="#WatchPointViewer.__fromSourceIndex">__fromSourceIndex</a></td> |
148 <td><a href="#WatchPointViewer.__fromSourceIndex">__fromSourceIndex</a></td> |
118 <td>Private slot to convert a source index to an index.</td> |
149 <td>Private slot to convert a source index to an index.</td> |
119 </tr><tr> |
150 </tr> |
|
151 <tr> |
120 <td><a href="#WatchPointViewer.__getSelectedItemsCount">__getSelectedItemsCount</a></td> |
152 <td><a href="#WatchPointViewer.__getSelectedItemsCount">__getSelectedItemsCount</a></td> |
121 <td>Private method to get the count of items selected.</td> |
153 <td>Private method to get the count of items selected.</td> |
122 </tr><tr> |
154 </tr> |
|
155 <tr> |
123 <td><a href="#WatchPointViewer.__layoutDisplay">__layoutDisplay</a></td> |
156 <td><a href="#WatchPointViewer.__layoutDisplay">__layoutDisplay</a></td> |
124 <td>Private slot to perform a layout operation.</td> |
157 <td>Private slot to perform a layout operation.</td> |
125 </tr><tr> |
158 </tr> |
|
159 <tr> |
126 <td><a href="#WatchPointViewer.__resizeColumns">__resizeColumns</a></td> |
160 <td><a href="#WatchPointViewer.__resizeColumns">__resizeColumns</a></td> |
127 <td>Private slot to resize the view when items get added, edited or deleted.</td> |
161 <td>Private slot to resize the view when items get added, edited or deleted.</td> |
128 </tr><tr> |
162 </tr> |
|
163 <tr> |
129 <td><a href="#WatchPointViewer.__resort">__resort</a></td> |
164 <td><a href="#WatchPointViewer.__resort">__resort</a></td> |
130 <td>Private slot to resort the tree.</td> |
165 <td>Private slot to resort the tree.</td> |
131 </tr><tr> |
166 </tr> |
|
167 <tr> |
132 <td><a href="#WatchPointViewer.__setRowSelected">__setRowSelected</a></td> |
168 <td><a href="#WatchPointViewer.__setRowSelected">__setRowSelected</a></td> |
133 <td>Private slot to select a complete row.</td> |
169 <td>Private slot to select a complete row.</td> |
134 </tr><tr> |
170 </tr> |
|
171 <tr> |
135 <td><a href="#WatchPointViewer.__setWpEnabled">__setWpEnabled</a></td> |
172 <td><a href="#WatchPointViewer.__setWpEnabled">__setWpEnabled</a></td> |
136 <td>Private method to set the enabled status of a watch expression.</td> |
173 <td>Private method to set the enabled status of a watch expression.</td> |
137 </tr><tr> |
174 </tr> |
|
175 <tr> |
138 <td><a href="#WatchPointViewer.__showBackMenu">__showBackMenu</a></td> |
176 <td><a href="#WatchPointViewer.__showBackMenu">__showBackMenu</a></td> |
139 <td>Private slot to handle the aboutToShow signal of the background menu.</td> |
177 <td>Private slot to handle the aboutToShow signal of the background menu.</td> |
140 </tr><tr> |
178 </tr> |
|
179 <tr> |
141 <td><a href="#WatchPointViewer.__showContextMenu">__showContextMenu</a></td> |
180 <td><a href="#WatchPointViewer.__showContextMenu">__showContextMenu</a></td> |
142 <td>Private slot to show the context menu.</td> |
181 <td>Private slot to show the context menu.</td> |
143 </tr><tr> |
182 </tr> |
|
183 <tr> |
144 <td><a href="#WatchPointViewer.__toSourceIndex">__toSourceIndex</a></td> |
184 <td><a href="#WatchPointViewer.__toSourceIndex">__toSourceIndex</a></td> |
145 <td>Private slot to convert an index to a source index.</td> |
185 <td>Private slot to convert an index to a source index.</td> |
146 </tr><tr> |
186 </tr> |
|
187 <tr> |
147 <td><a href="#WatchPointViewer.setModel">setModel</a></td> |
188 <td><a href="#WatchPointViewer.setModel">setModel</a></td> |
148 <td>Public slot to set the watch expression model.</td> |
189 <td>Public slot to set the watch expression model.</td> |
149 </tr> |
190 </tr> |
150 </table> |
191 </table> |
151 <h3>Static Methods</h3> |
192 <h3>Static Methods</h3> |
|
193 |
152 <table> |
194 <table> |
153 <tr><td>None</td></tr> |
195 <tr><td>None</td></tr> |
154 </table> |
196 </table> |
|
197 |
155 <a NAME="WatchPointViewer.__init__" ID="WatchPointViewer.__init__"></a> |
198 <a NAME="WatchPointViewer.__init__" ID="WatchPointViewer.__init__"></a> |
156 <h4>WatchPointViewer (Constructor)</h4> |
199 <h4>WatchPointViewer (Constructor)</h4> |
157 <b>WatchPointViewer</b>(<i>parent=None</i>) |
200 <b>WatchPointViewer</b>(<i>parent=None</i>) |
|
201 |
158 <p> |
202 <p> |
159 Constructor |
203 Constructor |
160 </p><dl> |
204 </p> |
|
205 <dl> |
|
206 |
161 <dt><i>parent</i></dt> |
207 <dt><i>parent</i></dt> |
162 <dd> |
208 <dd> |
163 the parent (QWidget) |
209 the parent (QWidget) |
164 </dd> |
210 </dd> |
165 </dl><a NAME="WatchPointViewer.__addWatchPoint" ID="WatchPointViewer.__addWatchPoint"></a> |
211 </dl> |
|
212 <a NAME="WatchPointViewer.__addWatchPoint" ID="WatchPointViewer.__addWatchPoint"></a> |
166 <h4>WatchPointViewer.__addWatchPoint</h4> |
213 <h4>WatchPointViewer.__addWatchPoint</h4> |
167 <b>__addWatchPoint</b>(<i></i>) |
214 <b>__addWatchPoint</b>(<i></i>) |
|
215 |
168 <p> |
216 <p> |
169 Private slot to handle the add watch expression context menu entry. |
217 Private slot to handle the add watch expression context menu entry. |
170 </p><a NAME="WatchPointViewer.__clearSelection" ID="WatchPointViewer.__clearSelection"></a> |
218 </p> |
|
219 <a NAME="WatchPointViewer.__clearSelection" ID="WatchPointViewer.__clearSelection"></a> |
171 <h4>WatchPointViewer.__clearSelection</h4> |
220 <h4>WatchPointViewer.__clearSelection</h4> |
172 <b>__clearSelection</b>(<i></i>) |
221 <b>__clearSelection</b>(<i></i>) |
|
222 |
173 <p> |
223 <p> |
174 Private slot to clear the selection. |
224 Private slot to clear the selection. |
175 </p><a NAME="WatchPointViewer.__configure" ID="WatchPointViewer.__configure"></a> |
225 </p> |
|
226 <a NAME="WatchPointViewer.__configure" ID="WatchPointViewer.__configure"></a> |
176 <h4>WatchPointViewer.__configure</h4> |
227 <h4>WatchPointViewer.__configure</h4> |
177 <b>__configure</b>(<i></i>) |
228 <b>__configure</b>(<i></i>) |
|
229 |
178 <p> |
230 <p> |
179 Private method to open the configuration dialog. |
231 Private method to open the configuration dialog. |
180 </p><a NAME="WatchPointViewer.__createPopupMenus" ID="WatchPointViewer.__createPopupMenus"></a> |
232 </p> |
|
233 <a NAME="WatchPointViewer.__createPopupMenus" ID="WatchPointViewer.__createPopupMenus"></a> |
181 <h4>WatchPointViewer.__createPopupMenus</h4> |
234 <h4>WatchPointViewer.__createPopupMenus</h4> |
182 <b>__createPopupMenus</b>(<i></i>) |
235 <b>__createPopupMenus</b>(<i></i>) |
|
236 |
183 <p> |
237 <p> |
184 Private method to generate the popup menus. |
238 Private method to generate the popup menus. |
185 </p><a NAME="WatchPointViewer.__deleteAllWatchPoints" ID="WatchPointViewer.__deleteAllWatchPoints"></a> |
239 </p> |
|
240 <a NAME="WatchPointViewer.__deleteAllWatchPoints" ID="WatchPointViewer.__deleteAllWatchPoints"></a> |
186 <h4>WatchPointViewer.__deleteAllWatchPoints</h4> |
241 <h4>WatchPointViewer.__deleteAllWatchPoints</h4> |
187 <b>__deleteAllWatchPoints</b>(<i></i>) |
242 <b>__deleteAllWatchPoints</b>(<i></i>) |
|
243 |
188 <p> |
244 <p> |
189 Private slot to handle the delete all watch expressions context menu |
245 Private slot to handle the delete all watch expressions context menu |
190 entry. |
246 entry. |
191 </p><a NAME="WatchPointViewer.__deleteSelectedWatchPoints" ID="WatchPointViewer.__deleteSelectedWatchPoints"></a> |
247 </p> |
|
248 <a NAME="WatchPointViewer.__deleteSelectedWatchPoints" ID="WatchPointViewer.__deleteSelectedWatchPoints"></a> |
192 <h4>WatchPointViewer.__deleteSelectedWatchPoints</h4> |
249 <h4>WatchPointViewer.__deleteSelectedWatchPoints</h4> |
193 <b>__deleteSelectedWatchPoints</b>(<i></i>) |
250 <b>__deleteSelectedWatchPoints</b>(<i></i>) |
|
251 |
194 <p> |
252 <p> |
195 Private slot to handle the delete selected watch expressions context |
253 Private slot to handle the delete selected watch expressions context |
196 menu entry. |
254 menu entry. |
197 </p><a NAME="WatchPointViewer.__deleteWatchPoint" ID="WatchPointViewer.__deleteWatchPoint"></a> |
255 </p> |
|
256 <a NAME="WatchPointViewer.__deleteWatchPoint" ID="WatchPointViewer.__deleteWatchPoint"></a> |
198 <h4>WatchPointViewer.__deleteWatchPoint</h4> |
257 <h4>WatchPointViewer.__deleteWatchPoint</h4> |
199 <b>__deleteWatchPoint</b>(<i></i>) |
258 <b>__deleteWatchPoint</b>(<i></i>) |
|
259 |
200 <p> |
260 <p> |
201 Private slot to handle the delete watch expression context menu entry. |
261 Private slot to handle the delete watch expression context menu entry. |
202 </p><a NAME="WatchPointViewer.__disableAllWatchPoints" ID="WatchPointViewer.__disableAllWatchPoints"></a> |
262 </p> |
|
263 <a NAME="WatchPointViewer.__disableAllWatchPoints" ID="WatchPointViewer.__disableAllWatchPoints"></a> |
203 <h4>WatchPointViewer.__disableAllWatchPoints</h4> |
264 <h4>WatchPointViewer.__disableAllWatchPoints</h4> |
204 <b>__disableAllWatchPoints</b>(<i></i>) |
265 <b>__disableAllWatchPoints</b>(<i></i>) |
|
266 |
205 <p> |
267 <p> |
206 Private slot to handle the disable all watch expressions context menu |
268 Private slot to handle the disable all watch expressions context menu |
207 entry. |
269 entry. |
208 </p><a NAME="WatchPointViewer.__disableSelectedWatchPoints" ID="WatchPointViewer.__disableSelectedWatchPoints"></a> |
270 </p> |
|
271 <a NAME="WatchPointViewer.__disableSelectedWatchPoints" ID="WatchPointViewer.__disableSelectedWatchPoints"></a> |
209 <h4>WatchPointViewer.__disableSelectedWatchPoints</h4> |
272 <h4>WatchPointViewer.__disableSelectedWatchPoints</h4> |
210 <b>__disableSelectedWatchPoints</b>(<i></i>) |
273 <b>__disableSelectedWatchPoints</b>(<i></i>) |
|
274 |
211 <p> |
275 <p> |
212 Private slot to handle the disable selected watch expressions context |
276 Private slot to handle the disable selected watch expressions context |
213 menu entry. |
277 menu entry. |
214 </p><a NAME="WatchPointViewer.__disableWatchPoint" ID="WatchPointViewer.__disableWatchPoint"></a> |
278 </p> |
|
279 <a NAME="WatchPointViewer.__disableWatchPoint" ID="WatchPointViewer.__disableWatchPoint"></a> |
215 <h4>WatchPointViewer.__disableWatchPoint</h4> |
280 <h4>WatchPointViewer.__disableWatchPoint</h4> |
216 <b>__disableWatchPoint</b>(<i></i>) |
281 <b>__disableWatchPoint</b>(<i></i>) |
|
282 |
217 <p> |
283 <p> |
218 Private slot to handle the disable watch expression context menu entry. |
284 Private slot to handle the disable watch expression context menu entry. |
219 </p><a NAME="WatchPointViewer.__doEditWatchPoint" ID="WatchPointViewer.__doEditWatchPoint"></a> |
285 </p> |
|
286 <a NAME="WatchPointViewer.__doEditWatchPoint" ID="WatchPointViewer.__doEditWatchPoint"></a> |
220 <h4>WatchPointViewer.__doEditWatchPoint</h4> |
287 <h4>WatchPointViewer.__doEditWatchPoint</h4> |
221 <b>__doEditWatchPoint</b>(<i>index</i>) |
288 <b>__doEditWatchPoint</b>(<i>index</i>) |
|
289 |
222 <p> |
290 <p> |
223 Private slot to edit a watch expression. |
291 Private slot to edit a watch expression. |
224 </p><dl> |
292 </p> |
|
293 <dl> |
|
294 |
225 <dt><i>index</i></dt> |
295 <dt><i>index</i></dt> |
226 <dd> |
296 <dd> |
227 index of watch expression to be edited (QModelIndex) |
297 index of watch expression to be edited (QModelIndex) |
228 </dd> |
298 </dd> |
229 </dl><a NAME="WatchPointViewer.__doubleClicked" ID="WatchPointViewer.__doubleClicked"></a> |
299 </dl> |
|
300 <a NAME="WatchPointViewer.__doubleClicked" ID="WatchPointViewer.__doubleClicked"></a> |
230 <h4>WatchPointViewer.__doubleClicked</h4> |
301 <h4>WatchPointViewer.__doubleClicked</h4> |
231 <b>__doubleClicked</b>(<i>index</i>) |
302 <b>__doubleClicked</b>(<i>index</i>) |
|
303 |
232 <p> |
304 <p> |
233 Private slot to handle the double clicked signal. |
305 Private slot to handle the double clicked signal. |
234 </p><dl> |
306 </p> |
|
307 <dl> |
|
308 |
235 <dt><i>index</i></dt> |
309 <dt><i>index</i></dt> |
236 <dd> |
310 <dd> |
237 index of the entry that was double clicked (QModelIndex) |
311 index of the entry that was double clicked (QModelIndex) |
238 </dd> |
312 </dd> |
239 </dl><a NAME="WatchPointViewer.__editWatchPoint" ID="WatchPointViewer.__editWatchPoint"></a> |
313 </dl> |
|
314 <a NAME="WatchPointViewer.__editWatchPoint" ID="WatchPointViewer.__editWatchPoint"></a> |
240 <h4>WatchPointViewer.__editWatchPoint</h4> |
315 <h4>WatchPointViewer.__editWatchPoint</h4> |
241 <b>__editWatchPoint</b>(<i></i>) |
316 <b>__editWatchPoint</b>(<i></i>) |
|
317 |
242 <p> |
318 <p> |
243 Private slot to handle the edit watch expression context menu entry. |
319 Private slot to handle the edit watch expression context menu entry. |
244 </p><a NAME="WatchPointViewer.__enableAllWatchPoints" ID="WatchPointViewer.__enableAllWatchPoints"></a> |
320 </p> |
|
321 <a NAME="WatchPointViewer.__enableAllWatchPoints" ID="WatchPointViewer.__enableAllWatchPoints"></a> |
245 <h4>WatchPointViewer.__enableAllWatchPoints</h4> |
322 <h4>WatchPointViewer.__enableAllWatchPoints</h4> |
246 <b>__enableAllWatchPoints</b>(<i></i>) |
323 <b>__enableAllWatchPoints</b>(<i></i>) |
|
324 |
247 <p> |
325 <p> |
248 Private slot to handle the enable all watch expressions context menu |
326 Private slot to handle the enable all watch expressions context menu |
249 entry. |
327 entry. |
250 </p><a NAME="WatchPointViewer.__enableSelectedWatchPoints" ID="WatchPointViewer.__enableSelectedWatchPoints"></a> |
328 </p> |
|
329 <a NAME="WatchPointViewer.__enableSelectedWatchPoints" ID="WatchPointViewer.__enableSelectedWatchPoints"></a> |
251 <h4>WatchPointViewer.__enableSelectedWatchPoints</h4> |
330 <h4>WatchPointViewer.__enableSelectedWatchPoints</h4> |
252 <b>__enableSelectedWatchPoints</b>(<i></i>) |
331 <b>__enableSelectedWatchPoints</b>(<i></i>) |
|
332 |
253 <p> |
333 <p> |
254 Private slot to handle the enable selected watch expressions context |
334 Private slot to handle the enable selected watch expressions context |
255 menu entry. |
335 menu entry. |
256 </p><a NAME="WatchPointViewer.__enableWatchPoint" ID="WatchPointViewer.__enableWatchPoint"></a> |
336 </p> |
|
337 <a NAME="WatchPointViewer.__enableWatchPoint" ID="WatchPointViewer.__enableWatchPoint"></a> |
257 <h4>WatchPointViewer.__enableWatchPoint</h4> |
338 <h4>WatchPointViewer.__enableWatchPoint</h4> |
258 <b>__enableWatchPoint</b>(<i></i>) |
339 <b>__enableWatchPoint</b>(<i></i>) |
|
340 |
259 <p> |
341 <p> |
260 Private slot to handle the enable watch expression context menu entry. |
342 Private slot to handle the enable watch expression context menu entry. |
261 </p><a NAME="WatchPointViewer.__findDuplicates" ID="WatchPointViewer.__findDuplicates"></a> |
343 </p> |
|
344 <a NAME="WatchPointViewer.__findDuplicates" ID="WatchPointViewer.__findDuplicates"></a> |
262 <h4>WatchPointViewer.__findDuplicates</h4> |
345 <h4>WatchPointViewer.__findDuplicates</h4> |
263 <b>__findDuplicates</b>(<i>cond, special, showMessage=False, index=None</i>) |
346 <b>__findDuplicates</b>(<i>cond, special, showMessage=False, index=None</i>) |
|
347 |
264 <p> |
348 <p> |
265 Private method to check, if an entry already exists. |
349 Private method to check, if an entry already exists. |
266 </p><dl> |
350 </p> |
|
351 <dl> |
|
352 |
267 <dt><i>cond</i></dt> |
353 <dt><i>cond</i></dt> |
268 <dd> |
354 <dd> |
269 condition to check (string) |
355 condition to check (string) |
270 </dd><dt><i>special</i></dt> |
356 </dd> |
|
357 <dt><i>special</i></dt> |
271 <dd> |
358 <dd> |
272 special condition to check (string) |
359 special condition to check (string) |
273 </dd><dt><i>showMessage</i></dt> |
360 </dd> |
|
361 <dt><i>showMessage</i></dt> |
274 <dd> |
362 <dd> |
275 flag indicating a message should be shown, |
363 flag indicating a message should be shown, |
276 if a duplicate entry is found (boolean) |
364 if a duplicate entry is found (boolean) |
277 </dd><dt><i>index</i></dt> |
365 </dd> |
|
366 <dt><i>index</i></dt> |
278 <dd> |
367 <dd> |
279 index that should not be considered duplicate |
368 index that should not be considered duplicate |
280 (QModelIndex) |
369 (QModelIndex) |
281 </dd> |
370 </dd> |
282 </dl><dl> |
371 </dl> |
|
372 <dl> |
283 <dt>Returns:</dt> |
373 <dt>Returns:</dt> |
284 <dd> |
374 <dd> |
285 flag indicating a duplicate entry (boolean) |
375 flag indicating a duplicate entry (boolean) |
286 </dd> |
376 </dd> |
287 </dl><a NAME="WatchPointViewer.__fromSourceIndex" ID="WatchPointViewer.__fromSourceIndex"></a> |
377 </dl> |
|
378 <a NAME="WatchPointViewer.__fromSourceIndex" ID="WatchPointViewer.__fromSourceIndex"></a> |
288 <h4>WatchPointViewer.__fromSourceIndex</h4> |
379 <h4>WatchPointViewer.__fromSourceIndex</h4> |
289 <b>__fromSourceIndex</b>(<i>sindex</i>) |
380 <b>__fromSourceIndex</b>(<i>sindex</i>) |
|
381 |
290 <p> |
382 <p> |
291 Private slot to convert a source index to an index. |
383 Private slot to convert a source index to an index. |
292 </p><dl> |
384 </p> |
|
385 <dl> |
|
386 |
293 <dt><i>sindex</i></dt> |
387 <dt><i>sindex</i></dt> |
294 <dd> |
388 <dd> |
295 source index to be converted (QModelIndex) |
389 source index to be converted (QModelIndex) |
296 </dd> |
390 </dd> |
297 </dl><dl> |
391 </dl> |
|
392 <dl> |
298 <dt>Returns:</dt> |
393 <dt>Returns:</dt> |
299 <dd> |
394 <dd> |
300 mapped index (QModelIndex) |
395 mapped index (QModelIndex) |
301 </dd> |
396 </dd> |
302 </dl><a NAME="WatchPointViewer.__getSelectedItemsCount" ID="WatchPointViewer.__getSelectedItemsCount"></a> |
397 </dl> |
|
398 <a NAME="WatchPointViewer.__getSelectedItemsCount" ID="WatchPointViewer.__getSelectedItemsCount"></a> |
303 <h4>WatchPointViewer.__getSelectedItemsCount</h4> |
399 <h4>WatchPointViewer.__getSelectedItemsCount</h4> |
304 <b>__getSelectedItemsCount</b>(<i></i>) |
400 <b>__getSelectedItemsCount</b>(<i></i>) |
|
401 |
305 <p> |
402 <p> |
306 Private method to get the count of items selected. |
403 Private method to get the count of items selected. |
307 </p><dl> |
404 </p> |
|
405 <dl> |
308 <dt>Returns:</dt> |
406 <dt>Returns:</dt> |
309 <dd> |
407 <dd> |
310 count of items selected (integer) |
408 count of items selected (integer) |
311 </dd> |
409 </dd> |
312 </dl><a NAME="WatchPointViewer.__layoutDisplay" ID="WatchPointViewer.__layoutDisplay"></a> |
410 </dl> |
|
411 <a NAME="WatchPointViewer.__layoutDisplay" ID="WatchPointViewer.__layoutDisplay"></a> |
313 <h4>WatchPointViewer.__layoutDisplay</h4> |
412 <h4>WatchPointViewer.__layoutDisplay</h4> |
314 <b>__layoutDisplay</b>(<i></i>) |
413 <b>__layoutDisplay</b>(<i></i>) |
|
414 |
315 <p> |
415 <p> |
316 Private slot to perform a layout operation. |
416 Private slot to perform a layout operation. |
317 </p><a NAME="WatchPointViewer.__resizeColumns" ID="WatchPointViewer.__resizeColumns"></a> |
417 </p> |
|
418 <a NAME="WatchPointViewer.__resizeColumns" ID="WatchPointViewer.__resizeColumns"></a> |
318 <h4>WatchPointViewer.__resizeColumns</h4> |
419 <h4>WatchPointViewer.__resizeColumns</h4> |
319 <b>__resizeColumns</b>(<i></i>) |
420 <b>__resizeColumns</b>(<i></i>) |
|
421 |
320 <p> |
422 <p> |
321 Private slot to resize the view when items get added, edited or |
423 Private slot to resize the view when items get added, edited or |
322 deleted. |
424 deleted. |
323 </p><a NAME="WatchPointViewer.__resort" ID="WatchPointViewer.__resort"></a> |
425 </p> |
|
426 <a NAME="WatchPointViewer.__resort" ID="WatchPointViewer.__resort"></a> |
324 <h4>WatchPointViewer.__resort</h4> |
427 <h4>WatchPointViewer.__resort</h4> |
325 <b>__resort</b>(<i></i>) |
428 <b>__resort</b>(<i></i>) |
|
429 |
326 <p> |
430 <p> |
327 Private slot to resort the tree. |
431 Private slot to resort the tree. |
328 </p><a NAME="WatchPointViewer.__setRowSelected" ID="WatchPointViewer.__setRowSelected"></a> |
432 </p> |
|
433 <a NAME="WatchPointViewer.__setRowSelected" ID="WatchPointViewer.__setRowSelected"></a> |
329 <h4>WatchPointViewer.__setRowSelected</h4> |
434 <h4>WatchPointViewer.__setRowSelected</h4> |
330 <b>__setRowSelected</b>(<i>index, selected=True</i>) |
435 <b>__setRowSelected</b>(<i>index, selected=True</i>) |
|
436 |
331 <p> |
437 <p> |
332 Private slot to select a complete row. |
438 Private slot to select a complete row. |
333 </p><dl> |
439 </p> |
|
440 <dl> |
|
441 |
334 <dt><i>index</i></dt> |
442 <dt><i>index</i></dt> |
335 <dd> |
443 <dd> |
336 index determining the row to be selected (QModelIndex) |
444 index determining the row to be selected (QModelIndex) |
337 </dd><dt><i>selected</i></dt> |
445 </dd> |
|
446 <dt><i>selected</i></dt> |
338 <dd> |
447 <dd> |
339 flag indicating the action (bool) |
448 flag indicating the action (bool) |
340 </dd> |
449 </dd> |
341 </dl><a NAME="WatchPointViewer.__setWpEnabled" ID="WatchPointViewer.__setWpEnabled"></a> |
450 </dl> |
|
451 <a NAME="WatchPointViewer.__setWpEnabled" ID="WatchPointViewer.__setWpEnabled"></a> |
342 <h4>WatchPointViewer.__setWpEnabled</h4> |
452 <h4>WatchPointViewer.__setWpEnabled</h4> |
343 <b>__setWpEnabled</b>(<i>index, enabled</i>) |
453 <b>__setWpEnabled</b>(<i>index, enabled</i>) |
|
454 |
344 <p> |
455 <p> |
345 Private method to set the enabled status of a watch expression. |
456 Private method to set the enabled status of a watch expression. |
346 </p><dl> |
457 </p> |
|
458 <dl> |
|
459 |
347 <dt><i>index</i></dt> |
460 <dt><i>index</i></dt> |
348 <dd> |
461 <dd> |
349 index of watch expression to be enabled/disabled |
462 index of watch expression to be enabled/disabled |
350 (QModelIndex) |
463 (QModelIndex) |
351 </dd><dt><i>enabled</i></dt> |
464 </dd> |
|
465 <dt><i>enabled</i></dt> |
352 <dd> |
466 <dd> |
353 flag indicating the enabled status to be set (boolean) |
467 flag indicating the enabled status to be set (boolean) |
354 </dd> |
468 </dd> |
355 </dl><a NAME="WatchPointViewer.__showBackMenu" ID="WatchPointViewer.__showBackMenu"></a> |
469 </dl> |
|
470 <a NAME="WatchPointViewer.__showBackMenu" ID="WatchPointViewer.__showBackMenu"></a> |
356 <h4>WatchPointViewer.__showBackMenu</h4> |
471 <h4>WatchPointViewer.__showBackMenu</h4> |
357 <b>__showBackMenu</b>(<i></i>) |
472 <b>__showBackMenu</b>(<i></i>) |
|
473 |
358 <p> |
474 <p> |
359 Private slot to handle the aboutToShow signal of the background menu. |
475 Private slot to handle the aboutToShow signal of the background menu. |
360 </p><a NAME="WatchPointViewer.__showContextMenu" ID="WatchPointViewer.__showContextMenu"></a> |
476 </p> |
|
477 <a NAME="WatchPointViewer.__showContextMenu" ID="WatchPointViewer.__showContextMenu"></a> |
361 <h4>WatchPointViewer.__showContextMenu</h4> |
478 <h4>WatchPointViewer.__showContextMenu</h4> |
362 <b>__showContextMenu</b>(<i>coord</i>) |
479 <b>__showContextMenu</b>(<i>coord</i>) |
|
480 |
363 <p> |
481 <p> |
364 Private slot to show the context menu. |
482 Private slot to show the context menu. |
365 </p><dl> |
483 </p> |
|
484 <dl> |
|
485 |
366 <dt><i>coord</i></dt> |
486 <dt><i>coord</i></dt> |
367 <dd> |
487 <dd> |
368 the position of the mouse pointer (QPoint) |
488 the position of the mouse pointer (QPoint) |
369 </dd> |
489 </dd> |
370 </dl><a NAME="WatchPointViewer.__toSourceIndex" ID="WatchPointViewer.__toSourceIndex"></a> |
490 </dl> |
|
491 <a NAME="WatchPointViewer.__toSourceIndex" ID="WatchPointViewer.__toSourceIndex"></a> |
371 <h4>WatchPointViewer.__toSourceIndex</h4> |
492 <h4>WatchPointViewer.__toSourceIndex</h4> |
372 <b>__toSourceIndex</b>(<i>index</i>) |
493 <b>__toSourceIndex</b>(<i>index</i>) |
|
494 |
373 <p> |
495 <p> |
374 Private slot to convert an index to a source index. |
496 Private slot to convert an index to a source index. |
375 </p><dl> |
497 </p> |
|
498 <dl> |
|
499 |
376 <dt><i>index</i></dt> |
500 <dt><i>index</i></dt> |
377 <dd> |
501 <dd> |
378 index to be converted (QModelIndex) |
502 index to be converted (QModelIndex) |
379 </dd> |
503 </dd> |
380 </dl><dl> |
504 </dl> |
|
505 <dl> |
381 <dt>Returns:</dt> |
506 <dt>Returns:</dt> |
382 <dd> |
507 <dd> |
383 mapped index (QModelIndex) |
508 mapped index (QModelIndex) |
384 </dd> |
509 </dd> |
385 </dl><a NAME="WatchPointViewer.setModel" ID="WatchPointViewer.setModel"></a> |
510 </dl> |
|
511 <a NAME="WatchPointViewer.setModel" ID="WatchPointViewer.setModel"></a> |
386 <h4>WatchPointViewer.setModel</h4> |
512 <h4>WatchPointViewer.setModel</h4> |
387 <b>setModel</b>(<i>model</i>) |
513 <b>setModel</b>(<i>model</i>) |
|
514 |
388 <p> |
515 <p> |
389 Public slot to set the watch expression model. |
516 Public slot to set the watch expression model. |
390 </p><dl> |
517 </p> |
|
518 <dl> |
|
519 |
391 <dt><i>model</i></dt> |
520 <dt><i>model</i></dt> |
392 <dd> |
521 <dd> |
393 reference to the watch expression model (WatchPointModel) |
522 reference to the watch expression model (WatchPointModel) |
394 </dd> |
523 </dd> |
395 </dl> |
524 </dl> |