Documentation/Source/eric5.Graphics.UMLGraphicsView.html

changeset 2038
72557ef75de1
parent 2035
11bb61bc138d
child 2039
fa41ccd7f7bc
equal deleted inserted replaced
2037:7a3470ae170e 2038:72557ef75de1
90 <td>Private method to handle the increase width context menu entry.</td> 90 <td>Private method to handle the increase width context menu entry.</td>
91 </tr><tr> 91 </tr><tr>
92 <td><a href="#UMLGraphicsView.__initActions">__initActions</a></td> 92 <td><a href="#UMLGraphicsView.__initActions">__initActions</a></td>
93 <td>Private method to initialize the view actions.</td> 93 <td>Private method to initialize the view actions.</td>
94 </tr><tr> 94 </tr><tr>
95 <td><a href="#UMLGraphicsView.__itemsBoundingRect">__itemsBoundingRect</a></td>
96 <td>Private method to calculate the bounding rectangle of the given items.</td>
97 </tr><tr>
95 <td><a href="#UMLGraphicsView.__printPreviewPrint">__printPreviewPrint</a></td> 98 <td><a href="#UMLGraphicsView.__printPreviewPrint">__printPreviewPrint</a></td>
96 <td>Private slot to generate a print preview.</td> 99 <td>Private slot to generate a print preview.</td>
97 </tr><tr> 100 </tr><tr>
98 <td><a href="#UMLGraphicsView.__relayout">__relayout</a></td> 101 <td><a href="#UMLGraphicsView.__relayout">__relayout</a></td>
99 <td>Private method to handle the re-layout context menu entry.</td> 102 <td>Private method to handle the re-layout context menu entry.</td>
128 <td><a href="#UMLGraphicsView.getPersistenceData">getPersistenceData</a></td> 131 <td><a href="#UMLGraphicsView.getPersistenceData">getPersistenceData</a></td>
129 <td>Public method to get a list of data to be persisted.</td> 132 <td>Public method to get a list of data to be persisted.</td>
130 </tr><tr> 133 </tr><tr>
131 <td><a href="#UMLGraphicsView.initToolBar">initToolBar</a></td> 134 <td><a href="#UMLGraphicsView.initToolBar">initToolBar</a></td>
132 <td>Public method to populate a toolbar with our actions.</td> 135 <td>Public method to populate a toolbar with our actions.</td>
136 </tr><tr>
137 <td><a href="#UMLGraphicsView.keyPressEvent">keyPressEvent</a></td>
138 <td>Protected method handling key press events.</td>
133 </tr><tr> 139 </tr><tr>
134 <td><a href="#UMLGraphicsView.parsePersistenceData">parsePersistenceData</a></td> 140 <td><a href="#UMLGraphicsView.parsePersistenceData">parsePersistenceData</a></td>
135 <td>Public method to parse persisted data.</td> 141 <td>Public method to parse persisted data.</td>
136 </tr><tr> 142 </tr><tr>
137 <td><a href="#UMLGraphicsView.printDiagram">printDiagram</a></td> 143 <td><a href="#UMLGraphicsView.printDiagram">printDiagram</a></td>
216 </p><a NAME="UMLGraphicsView.__initActions" ID="UMLGraphicsView.__initActions"></a> 222 </p><a NAME="UMLGraphicsView.__initActions" ID="UMLGraphicsView.__initActions"></a>
217 <h4>UMLGraphicsView.__initActions</h4> 223 <h4>UMLGraphicsView.__initActions</h4>
218 <b>__initActions</b>(<i></i>) 224 <b>__initActions</b>(<i></i>)
219 <p> 225 <p>
220 Private method to initialize the view actions. 226 Private method to initialize the view actions.
221 </p><a NAME="UMLGraphicsView.__printPreviewPrint" ID="UMLGraphicsView.__printPreviewPrint"></a> 227 </p><a NAME="UMLGraphicsView.__itemsBoundingRect" ID="UMLGraphicsView.__itemsBoundingRect"></a>
228 <h4>UMLGraphicsView.__itemsBoundingRect</h4>
229 <b>__itemsBoundingRect</b>(<i>items</i>)
230 <p>
231 Private method to calculate the bounding rectangle of the given items.
232 </p><dl>
233 <dt><i>items</i></dt>
234 <dd>
235 list of items to operate on (list of UMLItem)
236 </dd>
237 </dl><dl>
238 <dt>Returns:</dt>
239 <dd>
240 bounding rectangle (QRectF)
241 </dd>
242 </dl><a NAME="UMLGraphicsView.__printPreviewPrint" ID="UMLGraphicsView.__printPreviewPrint"></a>
222 <h4>UMLGraphicsView.__printPreviewPrint</h4> 243 <h4>UMLGraphicsView.__printPreviewPrint</h4>
223 <b>__printPreviewPrint</b>(<i>printer</i>) 244 <b>__printPreviewPrint</b>(<i>printer</i>)
224 <p> 245 <p>
225 Private slot to generate a print preview. 246 Private slot to generate a print preview.
226 </p><a NAME="UMLGraphicsView.__relayout" ID="UMLGraphicsView.__relayout"></a> 247 </p><a NAME="UMLGraphicsView.__relayout" ID="UMLGraphicsView.__relayout"></a>
346 </p><dl> 367 </p><dl>
347 <dt>Returns:</dt> 368 <dt>Returns:</dt>
348 <dd> 369 <dd>
349 the populated toolBar (QToolBar) 370 the populated toolBar (QToolBar)
350 </dd> 371 </dd>
372 </dl><a NAME="UMLGraphicsView.keyPressEvent" ID="UMLGraphicsView.keyPressEvent"></a>
373 <h4>UMLGraphicsView.keyPressEvent</h4>
374 <b>keyPressEvent</b>(<i>evt</i>)
375 <p>
376 Protected method handling key press events.
377 </p><dl>
378 <dt><i>evt</i></dt>
379 <dd>
380 reference to the key event (QKeyEvent)
381 </dd>
351 </dl><a NAME="UMLGraphicsView.parsePersistenceData" ID="UMLGraphicsView.parsePersistenceData"></a> 382 </dl><a NAME="UMLGraphicsView.parsePersistenceData" ID="UMLGraphicsView.parsePersistenceData"></a>
352 <h4>UMLGraphicsView.parsePersistenceData</h4> 383 <h4>UMLGraphicsView.parsePersistenceData</h4>
353 <b>parsePersistenceData</b>(<i>version, data</i>) 384 <b>parsePersistenceData</b>(<i>version, data</i>)
354 <p> 385 <p>
355 Public method to parse persisted data. 386 Public method to parse persisted data.

eric ide

mercurial