1
0

feat: add prev and next button

This commit is contained in:
Gary Wang
2020-07-04 13:49:12 +08:00
parent 3b1af64397
commit fb24e54579
9 changed files with 221 additions and 13 deletions

View File

@@ -31,6 +31,10 @@ public:
void loadGalleryBySingleLocalFile(const QString &path);
void galleryPrev();
void galleryNext();
bool isGalleryAvailable();
signals:
void galleryLoaded();
protected slots:
void showEvent(QShowEvent *event) override;
@@ -61,6 +65,8 @@ private:
QPropertyAnimation *m_floatUpAnimation;
QParallelAnimationGroup *m_exitAnimationGroup;
ToolButton *m_closeButton;
ToolButton *m_prevButton;
ToolButton *m_nextButton;
GraphicsView *m_graphicsView;
NavigatorView *m_gv;
BottomButtonGroup *m_bottomButtonGroup;