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.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src-qt5/core/libLumina/LVideoLabel.h b/src-qt5/core/libLumina/LVideoLabel.h
index fd293200..fa590e5a 100644
--- a/src-qt5/core/libLumina/LVideoLabel.h
+++ b/src-qt5/core/libLumina/LVideoLabel.h
@@ -10,21 +10,24 @@
class LVideoLabel : public QLabel {
Q_OBJECT
public:
- LVideoLabel(QString, bool);
+ LVideoLabel(QString, QWidget* parent=NULL);
~LVideoLabel();
+ void setShrinkPixmap(bool);
+
protected:
void enterEvent(QEvent*);
void leaveEvent(QEvent*);
signals:
void rollOver();
- public slots:
+ void frameReceived(QPixmap);
+ private slots:
void stopVideo(QPixmap);
void setDuration(QMediaPlayer::MediaStatus);
private:
QMediaPlayer *mediaPlayer;
LVideoSurface *surface;
- QVideoWidget *videoPlayer;
QPixmap thumbnail;
bool entered;
+ bool shrink;
};
#endif
bgstack15