Diagram view :

-Set maximum Visualized scene to diagram scene rect*2.
-At first activation, view call zoom fit to see all of the diagram


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3861 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2015-03-27 09:45:19 +00:00
parent 916dc90dfe
commit bc36c6adf3
4 changed files with 42 additions and 24 deletions

View File

@@ -53,6 +53,7 @@ class DiagramView : public QGraphicsView {
QPointF rubber_band_origin;
bool fresh_focus_in_; ///< Indicate the focus was freshly gained
ElementsLocation next_location_;
bool m_first_activation;
// methods