|
| ImportPreviewView (QWidget *const parent, Mode mode=IconViewPreview) |
|
CamItemInfo | getCamItemInfo () const |
|
void | reload () |
|
void | setCamItemInfo (const CamItemInfo &info=CamItemInfo(), const CamItemInfo &previous=CamItemInfo(), const CamItemInfo &next=CamItemInfo()) |
|
void | setCamItemPath (const QString &path=QString()) |
|
void | setPreviousNextPaths (const QString &previous, const QString &next) |
|
void | showContextMenu (const CamItemInfo &info, QGraphicsSceneContextMenuEvent *event) |
|
| 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 |
|
|
bool | acceptsMouseClick (QMouseEvent *e) override |
|
void | enterEvent (QEnterEvent *) override |
|
void | leaveEvent (QEvent *e) override |
|
void | showEvent (QShowEvent *e) override |
|
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 |
|