2019-12-05 15:24:12 +01:00
<!DOCTYPE html>
< html lang = "en" >
< head >
2020-03-31 15:35:51 +02:00
< meta charset = "utf-8" >
2019-12-05 15:24:12 +01:00
<!-- create.cpp -->
2020-01-30 15:47:04 +01:00
< title > Create Class | ScreenPlay< / title >
2019-12-05 15:24:12 +01:00
< link rel = "stylesheet" type = "text/css" href = "../css/style.css" / > < link rel = "stylesheet" type = "text/css" href = "../css/bootstrap.min.css" / >
< / head >
< body >
2019-12-05 15:30:08 +01:00
< div class = "container-fullwidth nav" > < div class = "container navWrapper" > < a href = "../index.html" > < span class = "logo" > ScreenPlay Generated Docs < / span > < / a > < span class = "navHome" > < a href = "../index.html" > Home< / a > < / span > < / div > < / div > < div id = mainWrapper class = "wrapper container " >
2019-12-05 15:24:12 +01:00
< li > Create< / li >
< div class = "sidebar" >
< div class = "toc" >
< h3 > < a name = "toc" > Contents< / a > < / h3 >
< ul >
< li class = "level1" > < a href = "#public-functions" > Public Functions< / a > < / li >
< li class = "level1" > < a href = "#public-slots" > Public Slots< / a > < / li >
< li class = "level1" > < a href = "#signals" > Signals< / a > < / li >
< li class = "level1" > < a href = "#details" > Detailed Description< / a > < / li >
< / ul >
< / div >
< div class = "sidebar-content" id = "sidebar-content" > < / div > < / div >
< h1 class = "title" > Create Class< / h1 >
2020-03-31 15:35:51 +02:00
< span class = "small-subtitle" > class < a href = "screenplay.html" > ScreenPlay< / a > ::Create< / span >
2019-12-05 15:24:12 +01:00
<!-- $$$Create - brief -->
2019-12-08 11:38:48 +01:00
< p > Baseclass for creating wallapers, widgets and the corresponding wizards. < a href = "#details" > More...< / a > < / p >
2019-12-05 15:24:12 +01:00
<!-- @@@Create -->
< div class = "table" > < table class = "alignedsummary" >
< tr > < td class = "memItemLeft rightAlign topAlign" > Header:< / td > < td class = "memItemRight bottomAlign" > < span class = "preprocessor" > #include < Create> < / span >
< / td > < / tr > < / table > < / div > < ul >
< li > < a href = "screenplay-create-members.html" > List of all members, including inherited members< / a > < / li >
< / ul >
< a name = "public-functions" > < / a >
< h2 id = "public-functions" > Public Functions< / h2 >
< div class = "table" > < table class = "alignedsummary" >
2019-12-08 11:38:48 +01:00
< tr > < td class = "memItemLeft rightAlign topAlign" > < / td > < td class = "memItemRight bottomAlign" > < b > < a href = "screenplay-create.html#Create-1" > Create< / a > < / b > ()< / td > < / tr >
2020-01-30 15:47:04 +01:00
< tr > < td class = "memItemLeft rightAlign topAlign" > < / td > < td class = "memItemRight bottomAlign" > < b > < a href = "screenplay-create.html#Create" > Create< / a > < / b > (const shared_ptr< ScreenPlay::GlobalVariables> & < i > globalVariables< / i > , QObject *< i > parent< / i > = nullptr)< / td > < / tr >
2019-12-05 15:24:12 +01:00
< tr > < td class = "memItemLeft rightAlign topAlign" > QString < / td > < td class = "memItemRight bottomAlign" > < b > < a href = "screenplay-create.html#ffmpegOutput-prop" > ffmpegOutput< / a > < / b > () const< / td > < / tr >
< tr > < td class = "memItemLeft rightAlign topAlign" > float < / td > < td class = "memItemRight bottomAlign" > < b > < a href = "screenplay-create.html#progress-prop" > progress< / a > < / b > () const< / td > < / tr >
< tr > < td class = "memItemLeft rightAlign topAlign" > QString < / td > < td class = "memItemRight bottomAlign" > < b > < a href = "screenplay-create.html#workingDir-prop" > workingDir< / a > < / b > () const< / td > < / tr >
< / table > < / div >
< a name = "public-slots" > < / a >
< h2 id = "public-slots" > Public Slots< / h2 >
< div class = "table" > < table class = "alignedsummary" >
2020-03-31 15:35:51 +02:00
< tr > < td class = "memItemLeft rightAlign topAlign" > void < / td > < td class = "memItemRight bottomAlign" > < b > < a href = "screenplay-create.html#abortAndCleanup" > abortAndCleanup< / a > < / b > ()< / td > < / tr >
2019-12-05 15:24:12 +01:00
< tr > < td class = "memItemLeft rightAlign topAlign" > void < / td > < td class = "memItemRight bottomAlign" > < b > < a href = "screenplay-create.html#ffmpegOutput-prop" > appendFfmpegOutput< / a > < / b > (QString < i > ffmpegOutput< / i > )< / td > < / tr >
2020-03-31 15:35:51 +02:00
< tr > < td class = "memItemLeft rightAlign topAlign" > void < / td > < td class = "memItemRight bottomAlign" > < b > < a href = "screenplay-create.html#createHTMLWallpaper" > createHTMLWallpaper< / a > < / b > (const QString & < i > localStoragePath< / i > , const QString & < i > title< / i > , const QString & < i > previewThumbnail< / i > , const QString & < i > license< / i > , const QVector< QString> & < i > tags< / i > )< / td > < / tr >
< tr > < td class = "memItemLeft rightAlign topAlign" > void < / td > < td class = "memItemRight bottomAlign" > < b > < a href = "screenplay-create.html#createWallpaperStart" > createWallpaperStart< / a > < / b > (QString < i > videoPath< / i > , Create::VideoCodec < i > codec< / i > )< / td > < / tr >
< tr > < td class = "memItemLeft rightAlign topAlign" > void < / td > < td class = "memItemRight bottomAlign" > < b > < a href = "screenplay-create.html#createWidget" > createWidget< / a > < / b > (const QString & < i > localStoragePath< / i > , const QString & < i > title< / i > , const QString & < i > previewThumbnail< / i > , const QString & < i > createdBy< / i > , const QString & < i > license< / i > , const QString & < i > type< / i > , const QVector< QString> & < i > tags< / i > )< / td > < / tr >
< tr > < td class = "memItemLeft rightAlign topAlign" > void < / td > < td class = "memItemRight bottomAlign" > < b > < a href = "screenplay-create.html#saveWallpaper" > saveWallpaper< / a > < / b > (QString < i > title< / i > , QString < i > description< / i > , QString < i > filePath< / i > , QString < i > previewImagePath< / i > , QString < i > youtube< / i > , ScreenPlay::Create::VideoCodec < i > codec< / i > , QVector< QString> < i > tags< / i > )< / td > < / tr >
2019-12-05 15:24:12 +01:00
< tr > < td class = "memItemLeft rightAlign topAlign" > void < / td > < td class = "memItemRight bottomAlign" > < b > < a href = "screenplay-create.html#progress-prop" > setProgress< / a > < / b > (float < i > progress< / i > )< / td > < / tr >
< tr > < td class = "memItemLeft rightAlign topAlign" > void < / td > < td class = "memItemRight bottomAlign" > < b > < a href = "screenplay-create.html#workingDir-prop" > setWorkingDir< / a > < / b > (const QString & < i > workingDir< / i > )< / td > < / tr >
< / table > < / div >
< a name = "signals" > < / a >
< h2 id = "signals" > Signals< / h2 >
< div class = "table" > < table class = "alignedsummary" >
< tr > < td class = "memItemLeft rightAlign topAlign" > void < / td > < td class = "memItemRight bottomAlign" > < b > < a href = "screenplay-create.html#ffmpegOutput-prop" > ffmpegOutputChanged< / a > < / b > (QString < i > ffmpegOutput< / i > )< / td > < / tr >
< tr > < td class = "memItemLeft rightAlign topAlign" > void < / td > < td class = "memItemRight bottomAlign" > < b > < a href = "screenplay-create.html#progress-prop" > progressChanged< / a > < / b > (float < i > progress< / i > )< / td > < / tr >
< tr > < td class = "memItemLeft rightAlign topAlign" > void < / td > < td class = "memItemRight bottomAlign" > < b > < a href = "screenplay-create.html#workingDir-prop" > workingDirChanged< / a > < / b > (QString < i > workingDir< / i > )< / td > < / tr >
< / table > < / div >
< a name = "details" > < / a >
<!-- $$$Create - description -->
< div class = "descr" >
< h2 id = "details" > Detailed Description< / h2 >
2019-12-08 11:38:48 +01:00
< p > As for this writing (April 2019) it is solely used to import webm wallpaper and create the gif/web 5 second previews.< / p >
2019-12-05 15:24:12 +01:00
< / div >
<!-- @@@Create -->
2019-12-08 11:38:48 +01:00
< div class = "func" >
< h2 > Member Function Documentation< / h2 >
<!-- $$$Create$$$Create -->
< h3 class = "fn" id = "Create-1" > < a name = "Create-1" > < / a > Create::< span class = "name" > Create< / span > ()< / h3 >
< p > Constructor for the QMLEngine.< / p >
<!-- @@@Create -->
2020-01-30 15:47:04 +01:00
<!-- $$$Create[overload1]$$$Createconstshared_ptr<ScreenPlay::GlobalVariables>&QObject* -->
< h3 class = "fn" id = "Create" > < a name = "Create" > < / a > Create::< span class = "name" > Create< / span > (const < span class = "type" > shared_ptr< / span > < < span class = "type" > ScreenPlay::GlobalVariables< / span > > & < i > globalVariables< / i > , < span class = "type" > QObject< / span > *< i > parent< / i > = nullptr)< / h3 >
< p > Constructor.< / p >
<!-- @@@Create -->
2020-03-31 15:35:51 +02:00
<!-- $$$abortAndCleanup[overload1]$$$abortAndCleanup -->
< h3 class = "fn" id = "abortAndCleanup" > < a name = "abortAndCleanup" > < / a > < code > [slot] < / code > < span class = "type" > void< / span > Create::< span class = "name" > abortAndCleanup< / span > ()< / h3 >
< p > .< / p >
<!-- @@@abortAndCleanup -->
<!-- $$$createHTMLWallpaper[overload1]$$$createHTMLWallpaperconstQString&constQString&constQString&constQString&constQVector<QString>& -->
< h3 class = "fn" id = "createHTMLWallpaper" > < a name = "createHTMLWallpaper" > < / a > < code > [slot] < / code > < span class = "type" > void< / span > Create::< span class = "name" > createHTMLWallpaper< / span > (const < span class = "type" > QString< / span > & < i > localStoragePath< / i > , const < span class = "type" > QString< / span > & < i > title< / i > , const < span class = "type" > QString< / span > & < i > previewThumbnail< / i > , const < span class = "type" > QString< / span > & < i > license< / i > , const < span class = "type" > QVector< / span > < < span class = "type" > QString< / span > > & < i > tags< / i > )< / h3 >
< p > Creates a HTML wallpaper.< / p >
<!-- @@@createHTMLWallpaper -->
<!-- $$$createWallpaperStart[overload1]$$$createWallpaperStartQStringCreate::VideoCodec -->
< h3 class = "fn" id = "createWallpaperStart" > < a name = "createWallpaperStart" > < / a > < code > [slot] < / code > < span class = "type" > void< / span > Create::< span class = "name" > createWallpaperStart< / span > (< span class = "type" > QString< / span > < i > videoPath< / i > , < span class = "type" > Create::VideoCodec< / span > < i > codec< / i > )< / h3 >
2019-12-08 11:38:48 +01:00
< p > Starts the process.< / p >
<!-- @@@createWallpaperStart -->
2020-03-31 15:35:51 +02:00
<!-- $$$createWidget[overload1]$$$createWidgetconstQString&constQString&constQString&constQString&constQString&constQString&constQVector<QString>& -->
< h3 class = "fn" id = "createWidget" > < a name = "createWidget" > < / a > < code > [slot] < / code > < span class = "type" > void< / span > Create::< span class = "name" > createWidget< / span > (const < span class = "type" > QString< / span > & < i > localStoragePath< / i > , const < span class = "type" > QString< / span > & < i > title< / i > , const < span class = "type" > QString< / span > & < i > previewThumbnail< / i > , const < span class = "type" > QString< / span > & < i > createdBy< / i > , const < span class = "type" > QString< / span > & < i > license< / i > , const < span class = "type" > QString< / span > & < i > type< / i > , const < span class = "type" > QVector< / span > < < span class = "type" > QString< / span > > & < i > tags< / i > )< / h3 >
< p > Creates a new widget.< / p >
<!-- @@@createWidget -->
<!-- $$$saveWallpaper[overload1]$$$saveWallpaperQStringQStringQStringQStringQStringScreenPlay::Create::VideoCodecQVector<QString> -->
< h3 class = "fn" id = "saveWallpaper" > < a name = "saveWallpaper" > < / a > < code > [slot] < / code > < span class = "type" > void< / span > Create::< span class = "name" > saveWallpaper< / span > (< span class = "type" > QString< / span > < i > title< / i > , < span class = "type" > QString< / span > < i > description< / i > , < span class = "type" > QString< / span > < i > filePath< / i > , < span class = "type" > QString< / span > < i > previewImagePath< / i > , < span class = "type" > QString< / span > < i > youtube< / i > , < span class = "type" > ScreenPlay::Create::VideoCodec< / span > < i > codec< / i > , < span class = "type" > QVector< / span > < < span class = "type" > QString< / span > > < i > tags< / i > )< / h3 >
2019-12-08 11:38:48 +01:00
< p > When converting of the wallpaper steps where successful.< / p >
<!-- @@@saveWallpaper -->
< / div >
< div id = license class = "footer center" > < p > This documentation is licensed under a < a rel = "license" href = "http://creativecommons.org/licenses/by/4.0/" > Creative Commons Attribution 4.0 International License< / a > .< / p > < / div > < script src = "../js/mermaid.min.js" > < / script > < script > var config = { startOnLoad : true , flowchart : { useMaxWidth : true , htmlLabels : true } } ; mermaid . initialize ( config ) ; < / script > < / body >
2019-12-05 15:24:12 +01:00
< / html >