]> Shamusworld >> Repos - architektonas/blobdiff - src/widgets/qg_graphicview.cpp
In the middle of chasing down MDI not activating bug, renaming of Graphic to
[architektonas] / src / widgets / qg_graphicview.cpp
index 6b4e1fba93f4a276afd2f8f0bc2b45610f28e1ff..df1efb8921c8c0556faa442efe478690bb1a7400 100644 (file)
@@ -406,14 +406,14 @@ void QG_GraphicView::mousePressEvent(QMouseEvent * e)
        if (e->button() == Qt::MidButton /*|| (e->state()==Qt::LeftButton|Qt::AltButton)*/)
                setCurrentAction(new ActionZoomPan(*container, *this));
 
-       GraphicView::mousePressEvent(e);
+       GraphicView::_mousePressEvent(e);
        QWidget::mousePressEvent(e);
 }
 
 void QG_GraphicView::mouseReleaseEvent(QMouseEvent * e)
 {
        DEBUG->print("QG_GraphicView::mouseReleaseEvent");
-       GraphicView::mouseReleaseEvent(e);
+       GraphicView::_mouseReleaseEvent(e);
        //QWidget::mouseReleaseEvent(e);
 
        if (!e->isAccepted())
@@ -430,7 +430,7 @@ void QG_GraphicView::mouseReleaseEvent(QMouseEvent * e)
 
 void QG_GraphicView::mouseMoveEvent(QMouseEvent * e)
 {
-       GraphicView::mouseMoveEvent(e);
+       GraphicView::_mouseMoveEvent(e);
        QWidget::mouseMoveEvent(e);
 }
 
@@ -512,13 +512,13 @@ void QG_GraphicView::tabletEvent(QTabletEvent * e)
 
 void QG_GraphicView::leaveEvent(QEvent * e)
 {
-       GraphicView::mouseLeaveEvent();
+       GraphicView::_mouseLeaveEvent();
        QWidget::leaveEvent(e);
 }
 
 void QG_GraphicView::enterEvent(QEvent * e)
 {
-       GraphicView::mouseEnterEvent();
+       GraphicView::_mouseEnterEvent();
        QWidget::enterEvent(e);
 }
 
@@ -529,10 +529,10 @@ void QG_GraphicView::focusOutEvent(QFocusEvent * e)
 
 void QG_GraphicView::focusInEvent(QFocusEvent * e)
 {
-//printf("-->QG_GraphicView::focusInEvent(): Start. this %s focus...\n", (hasFocus() ? "has" : "DOES NOT HAVE"));
-       GraphicView::mouseEnterEvent();
+printf("-->QG_GraphicView::focusInEvent(): Start. this %s focus...\n", (hasFocus() ? "has" : "DOES NOT HAVE"));
+       GraphicView::_mouseEnterEvent();
        QWidget::focusInEvent(e);
-//printf("-->QG_GraphicView::focusInEvent(): End.   this %s focus...\n", (hasFocus() ? "has" : "DOES NOT HAVE"));
+printf("-->QG_GraphicView::focusInEvent(): End.   this %s focus...\n", (hasFocus() ? "has" : "DOES NOT HAVE"));
 }
 
 /**
@@ -626,12 +626,12 @@ void QG_GraphicView::keyPressEvent(QKeyEvent * e)
        if (scroll)
                setCurrentAction(new ActionZoomScroll(direction, *container, *this));
 
-       GraphicView::keyPressEvent(e);
+       GraphicView::_keyPressEvent(e);
 }
 
 void QG_GraphicView::keyReleaseEvent(QKeyEvent * e)
 {
-       GraphicView::keyReleaseEvent(e);
+       GraphicView::_keyReleaseEvent(e);
 }
 
 /**