Change mousePressEvent: the MidButton click set selection or visualisation mode.

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2113 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
cfdev
2013-04-15 19:51:39 +00:00
parent 9f53e1f3ec
commit f8f4dbaaca
2 changed files with 10 additions and 20 deletions

View File

@@ -52,7 +52,6 @@ class DiagramView : public QGraphicsView {
bool fresh_focus_in_; ///< Indicate the focus was freshly gained
ElementsLocation next_location_;
QPoint next_position_;
int FlagMouseButtons_;
// methods
public:
@@ -87,7 +86,6 @@ class DiagramView : public QGraphicsView {
private:
void mousePressEvent(QMouseEvent *);
void mouseReleaseEvent(QMouseEvent *e);
void dragEnterEvent(QDragEnterEvent *);
void dragLeaveEvent(QDragLeaveEvent *);
void dragMoveEvent(QDragMoveEvent *);