Module implementing a dialog showing a SVG graphic.
None |
SvgDiagram | Class implementing a dialog showing a SVG graphic. |
None |
Class implementing a dialog showing a SVG graphic.
ZoomLevelDefault |
ZoomLevels |
None |
SvgDiagram | Constructor |
__adjustScrollBar | Private method to adjust a scrollbar by a certain factor. |
__doZoom | Private method to set the zoom value in percent. |
__initActions | Private method to initialize the view actions. |
__initContextMenu | Private method to initialize the context menu. |
__initToolBars | Private method to populate the toolbars with our actions. |
__levelForZoom | Private method determining the zoom level index given a zoom factor. |
__print | Private slot to the actual printing. |
__printDiagram | Private slot called to print the diagram. |
__printPreviewDiagram | Private slot called to show a print preview of the diagram. |
__showContextMenu | Private slot to show the context menu of the listview. |
__zoom | Private method to get the current zoom factor in percent. |
__zoomIn | Private method to zoom into the SVG. |
__zoomOut | Private method to zoom out of the SVG. |
__zoomReset | Private method to reset the zoom value. |
event | Public method handling events. |
gestureEvent | Protected method handling gesture events. |
getDiagramName | Public method to retrieve a name for the diagram. |
wheelEvent | Protected method to handle wheel events. |
None |
Constructor
Private method to adjust a scrollbar by a certain factor.
Private method to set the zoom value in percent.
Private method to initialize the view actions.
Private method to initialize the context menu.
Private method to populate the toolbars with our actions.
Private method determining the zoom level index given a zoom factor.
Private slot to the actual printing.
Private slot called to print the diagram.
Private slot called to show a print preview of the diagram.
Private slot to show the context menu of the listview.
Private method to get the current zoom factor in percent.
Private method to zoom into the SVG.
Private method to zoom out of the SVG.
Private method to reset the zoom value.
Public method handling events.
Protected method handling gesture events.
Public method to retrieve a name for the diagram.
Protected method to handle wheel events.