25 #ifndef DIGIKAM_GRAPHICS_DIMG_VIEW_H
26 #define DIGIKAM_GRAPHICS_DIMG_VIEW_H
30 #include <QGraphicsView>
39 class GraphicsDImgItem;
40 class DImgPreviewItem;
41 class SinglePhotoPreviewLayout;
78 void scrollPointOnPoint(
const QPointF& scenePos,
const QPoint& viewportPos);
81 void drawText(QPainter* p,
const QRectF& rect,
const QString& text);
83 int contentsX()
const;
84 int contentsY()
const;
85 QRect visibleArea()
const;
86 void setContentsPos(
int x,
int y);
88 void toggleFullScreen(
bool set);
108 void drawForeground(QPainter* painter,
const QRectF& rect)
override;
110 void installPanIcon();
112 void mouseDoubleClickEvent(QMouseEvent*)
override;
113 void mousePressEvent(QMouseEvent*)
override;
114 void mouseMoveEvent(QMouseEvent*)
override;
115 void mouseReleaseEvent(QMouseEvent*)
override;
116 void wheelEvent(QWheelEvent*)
override;
117 void resizeEvent(QResizeEvent*)
override;
119 void startPanning(
const QPoint& pos);
120 void continuePanning(
const QPoint& pos);
121 void finishPanning();
123 void setShowText(
bool value);
125 virtual bool acceptsMouseClick(QMouseEvent* e);
126 void scrollContentsBy(
int dx,
int dy)
override;
130 void slotContentsMoved();
131 void slotCornerButtonPressed();
132 void slotPanIconHidden();
134 virtual void slotPanIconSelectionMoved(
const QRect&,
bool);
Definition: dimgitems_p.h:97
Definition: dimgitems_p.h:75
Definition: graphicsdimgview.h:44
void leftButtonDoubleClicked()
void contentsMoving(int, int)
void viewportRectChanged(const QRectF &viewportRect)
void contentsMoved(bool panningFinished)
void rightButtonClicked()
Definition: previewlayout.h:44
qulonglong value
Definition: itemviewutilities.cpp:592
Definition: datefolderview.cpp:43