diff options
author | Dominick Allen <djallen@librehumanitas.org> | 2024-09-23 00:33:33 -0500 |
---|---|---|
committer | Dominick Allen <djallen@librehumanitas.org> | 2024-09-23 00:33:33 -0500 |
commit | 500e1f9892dd41419663e9f72cf47bab5b2aca0b (patch) | |
tree | a0709693d5317a6b89cdda7ac3143886b93552f4 /src/getsuyomi.hpp | |
parent | fa4b4097d3283e1d6e6376c70910e245f0b1f6ec (diff) |
Saving work.
Diffstat (limited to 'src/getsuyomi.hpp')
-rw-r--r-- | src/getsuyomi.hpp | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/src/getsuyomi.hpp b/src/getsuyomi.hpp deleted file mode 100644 index 3d3c092..0000000 --- a/src/getsuyomi.hpp +++ /dev/null @@ -1,51 +0,0 @@ -#ifndef GETSUYOMI_HPP -#define GETSUYOMI_HPP - -#include "archive.hpp" - -#include <QtWidgets> -#include <cstdint> -#include <vector> - -namespace getsuyomi { - -enum class PageLayout : uint8_t { - Single, - Dual, - Manga -}; - -class Getsuyomi : public QWidget { - Q_OBJECT - - public: - friend class GetsuyomiApp; - Getsuyomi(); - - public slots: - void setArchive(Archive* archive); - void next(); - void back(); - - private: - void setPages(); - void setPagesNormal(); - void setPagesDual(); - void setPagesManga(); - void setPages(QLabel& label1, QLabel& label2); - - QLayout* m_layout{nullptr}; - - Archive* m_archive{nullptr}; - - PageLayout m_pageLayout{PageLayout::Single}; - - QLabel m_pageLeft{}; - QLabel m_pageRight{}; - - size_t m_pageNumber{0}; -}; - -} // namespace getsuyomi - -#endif |