Improve the behavior of the feature "zoom out beyond of folio" : drag the scene is now more user-friendly

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5003 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2017-08-03 16:53:43 +00:00
parent f4f14ff4db
commit fec5c95682
4 changed files with 140 additions and 128 deletions

View File

@@ -49,7 +49,7 @@ class DiagramView : public QGraphicsView
// attributes
Diagram *scene;
Diagram *m_scene;
DVEventInterface *m_event_interface;
QMenu *context_menu;
QAction *paste_here;
@@ -66,7 +66,7 @@ class DiagramView : public QGraphicsView
void addRow();
void removeRow();
/// @return the diagram rendered by this view
Diagram *diagram() { return(scene); }
Diagram *diagram() { return(m_scene); }
QETDiagramEditor *diagramEditor() const;
bool hasSelectedItems();
bool hasCopiableItems();