diff options
author | Ken Moore <ken@ixsystems.com> | 2017-10-04 09:52:01 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2017-10-04 09:52:01 -0400 |
commit | 15d8dac497768350ea429d6c6682ed9723d0464c (patch) | |
tree | b6238a9d934b8aca88122306fa1f90f06cc394fe /src-qt5/desktop-utils/lumina-fileinfo/MainUI.h | |
parent | Finish up the auto archive/extract within lumina-archiver (with JT) (diff) | |
parent | Further lumina-fm changes for video thumbnails (diff) | |
download | lumina-15d8dac497768350ea429d6c6682ed9723d0464c.tar.gz lumina-15d8dac497768350ea429d6c6682ed9723d0464c.tar.bz2 lumina-15d8dac497768350ea429d6c6682ed9723d0464c.zip |
Merge branch 'master' of github.com:trueos/lumina
Diffstat (limited to 'src-qt5/desktop-utils/lumina-fileinfo/MainUI.h')
-rw-r--r-- | src-qt5/desktop-utils/lumina-fileinfo/MainUI.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src-qt5/desktop-utils/lumina-fileinfo/MainUI.h b/src-qt5/desktop-utils/lumina-fileinfo/MainUI.h index cbe23d9e..5ce7b01a 100644 --- a/src-qt5/desktop-utils/lumina-fileinfo/MainUI.h +++ b/src-qt5/desktop-utils/lumina-fileinfo/MainUI.h @@ -14,11 +14,11 @@ #define _LUMINA_FILE_INFO_MAIN_UI_H #include <QDialog> - +#include <QMediaPlayer> #include <LuminaXDG.h> +#include <LVideoSurface.h> -namespace Ui{ - class MainUI; +namespace Ui{ class MainUI; }; class MainUI : public QDialog{ @@ -35,6 +35,9 @@ public slots: private: Ui::MainUI *ui; LFileInfo *INFO; + LVideoSurface *surface; + QMediaPlayer *player; + bool flag; bool canwrite; bool terminate_thread; //flag for terminating the GetDirSize task @@ -51,6 +54,8 @@ private slots: //UI Buttons void on_push_close_clicked(); void on_push_save_clicked(); + void stopVideo(QPixmap); + void setDuration(QMediaPlayer::MediaStatus); void getXdgCommand(QString prev = ""); //void on_tool_xdg_getCommand_clicked(QString prev = ""); void on_tool_xdg_getDir_clicked(); |