aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-pdf/PresentationLabel.h
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2018-03-20 13:26:15 -0400
committerKen Moore <ken@ixsystems.com>2018-03-20 13:26:15 -0400
commite8a1a0cd0fd113960d8199799e7c8b2e5194e9eb (patch)
tree02ca053195c87f97bfb1c2903d31d4f762e63ffd /src-qt5/desktop-utils/lumina-pdf/PresentationLabel.h
parentQuick checkpoint on the new NativeWindow class (Widgets). (diff)
parentDisabled Properties, Find, and Bookmarks for Poppler but enabled by default f... (diff)
downloadlumina-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.h18
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
bgstack15