diff options
author | Ken Moore <ken@ixsystems.com> | 2017-10-25 18:27:52 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2017-10-25 18:27:52 -0400 |
commit | c52596a4d90e681b394e4c212592f26275d74bae (patch) | |
tree | 6264e2caf978da7e09d749c923821e3d8132bd10 /src-qt5/core/libLumina/LVideoLabel.h | |
parent | Re-enable the "Root Mode" warning at the top of lumina-fm, and setup the root... (diff) | |
parent | Fixed issues with previews and LVideoWidget sizing (diff) | |
download | lumina-c52596a4d90e681b394e4c212592f26275d74bae.tar.gz lumina-c52596a4d90e681b394e4c212592f26275d74bae.tar.bz2 lumina-c52596a4d90e681b394e4c212592f26275d74bae.zip |
Merge branch 'master' of github.com:trueos/lumina
Diffstat (limited to 'src-qt5/core/libLumina/LVideoLabel.h')
-rw-r--r-- | src-qt5/core/libLumina/LVideoLabel.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src-qt5/core/libLumina/LVideoLabel.h b/src-qt5/core/libLumina/LVideoLabel.h index f368c1a8..56defb6a 100644 --- a/src-qt5/core/libLumina/LVideoLabel.h +++ b/src-qt5/core/libLumina/LVideoLabel.h @@ -10,9 +10,10 @@ class LVideoLabel : public QLabel{ Q_OBJECT public: - LVideoLabel(QString, QWidget* parent=NULL); + LVideoLabel(QString, bool, QWidget* parent=NULL); ~LVideoLabel(); - void setShrinkPixmap(bool); + void enableIcons(); + void disableIcons(); protected: void enterEvent(QEvent*); @@ -33,8 +34,9 @@ class LVideoLabel : public QLabel{ QMediaPlayer *mediaPlayer; LVideoSurface *surface; QPixmap thumbnail; + QPixmap defaultThumbnail; bool entered; - bool shrink; + bool icons; QString filepath; }; #endif |