Commit 94683fbb authored by luyikei's avatar luyikei

Add ClipLibraryView.h

parent 02ac6014
#ifndef CLIPLIBRARYVIEW_H
#define CLIPLIBRARYVIEW_H
#include <QWidget>
#include <QJsonObject>
class ClipLibraryView : public QObject
{
Q_OBJECT
Q_DISABLE_COPY( ClipLibraryView )
public:
explicit ClipLibraryView( QWidget* parent = 0 );
QWidget* container();
Q_INVOKABLE
QJsonObject clip( const QString& uuid );
public slots:
void onClipAdded( const QString& uuid );
void onClipSelected( const QString& uuid );
void startDrag( const QString& uuid );
private:
QWidget* m_container;
signals:
void clipAdded( const QString& uuid );
void clipRemoved( const QString& uuid );
void clipSelected( const QString& uuid );
void clipOnTimelineChanged( const QString& uuid, bool onTimeline );
};
#endif // CLIPLIBRARYVIEW_H
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment