Add support for detecting manga issues in YACReader

When an issues is open from YACReaderLibrary we can check if it is a manga an update the UI to enable manga reading.

This also fixes going previous/next from the ui/shortcuts
This commit is contained in:
Luis Ángel San Martín
2021-01-16 14:29:00 +01:00
parent 9643274b39
commit 611d4c5e26
6 changed files with 125 additions and 27 deletions

View File

@ -50,6 +50,8 @@ public slots:
void newVersion();
void openPreviousComic();
void openNextComic();
void openLeftComic();
void openRightComic();
void openComicFromPath(QString pathFile);
void openSiblingComic(QString pathFile);
void openComic(QString pathFile);
@ -68,6 +70,7 @@ public slots:
void checkNewVersion();
void processReset();
void setUpShortcutsManagement();
void doubleMangaPageSwitch();
void toggleFitToWidthSlider();
@ -181,6 +184,7 @@ private:
protected:
void closeEvent(QCloseEvent *event) override;
void sendComic();
void updateOpenPrevNextActions(bool thereIsPrevious, bool thereIsNext);
public:
MainWindowViewer();