diff options
author | Ken Moore <ken@ixsystems.com> | 2019-04-03 15:21:17 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2019-04-03 15:21:17 -0400 |
commit | 8d5f1e04d7e4f24a4026804d62abe64883419bf2 (patch) | |
tree | e8de5a663e7c39db7979b61320a220bcbbdfa5ce /src-qt5/desktop-utils/lumina-pdf/PresentationLabel.h | |
parent | Update README.md (diff) | |
download | lumina-8d5f1e04d7e4f24a4026804d62abe64883419bf2.tar.gz lumina-8d5f1e04d7e4f24a4026804d62abe64883419bf2.tar.bz2 lumina-8d5f1e04d7e4f24a4026804d62abe64883419bf2.zip |
Remove lumina-calculator and lumina-pdf from the lumina repo.
They have their own repos now (https://github.com/lumina-desktop/lumina-[pdf/calculator])
Diffstat (limited to 'src-qt5/desktop-utils/lumina-pdf/PresentationLabel.h')
-rw-r--r-- | src-qt5/desktop-utils/lumina-pdf/PresentationLabel.h | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/src-qt5/desktop-utils/lumina-pdf/PresentationLabel.h b/src-qt5/desktop-utils/lumina-pdf/PresentationLabel.h deleted file mode 100644 index 19815229..00000000 --- a/src-qt5/desktop-utils/lumina-pdf/PresentationLabel.h +++ /dev/null @@ -1,39 +0,0 @@ -//=========================================== -// Lumina Desktop source code -// Copyright (c) 2017, Ken Moore -// Available under the 3-clause BSD license -// See the LICENSE file for full details -//=========================================== -// Simple subclass of QLabel to provide -// some overlay information as a presentation window -//=========================================== -#ifndef _PRESENTATION_LABEL_WIDGET_H -#define _PRESENTATION_LABEL_WIDGET_H - -#include <QDebug> -#include <QLabel> -#include <QMouseEvent> - -class PresentationLabel : public QLabel { - Q_OBJECT - -signals: - void nextSlide(); - -public: - 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(); - } - } -}; - -#endif |