aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-pdf/mainUI.h
diff options
context:
space:
mode:
authorZackaryWelch <welch.zackary@gmail.com>2017-12-20 14:41:12 -0500
committerZackaryWelch <welch.zackary@gmail.com>2017-12-20 14:41:12 -0500
commita774d58cd478a5473d8328b2a9689bc53a37dbc1 (patch)
tree62302f6b735a683dbb51fa27d182393eb540cd93 /src-qt5/desktop-utils/lumina-pdf/mainUI.h
parentAdded test QML files (diff)
downloadlumina-a774d58cd478a5473d8328b2a9689bc53a37dbc1.tar.gz
lumina-a774d58cd478a5473d8328b2a9689bc53a37dbc1.tar.bz2
lumina-a774d58cd478a5473d8328b2a9689bc53a37dbc1.zip
Fixed keyboard focus and added an information dialog to lumina-pdf
Diffstat (limited to 'src-qt5/desktop-utils/lumina-pdf/mainUI.h')
-rw-r--r--src-qt5/desktop-utils/lumina-pdf/mainUI.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src-qt5/desktop-utils/lumina-pdf/mainUI.h b/src-qt5/desktop-utils/lumina-pdf/mainUI.h
index 9ed50ba0..18b3d231 100644
--- a/src-qt5/desktop-utils/lumina-pdf/mainUI.h
+++ b/src-qt5/desktop-utils/lumina-pdf/mainUI.h
@@ -21,6 +21,7 @@
#include <poppler/qt5/poppler-qt5.h>
#include "PresentationLabel.h"
+#include "propDialog.h"
namespace Ui{
class MainUI;
@@ -34,11 +35,11 @@ public:
void loadFile(QString path);
-
private:
Poppler::Document *DOC;
QPrintPreviewWidget *WIDGET;
Ui::MainUI *ui;
+ PropDialog *PROPDIALOG;
QPrinter* Printer;
QPrintDialog *PrintDLG;
QString lastdir;
@@ -79,8 +80,9 @@ private slots:
void startPresentationHere(){ startPresentation(false); }
void startPresentationBeginning(){ startPresentation(true); }
void closePresentation(){ endPresentation(); }
+ void showInformation();
-
+ void newFocus(QWidget*, QWidget*);
void paintOnWidget(QPrinter *PRINTER);
void paintToPrinter(QPrinter *PRINTER);
@@ -94,12 +96,12 @@ private slots:
void setScroll(bool);
void rotate(bool);
- //void rotate(QPrinter*, bool);
signals:
void PageLoaded(int);
protected:
void keyPressEvent(QKeyEvent*);
+ void wheelEvent(QWheelEvent*);
};
#endif
bgstack15