eric6/Documentation/Source/eric6.Graphics.UMLGraphicsView.html

changeset 8296
14f33eededf7
parent 8294
cb4e5bbf3a2c
equal deleted inserted replaced
8295:3f5e8b0a338e 8296:14f33eededf7
156 <tr> 156 <tr>
157 <td><a href="#UMLGraphicsView.findItemByName">findItemByName</a></td> 157 <td><a href="#UMLGraphicsView.findItemByName">findItemByName</a></td>
158 <td>Public method to find an UML item based on its name.</td> 158 <td>Public method to find an UML item based on its name.</td>
159 </tr> 159 </tr>
160 <tr> 160 <tr>
161 <td><a href="#UMLGraphicsView.fromDict">fromDict</a></td>
162 <td>Public method to populate the class with data persisted by 'toDict()'.</td>
163 </tr>
164 <tr>
161 <td><a href="#UMLGraphicsView.gestureEvent">gestureEvent</a></td> 165 <td><a href="#UMLGraphicsView.gestureEvent">gestureEvent</a></td>
162 <td>Protected method handling gesture events.</td> 166 <td>Protected method handling gesture events.</td>
163 </tr> 167 </tr>
164 <tr> 168 <tr>
165 <td><a href="#UMLGraphicsView.getItemId">getItemId</a></td> 169 <td><a href="#UMLGraphicsView.getItemId">getItemId</a></td>
202 <td>Public method to select the given items.</td> 206 <td>Public method to select the given items.</td>
203 </tr> 207 </tr>
204 <tr> 208 <tr>
205 <td><a href="#UMLGraphicsView.setDiagramName">setDiagramName</a></td> 209 <td><a href="#UMLGraphicsView.setDiagramName">setDiagramName</a></td>
206 <td>Public slot to set the diagram name.</td> 210 <td>Public slot to set the diagram name.</td>
211 </tr>
212 <tr>
213 <td><a href="#UMLGraphicsView.setLayoutActionsEnabled">setLayoutActionsEnabled</a></td>
214 <td>Public method to enable or disable the layout related actions.</td>
207 </tr> 215 </tr>
208 <tr> 216 <tr>
209 <td><a href="#UMLGraphicsView.toDict">toDict</a></td> 217 <td><a href="#UMLGraphicsView.toDict">toDict</a></td>
210 <td>Public method to collect data to be persisted.</td> 218 <td>Public method to collect data to be persisted.</td>
211 </tr> 219 </tr>
497 <dt>Return Type:</dt> 505 <dt>Return Type:</dt>
498 <dd> 506 <dd>
499 UMLItem 507 UMLItem
500 </dd> 508 </dd>
501 </dl> 509 </dl>
510 <a NAME="UMLGraphicsView.fromDict" ID="UMLGraphicsView.fromDict"></a>
511 <h4>UMLGraphicsView.fromDict</h4>
512 <b>fromDict</b>(<i>version, data</i>)
513
514 <p>
515 Public method to populate the class with data persisted by 'toDict()'.
516 </p>
517 <dl>
518
519 <dt><i>version</i> (str)</dt>
520 <dd>
521 version of the data
522 </dd>
523 <dt><i>data</i> (dict)</dt>
524 <dd>
525 dictionary containing the persisted data
526 </dd>
527 </dl>
528 <dl>
529 <dt>Return:</dt>
530 <dd>
531 flag indicating success
532 </dd>
533 </dl>
534 <dl>
535 <dt>Return Type:</dt>
536 <dd>
537 bool
538 </dd>
539 </dl>
502 <a NAME="UMLGraphicsView.gestureEvent" ID="UMLGraphicsView.gestureEvent"></a> 540 <a NAME="UMLGraphicsView.gestureEvent" ID="UMLGraphicsView.gestureEvent"></a>
503 <h4>UMLGraphicsView.gestureEvent</h4> 541 <h4>UMLGraphicsView.gestureEvent</h4>
504 <b>gestureEvent</b>(<i>evt</i>) 542 <b>gestureEvent</b>(<i>evt</i>)
505 543
506 <p> 544 <p>
676 <dt><i>name</i> (str)</dt> 714 <dt><i>name</i> (str)</dt>
677 <dd> 715 <dd>
678 diagram name 716 diagram name
679 </dd> 717 </dd>
680 </dl> 718 </dl>
719 <a NAME="UMLGraphicsView.setLayoutActionsEnabled" ID="UMLGraphicsView.setLayoutActionsEnabled"></a>
720 <h4>UMLGraphicsView.setLayoutActionsEnabled</h4>
721 <b>setLayoutActionsEnabled</b>(<i>enable</i>)
722
723 <p>
724 Public method to enable or disable the layout related actions.
725 </p>
726 <dl>
727
728 <dt><i>enable</i> (bool)</dt>
729 <dd>
730 flag indicating the desired enable state
731 </dd>
732 </dl>
681 <a NAME="UMLGraphicsView.toDict" ID="UMLGraphicsView.toDict"></a> 733 <a NAME="UMLGraphicsView.toDict" ID="UMLGraphicsView.toDict"></a>
682 <h4>UMLGraphicsView.toDict</h4> 734 <h4>UMLGraphicsView.toDict</h4>
683 <b>toDict</b>(<i></i>) 735 <b>toDict</b>(<i></i>)
684 736
685 <p> 737 <p>

eric ide

mercurial