eric6/Documentation/Source/eric6.Debugger.WatchPointModel.html

changeset 7273
391d6b7b1eff
parent 6942
2602857055c5
child 7989
a21d673a8f99
equal deleted inserted replaced
7272:1779dc278077 7273:391d6b7b1eff
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.WatchPointModel</h1> 23 <h1>eric6.Debugger.WatchPointModel</h1>
24
23 <p> 25 <p>
24 Module implementing the Watch expression model. 26 Module implementing the Watch expression model.
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="#WatchPointModel">WatchPointModel</a></td> 38 <td><a href="#WatchPointModel">WatchPointModel</a></td>
34 <td>Class implementing a custom model for watch expressions.</td> 39 <td>Class implementing a custom model for watch expressions.</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="WatchPointModel" ID="WatchPointModel"></a> 49 <a NAME="WatchPointModel" ID="WatchPointModel"></a>
43 <h2>WatchPointModel</h2> 50 <h2>WatchPointModel</h2>
51
44 <p> 52 <p>
45 Class implementing a custom model for watch expressions. 53 Class implementing a custom model for watch expressions.
46 </p><h3>Signals</h3> 54 </p>
47 <dl> 55 <h3>Signals</h3>
56 <dl>
57
48 <dt>dataAboutToBeChanged(QModelIndex, QModelIndex)</dt> 58 <dt>dataAboutToBeChanged(QModelIndex, QModelIndex)</dt>
49 <dd> 59 <dd>
50 emitted to indicate 60 emitted to indicate
51 a change of the data 61 a change of the data
52 </dd> 62 </dd>
53 </dl> 63 </dl>
54 <h3>Derived from</h3> 64 <h3>Derived from</h3>
55 QAbstractItemModel 65 QAbstractItemModel
56 <h3>Class Attributes</h3> 66 <h3>Class Attributes</h3>
67
57 <table> 68 <table>
58 <tr><td>None</td></tr> 69 <tr><td>None</td></tr>
59 </table> 70 </table>
60 <h3>Class Methods</h3> 71 <h3>Class Methods</h3>
72
61 <table> 73 <table>
62 <tr><td>None</td></tr> 74 <tr><td>None</td></tr>
63 </table> 75 </table>
64 <h3>Methods</h3> 76 <h3>Methods</h3>
65 <table> 77
78 <table>
79
66 <tr> 80 <tr>
67 <td><a href="#WatchPointModel.__init__">WatchPointModel</a></td> 81 <td><a href="#WatchPointModel.__init__">WatchPointModel</a></td>
68 <td>Constructor</td> 82 <td>Constructor</td>
69 </tr><tr> 83 </tr>
84 <tr>
70 <td><a href="#WatchPointModel.addWatchPoint">addWatchPoint</a></td> 85 <td><a href="#WatchPointModel.addWatchPoint">addWatchPoint</a></td>
71 <td>Public method to add a new watch expression to the list.</td> 86 <td>Public method to add a new watch expression to the list.</td>
72 </tr><tr> 87 </tr>
88 <tr>
73 <td><a href="#WatchPointModel.columnCount">columnCount</a></td> 89 <td><a href="#WatchPointModel.columnCount">columnCount</a></td>
74 <td>Public method to get the current column count.</td> 90 <td>Public method to get the current column count.</td>
75 </tr><tr> 91 </tr>
92 <tr>
76 <td><a href="#WatchPointModel.data">data</a></td> 93 <td><a href="#WatchPointModel.data">data</a></td>
77 <td>Public method to get the requested data.</td> 94 <td>Public method to get the requested data.</td>
78 </tr><tr> 95 </tr>
96 <tr>
79 <td><a href="#WatchPointModel.deleteAll">deleteAll</a></td> 97 <td><a href="#WatchPointModel.deleteAll">deleteAll</a></td>
80 <td>Public method to delete all watch expressions.</td> 98 <td>Public method to delete all watch expressions.</td>
81 </tr><tr> 99 </tr>
100 <tr>
82 <td><a href="#WatchPointModel.deleteWatchPointByIndex">deleteWatchPointByIndex</a></td> 101 <td><a href="#WatchPointModel.deleteWatchPointByIndex">deleteWatchPointByIndex</a></td>
83 <td>Public method to set the values of a watch expression given by index.</td> 102 <td>Public method to set the values of a watch expression given by index.</td>
84 </tr><tr> 103 </tr>
104 <tr>
85 <td><a href="#WatchPointModel.deleteWatchPoints">deleteWatchPoints</a></td> 105 <td><a href="#WatchPointModel.deleteWatchPoints">deleteWatchPoints</a></td>
86 <td>Public method to delete a list of watch expressions given by their indexes.</td> 106 <td>Public method to delete a list of watch expressions given by their indexes.</td>
87 </tr><tr> 107 </tr>
108 <tr>
88 <td><a href="#WatchPointModel.flags">flags</a></td> 109 <td><a href="#WatchPointModel.flags">flags</a></td>
89 <td>Public method to get item flags.</td> 110 <td>Public method to get item flags.</td>
90 </tr><tr> 111 </tr>
112 <tr>
91 <td><a href="#WatchPointModel.getWatchPointByIndex">getWatchPointByIndex</a></td> 113 <td><a href="#WatchPointModel.getWatchPointByIndex">getWatchPointByIndex</a></td>
92 <td>Public method to get the values of a watch expression given by index.</td> 114 <td>Public method to get the values of a watch expression given by index.</td>
93 </tr><tr> 115 </tr>
116 <tr>
94 <td><a href="#WatchPointModel.getWatchPointIndex">getWatchPointIndex</a></td> 117 <td><a href="#WatchPointModel.getWatchPointIndex">getWatchPointIndex</a></td>
95 <td>Public method to get the index of a watch expression given by expression.</td> 118 <td>Public method to get the index of a watch expression given by expression.</td>
96 </tr><tr> 119 </tr>
120 <tr>
97 <td><a href="#WatchPointModel.hasChildren">hasChildren</a></td> 121 <td><a href="#WatchPointModel.hasChildren">hasChildren</a></td>
98 <td>Public method to check for the presence of child items.</td> 122 <td>Public method to check for the presence of child items.</td>
99 </tr><tr> 123 </tr>
124 <tr>
100 <td><a href="#WatchPointModel.headerData">headerData</a></td> 125 <td><a href="#WatchPointModel.headerData">headerData</a></td>
101 <td>Public method to get header data.</td> 126 <td>Public method to get header data.</td>
102 </tr><tr> 127 </tr>
128 <tr>
103 <td><a href="#WatchPointModel.index">index</a></td> 129 <td><a href="#WatchPointModel.index">index</a></td>
104 <td>Public method to create an index.</td> 130 <td>Public method to create an index.</td>
105 </tr><tr> 131 </tr>
132 <tr>
106 <td><a href="#WatchPointModel.parent">parent</a></td> 133 <td><a href="#WatchPointModel.parent">parent</a></td>
107 <td>Public method to get the parent index.</td> 134 <td>Public method to get the parent index.</td>
108 </tr><tr> 135 </tr>
136 <tr>
109 <td><a href="#WatchPointModel.rowCount">rowCount</a></td> 137 <td><a href="#WatchPointModel.rowCount">rowCount</a></td>
110 <td>Public method to get the current row count.</td> 138 <td>Public method to get the current row count.</td>
111 </tr><tr> 139 </tr>
140 <tr>
112 <td><a href="#WatchPointModel.setWatchPointByIndex">setWatchPointByIndex</a></td> 141 <td><a href="#WatchPointModel.setWatchPointByIndex">setWatchPointByIndex</a></td>
113 <td>Public method to set the values of a watch expression given by index.</td> 142 <td>Public method to set the values of a watch expression given by index.</td>
114 </tr><tr> 143 </tr>
144 <tr>
115 <td><a href="#WatchPointModel.setWatchPointEnabledByIndex">setWatchPointEnabledByIndex</a></td> 145 <td><a href="#WatchPointModel.setWatchPointEnabledByIndex">setWatchPointEnabledByIndex</a></td>
116 <td>Public method to set the enabled state of a watch expression given by index.</td> 146 <td>Public method to set the enabled state of a watch expression given by index.</td>
117 </tr> 147 </tr>
118 </table> 148 </table>
119 <h3>Static Methods</h3> 149 <h3>Static Methods</h3>
150
120 <table> 151 <table>
121 <tr><td>None</td></tr> 152 <tr><td>None</td></tr>
122 </table> 153 </table>
154
123 <a NAME="WatchPointModel.__init__" ID="WatchPointModel.__init__"></a> 155 <a NAME="WatchPointModel.__init__" ID="WatchPointModel.__init__"></a>
124 <h4>WatchPointModel (Constructor)</h4> 156 <h4>WatchPointModel (Constructor)</h4>
125 <b>WatchPointModel</b>(<i>parent=None</i>) 157 <b>WatchPointModel</b>(<i>parent=None</i>)
158
126 <p> 159 <p>
127 Constructor 160 Constructor
128 </p><dl> 161 </p>
162 <dl>
163
129 <dt><i>parent</i></dt> 164 <dt><i>parent</i></dt>
130 <dd> 165 <dd>
131 reference to the parent widget (QObject) 166 reference to the parent widget (QObject)
132 </dd> 167 </dd>
133 </dl><a NAME="WatchPointModel.addWatchPoint" ID="WatchPointModel.addWatchPoint"></a> 168 </dl>
169 <a NAME="WatchPointModel.addWatchPoint" ID="WatchPointModel.addWatchPoint"></a>
134 <h4>WatchPointModel.addWatchPoint</h4> 170 <h4>WatchPointModel.addWatchPoint</h4>
135 <b>addWatchPoint</b>(<i>cond, special, properties</i>) 171 <b>addWatchPoint</b>(<i>cond, special, properties</i>)
172
136 <p> 173 <p>
137 Public method to add a new watch expression to the list. 174 Public method to add a new watch expression to the list.
138 </p><dl> 175 </p>
176 <dl>
177
139 <dt><i>cond</i></dt> 178 <dt><i>cond</i></dt>
140 <dd> 179 <dd>
141 expression of the watch expression (string) 180 expression of the watch expression (string)
142 </dd><dt><i>special</i></dt> 181 </dd>
182 <dt><i>special</i></dt>
143 <dd> 183 <dd>
144 special condition of the watch expression (string) 184 special condition of the watch expression (string)
145 </dd><dt><i>properties</i></dt> 185 </dd>
186 <dt><i>properties</i></dt>
146 <dd> 187 <dd>
147 properties of the watch expression 188 properties of the watch expression
148 (tuple of temporary flag (bool), enabled flag (bool), 189 (tuple of temporary flag (bool), enabled flag (bool),
149 ignore count (integer)) 190 ignore count (integer))
150 </dd> 191 </dd>
151 </dl><a NAME="WatchPointModel.columnCount" ID="WatchPointModel.columnCount"></a> 192 </dl>
193 <a NAME="WatchPointModel.columnCount" ID="WatchPointModel.columnCount"></a>
152 <h4>WatchPointModel.columnCount</h4> 194 <h4>WatchPointModel.columnCount</h4>
153 <b>columnCount</b>(<i>parent=None</i>) 195 <b>columnCount</b>(<i>parent=None</i>)
196
154 <p> 197 <p>
155 Public method to get the current column count. 198 Public method to get the current column count.
156 </p><dl> 199 </p>
200 <dl>
201
157 <dt><i>parent</i></dt> 202 <dt><i>parent</i></dt>
158 <dd> 203 <dd>
159 index of the parent item (QModelIndex) (Unused) 204 index of the parent item (QModelIndex) (Unused)
160 </dd> 205 </dd>
161 </dl><dl> 206 </dl>
207 <dl>
162 <dt>Returns:</dt> 208 <dt>Returns:</dt>
163 <dd> 209 <dd>
164 column count (integer) 210 column count (integer)
165 </dd> 211 </dd>
166 </dl><a NAME="WatchPointModel.data" ID="WatchPointModel.data"></a> 212 </dl>
213 <a NAME="WatchPointModel.data" ID="WatchPointModel.data"></a>
167 <h4>WatchPointModel.data</h4> 214 <h4>WatchPointModel.data</h4>
168 <b>data</b>(<i>index, role</i>) 215 <b>data</b>(<i>index, role</i>)
216
169 <p> 217 <p>
170 Public method to get the requested data. 218 Public method to get the requested data.
171 </p><dl> 219 </p>
220 <dl>
221
172 <dt><i>index</i></dt> 222 <dt><i>index</i></dt>
173 <dd> 223 <dd>
174 index of the requested data (QModelIndex) 224 index of the requested data (QModelIndex)
175 </dd><dt><i>role</i></dt> 225 </dd>
226 <dt><i>role</i></dt>
176 <dd> 227 <dd>
177 role of the requested data (Qt.ItemDataRole) 228 role of the requested data (Qt.ItemDataRole)
178 </dd> 229 </dd>
179 </dl><dl> 230 </dl>
231 <dl>
180 <dt>Returns:</dt> 232 <dt>Returns:</dt>
181 <dd> 233 <dd>
182 the requested data 234 the requested data
183 </dd> 235 </dd>
184 </dl><a NAME="WatchPointModel.deleteAll" ID="WatchPointModel.deleteAll"></a> 236 </dl>
237 <a NAME="WatchPointModel.deleteAll" ID="WatchPointModel.deleteAll"></a>
185 <h4>WatchPointModel.deleteAll</h4> 238 <h4>WatchPointModel.deleteAll</h4>
186 <b>deleteAll</b>(<i></i>) 239 <b>deleteAll</b>(<i></i>)
240
187 <p> 241 <p>
188 Public method to delete all watch expressions. 242 Public method to delete all watch expressions.
189 </p><a NAME="WatchPointModel.deleteWatchPointByIndex" ID="WatchPointModel.deleteWatchPointByIndex"></a> 243 </p>
244 <a NAME="WatchPointModel.deleteWatchPointByIndex" ID="WatchPointModel.deleteWatchPointByIndex"></a>
190 <h4>WatchPointModel.deleteWatchPointByIndex</h4> 245 <h4>WatchPointModel.deleteWatchPointByIndex</h4>
191 <b>deleteWatchPointByIndex</b>(<i>index</i>) 246 <b>deleteWatchPointByIndex</b>(<i>index</i>)
247
192 <p> 248 <p>
193 Public method to set the values of a watch expression given by index. 249 Public method to set the values of a watch expression given by index.
194 </p><dl> 250 </p>
251 <dl>
252
195 <dt><i>index</i></dt> 253 <dt><i>index</i></dt>
196 <dd> 254 <dd>
197 index of the watch expression (QModelIndex) 255 index of the watch expression (QModelIndex)
198 </dd> 256 </dd>
199 </dl><a NAME="WatchPointModel.deleteWatchPoints" ID="WatchPointModel.deleteWatchPoints"></a> 257 </dl>
258 <a NAME="WatchPointModel.deleteWatchPoints" ID="WatchPointModel.deleteWatchPoints"></a>
200 <h4>WatchPointModel.deleteWatchPoints</h4> 259 <h4>WatchPointModel.deleteWatchPoints</h4>
201 <b>deleteWatchPoints</b>(<i>idxList</i>) 260 <b>deleteWatchPoints</b>(<i>idxList</i>)
261
202 <p> 262 <p>
203 Public method to delete a list of watch expressions given by their 263 Public method to delete a list of watch expressions given by their
204 indexes. 264 indexes.
205 </p><dl> 265 </p>
266 <dl>
267
206 <dt><i>idxList</i></dt> 268 <dt><i>idxList</i></dt>
207 <dd> 269 <dd>
208 list of watch expression indexes (list of QModelIndex) 270 list of watch expression indexes (list of QModelIndex)
209 </dd> 271 </dd>
210 </dl><a NAME="WatchPointModel.flags" ID="WatchPointModel.flags"></a> 272 </dl>
273 <a NAME="WatchPointModel.flags" ID="WatchPointModel.flags"></a>
211 <h4>WatchPointModel.flags</h4> 274 <h4>WatchPointModel.flags</h4>
212 <b>flags</b>(<i>index</i>) 275 <b>flags</b>(<i>index</i>)
276
213 <p> 277 <p>
214 Public method to get item flags. 278 Public method to get item flags.
215 </p><dl> 279 </p>
280 <dl>
281
216 <dt><i>index</i></dt> 282 <dt><i>index</i></dt>
217 <dd> 283 <dd>
218 index of the requested flags (QModelIndex) 284 index of the requested flags (QModelIndex)
219 </dd> 285 </dd>
220 </dl><dl> 286 </dl>
287 <dl>
221 <dt>Returns:</dt> 288 <dt>Returns:</dt>
222 <dd> 289 <dd>
223 item flags for the given index (Qt.ItemFlags) 290 item flags for the given index (Qt.ItemFlags)
224 </dd> 291 </dd>
225 </dl><a NAME="WatchPointModel.getWatchPointByIndex" ID="WatchPointModel.getWatchPointByIndex"></a> 292 </dl>
293 <a NAME="WatchPointModel.getWatchPointByIndex" ID="WatchPointModel.getWatchPointByIndex"></a>
226 <h4>WatchPointModel.getWatchPointByIndex</h4> 294 <h4>WatchPointModel.getWatchPointByIndex</h4>
227 <b>getWatchPointByIndex</b>(<i>index</i>) 295 <b>getWatchPointByIndex</b>(<i>index</i>)
296
228 <p> 297 <p>
229 Public method to get the values of a watch expression given by index. 298 Public method to get the values of a watch expression given by index.
230 </p><dl> 299 </p>
300 <dl>
301
231 <dt><i>index</i></dt> 302 <dt><i>index</i></dt>
232 <dd> 303 <dd>
233 index of the watch expression (QModelIndex) 304 index of the watch expression (QModelIndex)
234 </dd> 305 </dd>
235 </dl><dl> 306 </dl>
307 <dl>
236 <dt>Returns:</dt> 308 <dt>Returns:</dt>
237 <dd> 309 <dd>
238 watch expression (list of six values (expression, 310 watch expression (list of six values (expression,
239 special condition, temporary flag, enabled flag, ignore count, 311 special condition, temporary flag, enabled flag, ignore count,
240 index)) 312 index))
241 </dd> 313 </dd>
242 </dl><a NAME="WatchPointModel.getWatchPointIndex" ID="WatchPointModel.getWatchPointIndex"></a> 314 </dl>
315 <a NAME="WatchPointModel.getWatchPointIndex" ID="WatchPointModel.getWatchPointIndex"></a>
243 <h4>WatchPointModel.getWatchPointIndex</h4> 316 <h4>WatchPointModel.getWatchPointIndex</h4>
244 <b>getWatchPointIndex</b>(<i>cond, special=""</i>) 317 <b>getWatchPointIndex</b>(<i>cond, special=""</i>)
318
245 <p> 319 <p>
246 Public method to get the index of a watch expression given by 320 Public method to get the index of a watch expression given by
247 expression. 321 expression.
248 </p><dl> 322 </p>
323 <dl>
324
249 <dt><i>cond</i></dt> 325 <dt><i>cond</i></dt>
250 <dd> 326 <dd>
251 expression of the watch expression (string) 327 expression of the watch expression (string)
252 </dd><dt><i>special</i></dt> 328 </dd>
329 <dt><i>special</i></dt>
253 <dd> 330 <dd>
254 special condition of the watch expression (string) 331 special condition of the watch expression (string)
255 </dd> 332 </dd>
256 </dl><dl> 333 </dl>
334 <dl>
257 <dt>Returns:</dt> 335 <dt>Returns:</dt>
258 <dd> 336 <dd>
259 index (QModelIndex) 337 index (QModelIndex)
260 </dd> 338 </dd>
261 </dl><a NAME="WatchPointModel.hasChildren" ID="WatchPointModel.hasChildren"></a> 339 </dl>
340 <a NAME="WatchPointModel.hasChildren" ID="WatchPointModel.hasChildren"></a>
262 <h4>WatchPointModel.hasChildren</h4> 341 <h4>WatchPointModel.hasChildren</h4>
263 <b>hasChildren</b>(<i>parent=None</i>) 342 <b>hasChildren</b>(<i>parent=None</i>)
343
264 <p> 344 <p>
265 Public method to check for the presence of child items. 345 Public method to check for the presence of child items.
266 </p><dl> 346 </p>
347 <dl>
348
267 <dt><i>parent</i></dt> 349 <dt><i>parent</i></dt>
268 <dd> 350 <dd>
269 index of parent item (QModelIndex) 351 index of parent item (QModelIndex)
270 </dd> 352 </dd>
271 </dl><dl> 353 </dl>
354 <dl>
272 <dt>Returns:</dt> 355 <dt>Returns:</dt>
273 <dd> 356 <dd>
274 flag indicating the presence of child items (boolean) 357 flag indicating the presence of child items (boolean)
275 </dd> 358 </dd>
276 </dl><a NAME="WatchPointModel.headerData" ID="WatchPointModel.headerData"></a> 359 </dl>
360 <a NAME="WatchPointModel.headerData" ID="WatchPointModel.headerData"></a>
277 <h4>WatchPointModel.headerData</h4> 361 <h4>WatchPointModel.headerData</h4>
278 <b>headerData</b>(<i>section, orientation, role=Qt.DisplayRole</i>) 362 <b>headerData</b>(<i>section, orientation, role=Qt.DisplayRole</i>)
363
279 <p> 364 <p>
280 Public method to get header data. 365 Public method to get header data.
281 </p><dl> 366 </p>
367 <dl>
368
282 <dt><i>section</i></dt> 369 <dt><i>section</i></dt>
283 <dd> 370 <dd>
284 section number of the requested header data (integer) 371 section number of the requested header data (integer)
285 </dd><dt><i>orientation</i></dt> 372 </dd>
373 <dt><i>orientation</i></dt>
286 <dd> 374 <dd>
287 orientation of the header (Qt.Orientation) 375 orientation of the header (Qt.Orientation)
288 </dd><dt><i>role</i></dt> 376 </dd>
377 <dt><i>role</i></dt>
289 <dd> 378 <dd>
290 role of the requested data (Qt.ItemDataRole) 379 role of the requested data (Qt.ItemDataRole)
291 </dd> 380 </dd>
292 </dl><dl> 381 </dl>
382 <dl>
293 <dt>Returns:</dt> 383 <dt>Returns:</dt>
294 <dd> 384 <dd>
295 header data 385 header data
296 </dd> 386 </dd>
297 </dl><a NAME="WatchPointModel.index" ID="WatchPointModel.index"></a> 387 </dl>
388 <a NAME="WatchPointModel.index" ID="WatchPointModel.index"></a>
298 <h4>WatchPointModel.index</h4> 389 <h4>WatchPointModel.index</h4>
299 <b>index</b>(<i>row, column, parent=None</i>) 390 <b>index</b>(<i>row, column, parent=None</i>)
391
300 <p> 392 <p>
301 Public method to create an index. 393 Public method to create an index.
302 </p><dl> 394 </p>
395 <dl>
396
303 <dt><i>row</i></dt> 397 <dt><i>row</i></dt>
304 <dd> 398 <dd>
305 row number for the index (integer) 399 row number for the index (integer)
306 </dd><dt><i>column</i></dt> 400 </dd>
401 <dt><i>column</i></dt>
307 <dd> 402 <dd>
308 column number for the index (integer) 403 column number for the index (integer)
309 </dd><dt><i>parent</i></dt> 404 </dd>
405 <dt><i>parent</i></dt>
310 <dd> 406 <dd>
311 index of the parent item (QModelIndex) 407 index of the parent item (QModelIndex)
312 </dd> 408 </dd>
313 </dl><dl> 409 </dl>
410 <dl>
314 <dt>Returns:</dt> 411 <dt>Returns:</dt>
315 <dd> 412 <dd>
316 requested index (QModelIndex) 413 requested index (QModelIndex)
317 </dd> 414 </dd>
318 </dl><a NAME="WatchPointModel.parent" ID="WatchPointModel.parent"></a> 415 </dl>
416 <a NAME="WatchPointModel.parent" ID="WatchPointModel.parent"></a>
319 <h4>WatchPointModel.parent</h4> 417 <h4>WatchPointModel.parent</h4>
320 <b>parent</b>(<i>index</i>) 418 <b>parent</b>(<i>index</i>)
419
321 <p> 420 <p>
322 Public method to get the parent index. 421 Public method to get the parent index.
323 </p><dl> 422 </p>
423 <dl>
424
324 <dt><i>index</i></dt> 425 <dt><i>index</i></dt>
325 <dd> 426 <dd>
326 index of item to get parent (QModelIndex) 427 index of item to get parent (QModelIndex)
327 </dd> 428 </dd>
328 </dl><dl> 429 </dl>
430 <dl>
329 <dt>Returns:</dt> 431 <dt>Returns:</dt>
330 <dd> 432 <dd>
331 index of parent (QModelIndex) 433 index of parent (QModelIndex)
332 </dd> 434 </dd>
333 </dl><a NAME="WatchPointModel.rowCount" ID="WatchPointModel.rowCount"></a> 435 </dl>
436 <a NAME="WatchPointModel.rowCount" ID="WatchPointModel.rowCount"></a>
334 <h4>WatchPointModel.rowCount</h4> 437 <h4>WatchPointModel.rowCount</h4>
335 <b>rowCount</b>(<i>parent=None</i>) 438 <b>rowCount</b>(<i>parent=None</i>)
439
336 <p> 440 <p>
337 Public method to get the current row count. 441 Public method to get the current row count.
338 </p><dl> 442 </p>
443 <dl>
444
339 <dt><i>parent</i></dt> 445 <dt><i>parent</i></dt>
340 <dd> 446 <dd>
341 index of the parent item (QModelIndex) 447 index of the parent item (QModelIndex)
342 </dd> 448 </dd>
343 </dl><dl> 449 </dl>
450 <dl>
344 <dt>Returns:</dt> 451 <dt>Returns:</dt>
345 <dd> 452 <dd>
346 row count (integer) 453 row count (integer)
347 </dd> 454 </dd>
348 </dl><a NAME="WatchPointModel.setWatchPointByIndex" ID="WatchPointModel.setWatchPointByIndex"></a> 455 </dl>
456 <a NAME="WatchPointModel.setWatchPointByIndex" ID="WatchPointModel.setWatchPointByIndex"></a>
349 <h4>WatchPointModel.setWatchPointByIndex</h4> 457 <h4>WatchPointModel.setWatchPointByIndex</h4>
350 <b>setWatchPointByIndex</b>(<i>index, cond, special, properties</i>) 458 <b>setWatchPointByIndex</b>(<i>index, cond, special, properties</i>)
459
351 <p> 460 <p>
352 Public method to set the values of a watch expression given by index. 461 Public method to set the values of a watch expression given by index.
353 </p><dl> 462 </p>
463 <dl>
464
354 <dt><i>index</i></dt> 465 <dt><i>index</i></dt>
355 <dd> 466 <dd>
356 index of the watch expression (QModelIndex) 467 index of the watch expression (QModelIndex)
357 </dd><dt><i>cond</i></dt> 468 </dd>
469 <dt><i>cond</i></dt>
358 <dd> 470 <dd>
359 expression of the watch expression (string) 471 expression of the watch expression (string)
360 </dd><dt><i>special</i></dt> 472 </dd>
473 <dt><i>special</i></dt>
361 <dd> 474 <dd>
362 special condition of the watch expression (string) 475 special condition of the watch expression (string)
363 </dd><dt><i>properties</i></dt> 476 </dd>
477 <dt><i>properties</i></dt>
364 <dd> 478 <dd>
365 properties of the watch expression 479 properties of the watch expression
366 (tuple of temporary flag (bool), enabled flag (bool), 480 (tuple of temporary flag (bool), enabled flag (bool),
367 ignore count (integer)) 481 ignore count (integer))
368 </dd> 482 </dd>
369 </dl><a NAME="WatchPointModel.setWatchPointEnabledByIndex" ID="WatchPointModel.setWatchPointEnabledByIndex"></a> 483 </dl>
484 <a NAME="WatchPointModel.setWatchPointEnabledByIndex" ID="WatchPointModel.setWatchPointEnabledByIndex"></a>
370 <h4>WatchPointModel.setWatchPointEnabledByIndex</h4> 485 <h4>WatchPointModel.setWatchPointEnabledByIndex</h4>
371 <b>setWatchPointEnabledByIndex</b>(<i>index, enabled</i>) 486 <b>setWatchPointEnabledByIndex</b>(<i>index, enabled</i>)
487
372 <p> 488 <p>
373 Public method to set the enabled state of a watch expression given by 489 Public method to set the enabled state of a watch expression given by
374 index. 490 index.
375 </p><dl> 491 </p>
492 <dl>
493
376 <dt><i>index</i></dt> 494 <dt><i>index</i></dt>
377 <dd> 495 <dd>
378 index of the watch expression (QModelIndex) 496 index of the watch expression (QModelIndex)
379 </dd><dt><i>enabled</i></dt> 497 </dd>
498 <dt><i>enabled</i></dt>
380 <dd> 499 <dd>
381 flag giving the enabled state (boolean) 500 flag giving the enabled state (boolean)
382 </dd> 501 </dd>
383 </dl> 502 </dl>
384 <div align="right"><a href="#top">Up</a></div> 503 <div align="right"><a href="#top">Up</a></div>

eric ide

mercurial