diff options
author | Jochen Becher <jochen_becher@gmx.de> | 2016-06-21 21:27:43 +0200 |
---|---|---|
committer | Jochen Becher <jochen_becher@gmx.de> | 2016-06-24 16:58:30 +0000 |
commit | 80e5259999e1fc02a59c7529bdf457c504e25867 (patch) | |
tree | df95647160aa8cdbaa03f7dbc30c5cb4864e36a9 /src/plugins/modeleditor/modeleditor.h | |
parent | 9ccb08987043b82ccec3e545f1556fa2f4fb32ec (diff) | |
download | qt-creator-80e5259999e1fc02a59c7529bdf457c504e25867.tar.gz |
ModelEditor: Implement zoom of diagrams.
All elements of a zoomed diagram must be dran anti-aliased. This change
removes the extra handling of drawing vertical or horizontal lines
without anti-alias. The complete graphics view is drawn anti-aliased
instead.
Change-Id: I6fc041b6d70da5a7a7bcb8e97d07990517380b90
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Diffstat (limited to 'src/plugins/modeleditor/modeleditor.h')
-rw-r--r-- | src/plugins/modeleditor/modeleditor.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/modeleditor/modeleditor.h b/src/plugins/modeleditor/modeleditor.h index 5d741f1008..46eb8bba14 100644 --- a/src/plugins/modeleditor/modeleditor.h +++ b/src/plugins/modeleditor/modeleditor.h @@ -86,6 +86,9 @@ public: void editProperties(); void editSelectedItem(); void exportDiagram(); + void zoomIn(); + void zoomOut(); + void resetZoom(); qmt::MPackage *guessSelectedPackage() const; |