diff options
author | ZackaryWelch <welch.zackary@gmail.com> | 2017-12-29 15:00:06 -0500 |
---|---|---|
committer | ZackaryWelch <welch.zackary@gmail.com> | 2017-12-29 15:00:06 -0500 |
commit | 8ae96c6a55244ee36fc7fdd4578de663fabb33b0 (patch) | |
tree | 10f3d24ec9eb7158c5021f589d010b3693e676b8 /src-qt5/desktop-utils/lumina-pdf/mainUI.h | |
parent | Quick update to lumina-textedit: (diff) | |
download | lumina-8ae96c6a55244ee36fc7fdd4578de663fabb33b0.tar.gz lumina-8ae96c6a55244ee36fc7fdd4578de663fabb33b0.tar.bz2 lumina-8ae96c6a55244ee36fc7fdd4578de663fabb33b0.zip |
Finished transitioning from QPrintPreviewWidget to QGraphicsView
Diffstat (limited to 'src-qt5/desktop-utils/lumina-pdf/mainUI.h')
-rw-r--r-- | src-qt5/desktop-utils/lumina-pdf/mainUI.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src-qt5/desktop-utils/lumina-pdf/mainUI.h b/src-qt5/desktop-utils/lumina-pdf/mainUI.h index b3ad38f1..2d23b402 100644 --- a/src-qt5/desktop-utils/lumina-pdf/mainUI.h +++ b/src-qt5/desktop-utils/lumina-pdf/mainUI.h @@ -41,10 +41,9 @@ private: PrintWidget *WIDGET; Ui::MainUI *ui; PropDialog *PROPDIALOG; - QPrinter* Printer; QPrintDialog *PrintDLG; QString lastdir; - bool matchCase, highlight; + bool matchCase; QMap<Poppler::TextBox*, int> results; int currentHighlight; @@ -62,7 +61,6 @@ private: int numPages; void loadPage(int num, Poppler::Document *doc, MainUI *obj, QSize dpi, QSizeF page); - void highlightText(QPrinter *PRINTER); //Functions/variables for the presentation mode PresentationLabel *presentationLabel; @@ -73,7 +71,7 @@ private: void endPresentation(); private slots: - void startLoadingPages(QPrinter *printer); + void startLoadingPages(); void slotPageLoaded(int); //void slotStartPresentation(QAction *act); @@ -85,12 +83,12 @@ private slots: void startPresentationHere(){ startPresentation(false); } void startPresentationBeginning(){ startPresentation(true); } void closePresentation(){ endPresentation(); } + void showInformation(); void find(QString text, bool forward); void enableFind(); void showBookmarks(); - void paintOnWidget(QPrinter*, bool); void paintToPrinter(QPrinter *PRINTER); //Button Slots |