Commit bd0dd379 authored by Laurent Montel's avatar Laurent Montel 😁

Add api to define which page to print

parent 5cfc2799
......@@ -95,3 +95,8 @@ void PrintPreviewPageWidget::showPage(int index)
mPrintPreviewPage->showPage(popplerPage);
delete popplerPage;
}
void PrintPreviewPageWidget::print(const QList<int> &page)
{
//TODO
}
......@@ -37,6 +37,7 @@ public:
void loadFile(const QString &path);
void print(const QList<int> &page);
private Q_SLOTS:
void showPage(int index);
......
......@@ -19,6 +19,7 @@
#define PRINTWEBENGINEVIEWJOB_H
#include <QObject>
namespace WebEngineViewer
{
class PrintWebEngineViewJob : public QObject
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment