4#include "mupdf_adapter/ccpdfdocument.h"
5#include "mupdf_tools/ccpdfnavigationpolicy.h"
62 QLabel* page_navigation_indicator_label;
64 std::unique_ptr<CCPdfDocument> document_holders;
65 std::shared_ptr<MetaInfoWindow> metainfo_window;
71 void setup_connections();
81 void update_page_navigations_ui();
88 void update_ui_globally();
91 void init_once_pdfdoc(
void);
Defines navigation behavior between PDF pages, especially in exceptional cases.
Definition ccpdfnavigationpolicy.h:12
Provides a widget to view PDF documents at the page level.
Definition ccpdfviewer.h:22
MainWindow for example show.
Definition MainWindow.h:15
void open_documentFromDialog()
Opens a PDF document using a file dialog.
Definition mainwindow.cpp:81
void prev_page(void)
Navigates to the previous page.
Definition mainwindow.cpp:120
void zoom_in(void)
Zooms into the current PDF view.
Definition mainwindow.cpp:140
MainWindow(QWidget *parent=nullptr)
Constructs the main window and initializes the UI.
void jump_to_page(const int page_index)
Jumps to the specified page index.
Definition mainwindow.cpp:100
void switch_toolbox_state(void)
Toggles the visibility of the toolbox sidebar.
Definition mainwindow.cpp:132
void zoom_out(void)
Zooms out of the current PDF view.
Definition mainwindow.cpp:146
void next_page(void)
Navigates to the next page.
Definition mainwindow.cpp:126
void browse_document_metas()
Opens a window to browse document meta information.
Definition mainwindow.cpp:152
~MainWindow()
Destructor to clean up resources.