Initial commit

This commit is contained in:
torsten committed 2026-08-13 18:33:10 +02:00
commit b7d90b9afe
16245 files changed
+3396666

No files matched your search

+38
View File
@@ -0,0 +1,38 @@
/**
* @RDE_HEADER@
* Handle Audio/Video output for thp through libvlc
* $Id$
* $HeadURL$
* $Author$
*/
#pragma once
#include <QFrame>
#include <QUrl>
namespace VideoImport
{
class AudioVideoWidget : public QFrame
{
Q_OBJECT
public:
explicit AudioVideoWidget(QWidget *parent = nullptr);
~AudioVideoWidget();
bool play(const QUrl &file);
bool stop();
void setAV(bool isAudio = false);
protected slots:
void onCut(const QString &inTime, const QString &duration);
public slots:
void onOpenFile();
private:
class Private;
Private *const d;
friend class AudioVideoInitThread;
QUrl m_url;
};
} // namespace VideoImport