Changeset View
Changeset View
Standalone View
Standalone View
lib/documentview/abstractrasterimageviewtool.cpp
Show First 20 Lines • Show All 62 Lines • ▼ Show 20 Line(s) | 62 | { | |||
---|---|---|---|---|---|
63 | delete d; | 63 | delete d; | ||
64 | } | 64 | } | ||
65 | 65 | | |||
66 | RasterImageView* AbstractRasterImageViewTool::imageView() const | 66 | RasterImageView* AbstractRasterImageViewTool::imageView() const | ||
67 | { | 67 | { | ||
68 | return d->mRasterImageView; | 68 | return d->mRasterImageView; | ||
69 | } | 69 | } | ||
70 | 70 | | |||
71 | void AbstractRasterImageViewTool::mousePressEvent(QGraphicsSceneMouseEvent* event) | ||||
72 | { | ||||
73 | event->ignore(); | ||||
74 | } | ||||
75 | | ||||
76 | void AbstractRasterImageViewTool::mouseMoveEvent(QGraphicsSceneMouseEvent* event) | ||||
77 | { | ||||
78 | event->ignore(); | ||||
79 | } | ||||
80 | | ||||
81 | void AbstractRasterImageViewTool::mouseReleaseEvent(QGraphicsSceneMouseEvent* event) | ||||
82 | { | ||||
83 | event->ignore(); | ||||
84 | } | ||||
85 | | ||||
71 | void AbstractRasterImageViewTool::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) | 86 | void AbstractRasterImageViewTool::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) | ||
72 | { | 87 | { | ||
73 | event->ignore(); | 88 | event->ignore(); | ||
74 | } | 89 | } | ||
75 | 90 | | |||
91 | void AbstractRasterImageViewTool::hoverMoveEvent(QGraphicsSceneHoverEvent* event) | ||||
92 | { | ||||
93 | event->ignore(); | ||||
94 | } | ||||
95 | | ||||
76 | void AbstractRasterImageViewTool::wheelEvent(QGraphicsSceneWheelEvent* event) | 96 | void AbstractRasterImageViewTool::wheelEvent(QGraphicsSceneWheelEvent* event) | ||
77 | { | 97 | { | ||
78 | event->ignore(); | 98 | event->ignore(); | ||
79 | } | 99 | } | ||
80 | 100 | | |||
101 | void AbstractRasterImageViewTool::focusInEvent(QFocusEvent* event) | ||||
102 | { | ||||
103 | event->ignore(); | ||||
104 | } | ||||
105 | | ||||
106 | void AbstractRasterImageViewTool::keyPressEvent(QKeyEvent* event) | ||||
107 | { | ||||
108 | event->ignore(); | ||||
109 | } | ||||
110 | | ||||
111 | void AbstractRasterImageViewTool::keyReleaseEvent(QKeyEvent* event) | ||||
112 | { | ||||
113 | event->ignore(); | ||||
114 | } | ||||
115 | | ||||
81 | QCursor AbstractRasterImageViewTool::zoomCursor() const | 116 | QCursor AbstractRasterImageViewTool::zoomCursor() const | ||
82 | { | 117 | { | ||
83 | return d->mZoomCursor; | 118 | return d->mZoomCursor; | ||
84 | } | 119 | } | ||
85 | 120 | | |||
86 | } // namespace | 121 | } // namespace |