#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
void UMLView::hideEvent |
( |
QHideEvent * |
he | ) |
|
|
protectedvirtual |
Overrides the standard operation.
void UMLView::mousePressEvent |
( |
QMouseEvent * |
event | ) |
|
|
protectedvirtual |
Override standard method.
void UMLView::mouseReleaseEvent |
( |
QMouseEvent * |
event | ) |
|
|
protectedvirtual |
Override standard method.
void UMLView::resizeEvent |
( |
QResizeEvent * |
event | ) |
|
|
protectedvirtual |
Override standard method.
void UMLView::setZoom |
( |
qreal |
zoom | ) |
|
Sets the zoom of the diagram.
Overrides standard method from QWidget for possible additional actions. TBC can we remove this?
void UMLView::showEvent |
( |
QShowEvent * |
se | ) |
|
|
protectedvirtual |
Overrides the standard operation.
bool UMLView::showPropertiesDialog |
( |
QWidget * |
parent = 0 | ) |
|
|
virtual |
Shows the properties dialog for the view.
Getter for the uml scene.
void UMLView::wheelEvent |
( |
QWheelEvent * |
event | ) |
|
|
protectedvirtual |
Zoom the view in and out.
qreal UMLView::zoom |
( |
| ) |
const |
Returns the zoom of the diagram.
void UMLView::zoomOut |
( |
| ) |
|
|
slot |
The documentation for this class was generated from the following files: