Mac os X add QAbstractScrollArea::wheelEvent(e) only, and gestureEvent, thank Yoann

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3284 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
scorpio810
2014-08-18 18:26:38 +00:00
parent dbbff61b25
commit d4e64d72ff
2 changed files with 72 additions and 9 deletions

View File

@@ -121,6 +121,7 @@ class DiagramView : public QGraphicsView {
void handleElementDrop(QDropEvent *);
void handleTitleBlockDrop(QDropEvent *);
void handleTextDrop(QDropEvent *);
bool gestureEvent(QGestureEvent *event);
QRectF viewedSceneRect() const;
bool mustIntegrateElement(const ElementsLocation &) const;
bool mustIntegrateTitleBlockTemplate(const TitleBlockTemplateLocation &) const;
@@ -161,6 +162,8 @@ class DiagramView : public QGraphicsView {
void setSelectionMode();
void zoomIn();
void zoomOut();
void zoomInSlowly();
void zoomOutSlowly();
void zoomFit();
void zoomContent();
void zoomReset();