diff options
author | Ken Moore <ken@ixsystems.com> | 2018-03-20 13:26:15 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2018-03-20 13:26:15 -0400 |
commit | e8a1a0cd0fd113960d8199799e7c8b2e5194e9eb (patch) | |
tree | 02ca053195c87f97bfb1c2903d31d4f762e63ffd /src-qt5/desktop-utils/lumina-pdf/PresentationLabel.h | |
parent | Quick checkpoint on the new NativeWindow class (Widgets). (diff) | |
parent | Disabled Properties, Find, and Bookmarks for Poppler but enabled by default f... (diff) | |
download | lumina-e8a1a0cd0fd113960d8199799e7c8b2e5194e9eb.tar.gz lumina-e8a1a0cd0fd113960d8199799e7c8b2e5194e9eb.tar.bz2 lumina-e8a1a0cd0fd113960d8199799e7c8b2e5194e9eb.zip |
Merge branch 'master' of github.com:trueos/lumina
Diffstat (limited to 'src-qt5/desktop-utils/lumina-pdf/PresentationLabel.h')
-rw-r--r-- | src-qt5/desktop-utils/lumina-pdf/PresentationLabel.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src-qt5/desktop-utils/lumina-pdf/PresentationLabel.h b/src-qt5/desktop-utils/lumina-pdf/PresentationLabel.h index c5b552a6..e838c46a 100644 --- a/src-qt5/desktop-utils/lumina-pdf/PresentationLabel.h +++ b/src-qt5/desktop-utils/lumina-pdf/PresentationLabel.h @@ -15,21 +15,21 @@ #include <QDebug> class PresentationLabel : public QLabel{ - Q_OBJECT + Q_OBJECT signals: - void nextSlide(); + void nextSlide(); public: - PresentationLabel() : QLabel(0, Qt::Window | Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint){ - this->setContextMenuPolicy(Qt::CustomContextMenu); - } + PresentationLabel() : QLabel(0, Qt::Window | Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint){ + this->setContextMenuPolicy(Qt::CustomContextMenu); + } protected: - void mousePressEvent(QMouseEvent *ev){ - QLabel::mousePressEvent(ev); - if(ev->button()==Qt::LeftButton){ emit nextSlide(); } - } + void mousePressEvent(QMouseEvent *ev){ + QLabel::mousePressEvent(ev); + if(ev->button()==Qt::LeftButton){ emit nextSlide(); } + } }; #endif |