#include <umlview.h>
UMLView instances represent views onto diagrams (scenes). The UMLApp instance manages the visibility of UMLView instances. The visible view (and therefore diagram) is at the top of stack. The UMLView class inherits from QGraphicsView. Construction of a UMLView implicitly constructs a UMLScene, i.e. there is a one to one relation between diagram and view. The UMLFolder instances own the UMLView instances.
- Author
- Paul Hensgen phens.nosp@m.gen@.nosp@m.techi.nosp@m.e.co.nosp@m.m Bugs and comments to umbre.nosp@m.llo-.nosp@m.devel.nosp@m.@kde.nosp@m..org or https://bugs.kde.org
◆ UMLView()
◆ ~UMLView()
◆ hideEvent()
void UMLView::hideEvent |
( |
QHideEvent * |
he | ) |
|
|
protectedvirtual |
Overrides the standard operation.
◆ mousePressEvent()
void UMLView::mousePressEvent |
( |
QMouseEvent * |
event | ) |
|
|
protectedvirtual |
Override standard method.
◆ mouseReleaseEvent()
void UMLView::mouseReleaseEvent |
( |
QMouseEvent * |
event | ) |
|
|
protectedvirtual |
Override standard method.
◆ resizeEvent()
void UMLView::resizeEvent |
( |
QResizeEvent * |
event | ) |
|
|
protectedvirtual |
Override standard method.
◆ setZoom()
void UMLView::setZoom |
( |
qreal |
zoom | ) |
|
Sets the zoom of the diagram.
◆ show
Overrides standard method from QWidget for possible additional actions. TBC can we remove this?
◆ showEvent()
void UMLView::showEvent |
( |
QShowEvent * |
se | ) |
|
|
protectedvirtual |
Overrides the standard operation.
◆ showPropertiesDialog()
bool UMLView::showPropertiesDialog |
( |
QWidget * |
parent = 0 | ) |
|
|
virtual |
Shows the properties dialog for the view.
◆ umlScene()
Getter for the uml scene.
◆ wheelEvent()
void UMLView::wheelEvent |
( |
QWheelEvent * |
event | ) |
|
|
protectedvirtual |
Zoom the view in and out.
◆ zoom()
qreal UMLView::zoom |
( |
| ) |
const |
Returns the zoom of the diagram.
◆ zoomIn
◆ zoomOut
void UMLView::zoomOut |
( |
| ) |
|
|
slot |
The documentation for this class was generated from the following files: