|
| GraphicsDImgView (QWidget *const parent=nullptr) |
|
int | contentsX () const |
|
int | contentsY () const |
|
void | drawText (QPainter *p, const QRectF &rect, const QString &text) |
|
void | fitToWindow () |
|
GraphicsDImgItem * | item () const |
| Return the instance of item set by setItem().
|
|
SinglePhotoPreviewLayout * | layout () const |
|
DImgPreviewItem * | previewItem () const |
| Return a cast of item instance of item set by setItem() as DImgPreviewItem Note: if you store a GraphicsDImgItem object using setItem(), this method will return 0.
|
|
void | scrollPointOnPoint (const QPointF &scenePos, const QPoint &viewportPos) |
| Scrolls the view such that scenePos (in scene coordinates is displayed on the viewport at viewportPos (in viewport coordinates).
|
|
void | setContentsPos (int x, int y) |
|
void | setItem (GraphicsDImgItem *const item) |
| Store internal instance of item as GraphicsDImgItem.
|
|
void | toggleFullScreen (bool set) |
|
QRect | visibleArea () const |
|
|
virtual bool | acceptsMouseClick (QMouseEvent *e) |
|
void | continuePanning (const QPoint &pos) |
|
void | drawForeground (QPainter *painter, const QRectF &rect) override |
|
void | finishPanning () |
|
void | installPanIcon () |
|
void | mouseDoubleClickEvent (QMouseEvent *) override |
|
void | mouseMoveEvent (QMouseEvent *) override |
|
void | mousePressEvent (QMouseEvent *) override |
|
void | mouseReleaseEvent (QMouseEvent *) override |
|
void | resizeEvent (QResizeEvent *) override |
|
void | scrollContentsBy (int dx, int dy) override |
|
void | setScaleFitToWindow (bool value) |
|
void | setShowText (bool value) |
|
void | startPanning (const QPoint &pos) |
|
void | wheelEvent (QWheelEvent *) override |
|