mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Sidebar widget refactoring
This commit is contained in:
@ -31,6 +31,7 @@ class PDFSidebarWidget;
|
||||
|
||||
namespace pdf
|
||||
{
|
||||
class PDFAction;
|
||||
class PDFDocument;
|
||||
class PDFOutlineTreeItemModel;
|
||||
class PDFOptionalContentActivity;
|
||||
@ -72,10 +73,15 @@ public:
|
||||
/// Returns list of valid pages (nonempty pages)
|
||||
std::vector<Page> getValidPages() const;
|
||||
|
||||
signals:
|
||||
void actionTriggered(const pdf::PDFAction* action);
|
||||
|
||||
private:
|
||||
void updateGUI(Page preferredPage);
|
||||
void updateButtons();
|
||||
|
||||
void onOutlineItemClicked(const QModelIndex& index);
|
||||
|
||||
struct PageInfo
|
||||
{
|
||||
QPushButton* button = nullptr;
|
||||
|
Reference in New Issue
Block a user