summaryrefslogtreecommitdiff
path: root/src/bookmouse_old.hpp
diff options
context:
space:
mode:
authorDominick Allen <djallen@librehumanitas.org>2024-09-25 12:16:30 -0500
committerDominick Allen <djallen@librehumanitas.org>2024-09-25 12:16:30 -0500
commit8477ffbfba2f15edb9f87e9336e2c4599000c32a (patch)
tree059a36f9d526b0807a7bd0b20979577f9a7e7d0e /src/bookmouse_old.hpp
parentb6e3cc840e255b78ee53e55b420aeee130e51ce1 (diff)
Moving forward.
Diffstat (limited to 'src/bookmouse_old.hpp')
-rw-r--r--src/bookmouse_old.hpp51
1 files changed, 0 insertions, 51 deletions
diff --git a/src/bookmouse_old.hpp b/src/bookmouse_old.hpp
deleted file mode 100644
index b2a3a5a..0000000
--- a/src/bookmouse_old.hpp
+++ /dev/null
@@ -1,51 +0,0 @@
-#ifndef BOOKMOUSE_HPP
-#define BOOKMOUSE_HPP
-
-#include "archive.hpp"
-
-#include <QtWidgets>
-#include <cstdint>
-#include <vector>
-
-namespace bookmouse {
-
-enum class PageLayout : uint8_t {
- Single,
- Dual,
- Manga
-};
-
-class Bookmouse : public QWidget {
- Q_OBJECT
-
- public:
- friend class BookmouseApp;
- Bookmouse();
-
- 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 bookmouse
-
-#endif