Create Class
class ScreenPlay::CreateBaseclass for creating wallapers, widgets and the corresponding wizards. More...
Header: | #include <Create> |
Public Functions
Create() | |
Create(const shared_ptr<ScreenPlay::GlobalVariables> &globalVariables, QObject *parent = nullptr) | |
QString | ffmpegOutput() const |
float | progress() const |
QString | workingDir() const |
Public Slots
void | abortAndCleanup() |
void | appendFfmpegOutput(QString ffmpegOutput) |
void | createHTMLWallpaper(const QString &localStoragePath, const QString &title, const QString &previewThumbnail, const QString &license, const QVector<QString> &tags) |
void | createWallpaperStart(QString videoPath, Create::VideoCodec codec) |
void | createWidget(const QString &localStoragePath, const QString &title, const QString &previewThumbnail, const QString &createdBy, const QString &license, const QString &type, const QVector<QString> &tags) |
void | saveWallpaper(QString title, QString description, QString filePath, QString previewImagePath, QString youtube, ScreenPlay::Create::VideoCodec codec, QVector<QString> tags) |
void | setProgress(float progress) |
void | setWorkingDir(const QString &workingDir) |
Signals
void | ffmpegOutputChanged(QString ffmpegOutput) |
void | progressChanged(float progress) |
void | workingDirChanged(QString workingDir) |
Detailed Description
As for this writing (April 2019) it is solely used to import webm wallpaper and create the gif/web 5 second previews.
Member Function Documentation
Create::Create()
Constructor for the QMLEngine.
Create::Create(const shared_ptr<ScreenPlay::GlobalVariables> &globalVariables, QObject *parent = nullptr)
Constructor.
[slot]
void Create::abortAndCleanup()
.
[slot]
void Create::createHTMLWallpaper(const QString &localStoragePath, const QString &title, const QString &previewThumbnail, const QString &license, const QVector<QString> &tags)
Creates a HTML wallpaper.
[slot]
void Create::createWallpaperStart(QString videoPath, Create::VideoCodec codec)
Starts the process.
[slot]
void Create::createWidget(const QString &localStoragePath, const QString &title, const QString &previewThumbnail, const QString &createdBy, const QString &license, const QString &type, const QVector<QString> &tags)
Creates a new widget.
[slot]
void Create::saveWallpaper(QString title, QString description, QString filePath, QString previewImagePath, QString youtube, ScreenPlay::Create::VideoCodec codec, QVector<QString> tags)
When converting of the wallpaper steps where successful.