mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Issue #54: Bookmarks page - model, bookmarks manager
This commit is contained in:
@ -20,6 +20,7 @@
|
||||
#define PDFSIDEBARWIDGET_H
|
||||
|
||||
#include "pdfglobal.h"
|
||||
#include "pdfbookmarkmanager.h"
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
@ -52,6 +53,7 @@ namespace pdfviewer
|
||||
{
|
||||
class PDFTextToSpeech;
|
||||
class PDFViewerSettings;
|
||||
class PDFBookmarkItemModel;
|
||||
|
||||
class PDFSidebarWidget : public QWidget
|
||||
{
|
||||
@ -61,6 +63,7 @@ public:
|
||||
explicit PDFSidebarWidget(pdf::PDFDrawWidgetProxy* proxy,
|
||||
PDFTextToSpeech* textToSpeech,
|
||||
pdf::PDFCertificateStore* certificateStore,
|
||||
PDFBookmarkManager* bookmarkManager,
|
||||
PDFViewerSettings* settings,
|
||||
bool editableOutline,
|
||||
QWidget* parent);
|
||||
@ -78,6 +81,7 @@ public:
|
||||
Attachments,
|
||||
Speech,
|
||||
Signatures,
|
||||
Bookmarks,
|
||||
_END
|
||||
};
|
||||
|
||||
@ -126,10 +130,12 @@ private:
|
||||
pdf::PDFDrawWidgetProxy* m_proxy;
|
||||
PDFTextToSpeech* m_textToSpeech;
|
||||
pdf::PDFCertificateStore* m_certificateStore;
|
||||
PDFBookmarkManager* m_bookmarkManager;
|
||||
PDFViewerSettings* m_settings;
|
||||
pdf::PDFOutlineTreeItemModel* m_outlineTreeModel;
|
||||
pdf::PDFThumbnailsItemModel* m_thumbnailsModel;
|
||||
pdf::PDFOptionalContentTreeItemModel* m_optionalContentTreeModel;
|
||||
PDFBookmarkItemModel* m_bookmarkItemModel;
|
||||
const pdf::PDFDocument* m_document;
|
||||
pdf::PDFOptionalContentActivity* m_optionalContentActivity;
|
||||
pdf::PDFAttachmentsTreeItemModel* m_attachmentsTreeModel;
|
||||
|
Reference in New Issue
Block a user