Module implementing a subclass of E5GraphicsView for our diagrams.
None |
UMLGraphicsView | Class implementing a specialized E5GraphicsView for our diagrams. |
None |
Class implementing a specialized E5GraphicsView for our diagrams.
None |
None |
UMLGraphicsView | Constructor |
__alignShapes | Private slot to align the selected shapes. |
__checkSizeActions | Private slot to set the enabled state of the size actions. |
__decHeight | Private method to handle the decrease height context menu entry. |
__decWidth | Private method to handle the decrease width context menu entry. |
__deleteShape | Private method to delete the selected shapes from the display. |
__incHeight | Private method to handle the increase height context menu entry. |
__incWidth | Private method to handle the increase width context menu entry. |
__initActions | Private method to initialize the view actions. |
__itemsBoundingRect | Private method to calculate the bounding rectangle of the given items. |
__printPreviewPrint | Private slot to generate a print preview. |
__relayout | Private slot to handle the re-layout context menu entry. |
__rescan | Private slot to handle the re-scan context menu entry. |
__sceneChanged | Private slot called when the scene changes. |
__setSize | Private method to handle the set size context menu entry. |
autoAdjustSceneSize | Public method to adjust the scene size to the diagram size. |
event | Public method handling events. |
filteredItems | Public method to filter a list of items. |
findItem | Public method to find an UML item based on the ID. |
findItemByName | Public method to find an UML item based on its name. |
gestureEvent | Protected method handling gesture events. |
getItemId | Public method to get the ID to be assigned to an item. |
getPersistenceData | Public method to get a list of data to be persisted. |
initToolBar | Public method to populate a toolbar with our actions. |
keyPressEvent | Protected method handling key press events. |
parsePersistenceData | Public method to parse persisted data. |
printDiagram | Public slot called to print the diagram. |
printPreviewDiagram | Public slot called to show a print preview of the diagram. |
saveImage | Public method to handle the save context menu entry. |
selectItem | Public method to select an item. |
selectItems | Public method to select the given items. |
setDiagramName | Public slot to set the diagram name. |
wheelEvent | Protected method to handle wheel events. |
None |
Constructor
Private slot to align the selected shapes.
Private slot to set the enabled state of the size actions.
Private method to handle the decrease height context menu entry.
Private method to handle the decrease width context menu entry.
Private method to delete the selected shapes from the display.
Private method to handle the increase height context menu entry.
Private method to handle the increase width context menu entry.
Private method to initialize the view actions.
Private method to calculate the bounding rectangle of the given items.
Private slot to generate a print preview.
Private slot to handle the re-layout context menu entry.
Private slot to handle the re-scan context menu entry.
Private slot called when the scene changes.
Private method to handle the set size context menu entry.
Public method to adjust the scene size to the diagram size.
Public method handling events.
Public method to filter a list of items.
Public method to find an UML item based on the ID.
Public method to find an UML item based on its name.
Protected method handling gesture events.
Public method to get the ID to be assigned to an item.
Public method to get a list of data to be persisted.
Public method to populate a toolbar with our actions.
Protected method handling key press events.
Public method to parse persisted data.
Public slot called to print the diagram.
Public slot called to show a print preview of the diagram.
Public method to handle the save context menu entry.
Public method to select an item.
Public method to select the given items.
Public slot to set the diagram name.
Protected method to handle wheel events.