Changeset View
Changeset View
Standalone View
Standalone View
lib/documentview/documentview.h
Show First 20 Lines • Show All 157 Lines • ▼ Show 20 Line(s) | 156 | Q_SIGNALS: | |||
---|---|---|---|---|---|
158 | * Emitted when the part has finished loading | 158 | * Emitted when the part has finished loading | ||
159 | */ | 159 | */ | ||
160 | void completed(); | 160 | void completed(); | ||
161 | 161 | | |||
162 | void previousImageRequested(); | 162 | void previousImageRequested(); | ||
163 | 163 | | |||
164 | void nextImageRequested(); | 164 | void nextImageRequested(); | ||
165 | 165 | | |||
166 | void openUrlRequested(const QUrl&); | ||||
167 | | ||||
168 | void openDirUrlRequested(const QUrl&); | ||||
169 | | ||||
166 | void captionUpdateRequested(const QString&); | 170 | void captionUpdateRequested(const QString&); | ||
167 | 171 | | |||
168 | void toggleFullScreenRequested(); | 172 | void toggleFullScreenRequested(); | ||
169 | 173 | | |||
170 | void videoFinished(); | 174 | void videoFinished(); | ||
171 | 175 | | |||
172 | void minimumZoomChanged(qreal); | 176 | void minimumZoomChanged(qreal); | ||
173 | 177 | | |||
Show All 22 Lines | |||||
196 | 200 | | |||
197 | protected: | 201 | protected: | ||
198 | void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = 0) Q_DECL_OVERRIDE; | 202 | void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = 0) Q_DECL_OVERRIDE; | ||
199 | 203 | | |||
200 | void resizeEvent(QGraphicsSceneResizeEvent* event) Q_DECL_OVERRIDE; | 204 | void resizeEvent(QGraphicsSceneResizeEvent* event) Q_DECL_OVERRIDE; | ||
201 | void wheelEvent(QGraphicsSceneWheelEvent* event) Q_DECL_OVERRIDE; | 205 | void wheelEvent(QGraphicsSceneWheelEvent* event) Q_DECL_OVERRIDE; | ||
202 | void contextMenuEvent(QGraphicsSceneContextMenuEvent* event) Q_DECL_OVERRIDE; | 206 | void contextMenuEvent(QGraphicsSceneContextMenuEvent* event) Q_DECL_OVERRIDE; | ||
203 | bool sceneEventFilter(QGraphicsItem*, QEvent*) Q_DECL_OVERRIDE; | 207 | bool sceneEventFilter(QGraphicsItem*, QEvent*) Q_DECL_OVERRIDE; | ||
208 | void dragEnterEvent(QGraphicsSceneDragDropEvent* event) override; | ||||
209 | void dropEvent(QGraphicsSceneDragDropEvent* event) override; | ||||
204 | 210 | | |||
205 | private Q_SLOTS: | 211 | private Q_SLOTS: | ||
206 | void finishOpenUrl(); | 212 | void finishOpenUrl(); | ||
207 | void slotCompleted(); | 213 | void slotCompleted(); | ||
208 | void slotLoadingFailed(); | 214 | void slotLoadingFailed(); | ||
209 | 215 | | |||
210 | void zoomActualSize(); | 216 | void zoomActualSize(); | ||
211 | 217 | | |||
Show All 23 Lines |