aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/libLumina/LVideoLabel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src-qt5/core/libLumina/LVideoLabel.h')
-rw-r--r--src-qt5/core/libLumina/LVideoLabel.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src-qt5/core/libLumina/LVideoLabel.h b/src-qt5/core/libLumina/LVideoLabel.h
index 110e3305..8c544b16 100644
--- a/src-qt5/core/libLumina/LVideoLabel.h
+++ b/src-qt5/core/libLumina/LVideoLabel.h
@@ -3,11 +3,11 @@
#include <QLabel>
#include <QMediaPlayer>
+#include <QTimer>
+#include <QResizeEvent>
#include "LVideoSurface.h"
-//class LVideoSurface;
-
-class LVideoLabel : public QLabel {
+class LVideoLabel : public QLabel{
Q_OBJECT
public:
LVideoLabel(QString, QWidget* parent=NULL);
@@ -17,13 +17,14 @@ class LVideoLabel : public QLabel {
protected:
void enterEvent(QEvent*);
void leaveEvent(QEvent*);
+ void resizeEvent(QResizeEvent*);
signals:
void rollOver();
void frameReceived(QPixmap);
private slots:
- void initializeBackend();
+ void initializeBackend();
void stopVideo(QPixmap);
void setDuration(QMediaPlayer::MediaStatus);
@@ -33,6 +34,6 @@ class LVideoLabel : public QLabel {
QPixmap thumbnail;
bool entered;
bool shrink;
- QString filepath;
+ QString filepath;
};
#endif
bgstack15