mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-07 03:22:33 +01:00
Merge branch 'master' into 107-refactor-create-screen
# Conflicts: # ScreenPlay/main.qml # ScreenPlay/qml.qrc # ScreenPlay/qml/Common/Background.qml # ScreenPlay/qml/Create/Create.qml
This commit is contained in:
commit
8ca91f5fe6
@ -1,11 +1,11 @@
|
||||
# Run:
|
||||
# C:\Qt\5.15.1\msvc2019_64\bin\qdoc.exe config.qdocconf
|
||||
# C:\Qt\6.0.0\msvc2019_64\bin\qdoc.exe config.qdocconf
|
||||
# in this directory. You can shift + right click in this explorer
|
||||
# window and select "Open PowerShell Window here" for this.
|
||||
|
||||
include(C:\Qt\5.15.1\msvc2019_64\doc\global\qt-cpp-defines.qdocconf)
|
||||
include(C:\Qt\5.15.1\msvc2019_64\doc\global\compat.qdocconf)
|
||||
include(C:\Qt\5.15.1\msvc2019_64\doc\global\fileextensions.qdocconf)
|
||||
include(C:\Qt\6.0.0\msvc2019_64\doc\global\qt-cpp-defines.qdocconf)
|
||||
include(C:\Qt\6.0.0\msvc2019_64\doc\global\compat.qdocconf)
|
||||
include(C:\Qt\6.0.0\msvc2019_64\doc\global\fileextensions.qdocconf)
|
||||
|
||||
descripton = ScreenPlay is an open source cross plattform app for displaying Wallpaper, Widgets and AppDrawer.
|
||||
language = Cpp
|
||||
@ -42,14 +42,14 @@ includepaths += ../ScreenPlayWidget/src/
|
||||
includepaths += ../ScreenPlayWidget/
|
||||
|
||||
# qt
|
||||
includepaths += C:/Qt/5.15.1/msvc2019_64/include/
|
||||
includepaths += C:/Qt/5.15.1/msvc2019_64/include/QtCore/
|
||||
includepaths += C:/Qt/5.15.1/msvc2019_64/include/QtGui/
|
||||
includepaths += C:/Qt/5.15.1/msvc2019_64/include/QtQml/
|
||||
includepaths += C:/Qt/5.15.1/msvc2019_64/include/QtWebEngine/
|
||||
includepaths += C:/Qt/5.15.1/msvc2019_64/include/QtNetwork/
|
||||
includepaths += C:/Qt/5.15.1/msvc2019_64/include/QtQuick/
|
||||
includepaths += C:/Qt/5.15.1/msvc2019_64/include/QtQuickControls2/
|
||||
includepaths += C:/Qt/6.0.0/msvc2019_64/include/
|
||||
includepaths += C:/Qt/6.0.0/msvc2019_64/include/QtCore/
|
||||
includepaths += C:/Qt/6.0.0/msvc2019_64/include/QtGui/
|
||||
includepaths += C:/Qt/6.0.0/msvc2019_64/include/QtQml/
|
||||
includepaths += C:/Qt/6.0.0/msvc2019_64/include/QtWebEngine/
|
||||
includepaths += C:/Qt/6.0.0/msvc2019_64/include/QtNetwork/
|
||||
includepaths += C:/Qt/6.0.0/msvc2019_64/include/QtQuick/
|
||||
includepaths += C:/Qt/6.0.0/msvc2019_64/include/QtQuickControls2/
|
||||
|
||||
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-monitorlistmodel.html#getAbsoluteDesktopSize">getAbsoluteDesktopSize</a></b></span>() const : QRect</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-monitorlistmodel.html#reset">reset</a></b></span>()</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-monitorlistmodel.html#data">data</a></b></span>(const QModelIndex &, int) const : QVariant</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-monitorlistmodel.html#getAppIDByMonitorIndex">getAppIDByMonitorIndex</a></b></span>(<i>const int</i>) const : int</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-monitorlistmodel.html#getAppIDByMonitorIndex">getAppIDByMonitorIndex</a></b></span>(const int) const : std::optional<QString></li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-monitorlistmodel.html#roleNames">roleNames</a></b></span>() const : QHash<int, QByteArray></li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-monitorlistmodel.html#rowCount">rowCount</a></b></span>(const QModelIndex &) const : int</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-monitorlistmodel.html#setWallpaperActiveMonitor">setWallpaperActiveMonitor</a></b></span>(const std::shared_ptr<ScreenPlayWallpaper> &, const QVector<int>)</li>
|
||||
|
@ -34,7 +34,7 @@
|
||||
<h2 id="public-functions">Public Functions</h2>
|
||||
<div class="table"><table class="alignedsummary">
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="screenplay-monitorlistmodel.html#MonitorListModel">MonitorListModel</a></b>(QObject *<i>parent</i> = nullptr)</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="screenplay-monitorlistmodel.html#getAppIDByMonitorIndex">getAppIDByMonitorIndex</a></b>(<i>const int</i>) const</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> std::optional<QString> </td><td class="memItemRight bottomAlign"><b><a href="screenplay-monitorlistmodel.html#getAppIDByMonitorIndex">getAppIDByMonitorIndex</a></b>(const int <i>index</i>) const</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-monitorlistmodel.html#setWallpaperActiveMonitor">setWallpaperActiveMonitor</a></b>(const std::shared_ptr<ScreenPlayWallpaper> &<i>wallpaper</i>, const QVector<int> <i>monitors</i>)</td></tr>
|
||||
</table></div>
|
||||
<a name="reimplemented-public-functions"></a>
|
||||
@ -92,7 +92,7 @@
|
||||
<p>Retruns the data member of the Monitor.</p>
|
||||
<!-- @@@data -->
|
||||
<!-- $$$getAppIDByMonitorIndex[overload1]$$$getAppIDByMonitorIndexconstint -->
|
||||
<h3 class="fn" id="getAppIDByMonitorIndex"><a name="getAppIDByMonitorIndex"></a><span class="type">int</span> MonitorListModel::<span class="name">getAppIDByMonitorIndex</span>(<i>const int</i>) const</h3>
|
||||
<h3 class="fn" id="getAppIDByMonitorIndex"><a name="getAppIDByMonitorIndex"></a><span class="type">std::optional</span><<span class="type">QString</span>> MonitorListModel::<span class="name">getAppIDByMonitorIndex</span>(const <span class="type">int</span> <i>index</i>) const</h3>
|
||||
<p>If successful this function returns an AppID. Otherwhise std::nullopt.</p>
|
||||
<!-- @@@getAppIDByMonitorIndex -->
|
||||
<!-- $$$roleNames[overload1]$$$roleNames -->
|
||||
|
@ -71,7 +71,7 @@
|
||||
<!-- $$$init[overload1]$$$initconstInstalledType::InstalledType&constQJsonObject& -->
|
||||
<h3 class="fn" id="init"><a name="init"></a><span class="type">void</span> ProjectSettingsListModel::<span class="name">init</span>(const <span class="type">InstalledType::InstalledType</span> &<i>type</i>, const <span class="type">QJsonObject</span> &<i>properties</i>)</h3>
|
||||
<p>Constructor when loading properties from settings.json We need to _flatten_ the json to make it work with a flat list model! See</p>
|
||||
<p><b>See also </b><a href="screenplay-projectsettingslistmodel.html#getActiveSettingsJson">getActiveSettingsJson</a>, to, make, the, flat, list, to, a, hierarchical, json, and object.</p>
|
||||
<p><b>See also </b><a href="screenplay-projectsettingslistmodel.html#getActiveSettingsJson">getActiveSettingsJson</a>, to</a>, make</a>, the</a>, flat</a>, list</a>, to</a>, a</a>, hierarchical</a>, json</a>, and object</a>.</p>
|
||||
<!-- @@@init -->
|
||||
</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>
|
||||
|
@ -19,8 +19,8 @@
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-screenplaymanager.html#activeWidgetsCounter-prop">activeWidgetsCounterChanged</a></b></span>(int)</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-screenplaymanager.html#closeAllWallpapers">closeAllWallpapers</a></b></span>()</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-screenplaymanager.html#closeAllWidgets">closeAllWidgets</a></b></span>()</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-screenplaymanager.html#closeConntectionByType">closeConntectionByType</a></b></span>(const QStringList &)</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-screenplaymanager.html#closeWallpaper">closeWallpaper</a></b></span>(const QString &) : bool</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-screenplaymanager.html#closeConnection">closeConnection</a></b></span>(const QString &) : bool</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-screenplaymanager.html#closeConntectionByType">closeConntectionByType</a></b></span>(const QStringList &) : bool</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-screenplaymanager.html#createWallpaper">createWallpaper</a></b></span>(const ScreenPlay::InstalledType::InstalledType, const ScreenPlay::FillMode::FillMode, const QString &, const QString &, const QString &, const QVector<int> &, const float, const float, const QJsonObject &, const bool)</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-screenplaymanager.html#createWidget">createWidget</a></b></span>(const ScreenPlay::InstalledType::InstalledType, const QPoint &, const QString &, const QString &, const QJsonObject &, const bool)</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-screenplaymanager.html#getWallpaperByAppID">getWallpaperByAppID</a></b></span>(const QString &) const : ScreenPlay::ScreenPlayWallpaper *</li>
|
||||
@ -32,7 +32,7 @@
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-screenplaymanager.html#activeWallpaperCounter-prop">setActiveWallpaperCounter</a></b></span>(int)</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-screenplaymanager.html#activeWidgetsCounter-prop">setActiveWidgetsCounter</a></b></span>(int)</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-screenplaymanager.html#setAllWallpaperValue">setAllWallpaperValue</a></b></span>(const QString &, const QString &)</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-screenplaymanager.html#setWallpaperValue">setWallpaperValue</a></b></span>(const QString &, const QString &, const QVariant &)</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-screenplaymanager.html#setWallpaperValue">setWallpaperValue</a></b></span>(const QString &, const QString &, const QString &)</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-screenplaymanager.html#setWallpaperValueAtMonitorIndex">setWallpaperValueAtMonitorIndex</a></b></span>(const int, const QString &, const QString &)</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-screenplaymanager.html#activeWallpaperCounter-prop">activeWallpaperCounter</a></b></span>() const : int</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-screenplaymanager.html#activeWidgetsCounter-prop">activeWidgetsCounter</a></b></span>() const : int</li>
|
||||
|
@ -42,8 +42,8 @@
|
||||
<div class="table"><table class="alignedsummary">
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaymanager.html#closeAllWallpapers">closeAllWallpapers</a></b>()</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaymanager.html#closeAllWidgets">closeAllWidgets</a></b>()</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaymanager.html#closeConntectionByType">closeConntectionByType</a></b>(const QStringList &<i>list</i>)</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaymanager.html#closeWallpaper">closeWallpaper</a></b>(const QString &<i>appID</i>)</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaymanager.html#closeConnection">closeConnection</a></b>(const QString &<i>appID</i>)</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaymanager.html#closeConntectionByType">closeConntectionByType</a></b>(const QStringList &<i>types</i>)</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaymanager.html#createWallpaper">createWallpaper</a></b>(const ScreenPlay::InstalledType::InstalledType <i>type</i>, const ScreenPlay::FillMode::FillMode <i>fillMode</i>, const QString &<i>absoluteStoragePath</i>, const QString &<i>previewImage</i>, const QString &<i>file</i>, const QVector<int> &<i>monitorIndex</i>, const float <i>volume</i>, const float <i>playbackRate</i>, const QJsonObject &<i>properties</i>, const bool <i>saveToProfilesConfigFile</i>)</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaymanager.html#createWidget">createWidget</a></b>(const ScreenPlay::InstalledType::InstalledType <i>type</i>, const QPoint &<i>position</i>, const QString &<i>absoluteStoragePath</i>, const QString &<i>previewImage</i>, const QJsonObject &<i>properties</i>, const bool <i>saveToProfilesConfigFile</i>)</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> ScreenPlay::ScreenPlayWallpaper *</td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaymanager.html#getWallpaperByAppID">getWallpaperByAppID</a></b>(const QString &<i>appID</i>) const</td></tr>
|
||||
@ -54,7 +54,7 @@
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaymanager.html#activeWallpaperCounter-prop">setActiveWallpaperCounter</a></b>(int <i>activeWallpaperCounter</i>)</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaymanager.html#activeWidgetsCounter-prop">setActiveWidgetsCounter</a></b>(int <i>activeWidgetsCounter</i>)</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaymanager.html#setAllWallpaperValue">setAllWallpaperValue</a></b>(const QString &<i>key</i>, const QString &<i>value</i>)</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaymanager.html#setWallpaperValue">setWallpaperValue</a></b>(const QString &<i>appID</i>, const QString &<i>key</i>, const QVariant &<i>value</i>)</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaymanager.html#setWallpaperValue">setWallpaperValue</a></b>(const QString &<i>appID</i>, const QString &<i>key</i>, const QString &<i>value</i>)</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaymanager.html#setWallpaperValueAtMonitorIndex">setWallpaperValueAtMonitorIndex</a></b>(const int <i>index</i>, const QString &<i>key</i>, const QString &<i>value</i>)</td></tr>
|
||||
</table></div>
|
||||
<a name="signals"></a>
|
||||
@ -95,14 +95,14 @@
|
||||
<li>standaloneWidget</li>
|
||||
</ul>
|
||||
<!-- @@@closeAllWidgets -->
|
||||
<!-- $$$closeConnection[overload1]$$$closeConnectionconstQString& -->
|
||||
<h3 class="fn" id="closeConnection"><a name="closeConnection"></a><code>[slot] </code><span class="type">bool</span> ScreenPlayManager::<span class="name">closeConnection</span>(const <span class="type">QString</span> &<i>appID</i>)</h3>
|
||||
<p>Closes a Wallpaper or Widget connection by the given <i>appID</i>.</p>
|
||||
<!-- @@@closeConnection -->
|
||||
<!-- $$$closeConntectionByType[overload1]$$$closeConntectionByTypeconstQStringList& -->
|
||||
<h3 class="fn" id="closeConntectionByType"><a name="closeConntectionByType"></a><code>[slot] </code><span class="type">void</span> ScreenPlayManager::<span class="name">closeConntectionByType</span>(const <span class="type">QStringList</span> &<i>list</i>)</h3>
|
||||
<h3 class="fn" id="closeConntectionByType"><a name="closeConntectionByType"></a><code>[slot] </code><span class="type">bool</span> ScreenPlayManager::<span class="name">closeConntectionByType</span>(const <span class="type">QStringList</span> &<i>types</i>)</h3>
|
||||
<p>Closes a connection by type. Used only by <a href="screenplay-screenplaymanager.html#closeAllWidgets">closeAllWidgets</a>() and <a href="screenplay-screenplaymanager.html#closeAllWallpapers">closeAllWallpapers</a>()</p>
|
||||
<!-- @@@closeConntectionByType -->
|
||||
<!-- $$$closeWallpaper[overload1]$$$closeWallpaperconstQString& -->
|
||||
<h3 class="fn" id="closeWallpaper"><a name="closeWallpaper"></a><code>[slot] </code><span class="type">bool</span> ScreenPlayManager::<span class="name">closeWallpaper</span>(const <span class="type">QString</span> &<i>appID</i>)</h3>
|
||||
<p>Closes a wallpaper by the given <i>appID</i>.</p>
|
||||
<!-- @@@closeWallpaper -->
|
||||
<!-- $$$createWallpaper[overload1]$$$createWallpaperconstScreenPlay::InstalledType::InstalledTypeconstScreenPlay::FillMode::FillModeconstQString&constQString&constQString&constQVector<int>&constfloatconstfloatconstQJsonObject&constbool -->
|
||||
<h3 class="fn" id="createWallpaper"><a name="createWallpaper"></a><code>[slot] </code><span class="type">void</span> ScreenPlayManager::<span class="name">createWallpaper</span>(const <span class="type">ScreenPlay::InstalledType::InstalledType</span> <i>type</i>, const <span class="type">ScreenPlay::FillMode::FillMode</span> <i>fillMode</i>, const <span class="type">QString</span> &<i>absoluteStoragePath</i>, const <span class="type">QString</span> &<i>previewImage</i>, const <span class="type">QString</span> &<i>file</i>, const <span class="type">QVector</span><<span class="type">int</span>> &<i>monitorIndex</i>, const <span class="type">float</span> <i>volume</i>, const <span class="type">float</span> <i>playbackRate</i>, const <span class="type">QJsonObject</span> &<i>properties</i>, const <span class="type">bool</span> <i>saveToProfilesConfigFile</i>)</h3>
|
||||
<p>Creates a wallpaper with a given <i>monitorIndex</i> list, <i>a</i> absoluteStoragePath folder, a <i>previewImage</i> (relative path to the absoluteStoragePath), a default <i>volume</i>, a <i>fillMode</i>, a <i>type</i> (htmlWallpaper, qmlWallpaper etc.), a <i>saveToProfilesConfigFile</i> bool only set to flase if we call the method when using via the settings on startup to skip a unnecessary save.</p>
|
||||
@ -135,8 +135,8 @@
|
||||
<h3 class="fn" id="setAllWallpaperValue"><a name="setAllWallpaperValue"></a><code>[slot] </code><span class="type">void</span> ScreenPlayManager::<span class="name">setAllWallpaperValue</span>(const <span class="type">QString</span> &<i>key</i>, const <span class="type">QString</span> &<i>value</i>)</h3>
|
||||
<p>Convenient function to set a <i>value</i> at a given <i>index</i> and <i>key</i> for all wallaper. For exmaple used to mute all wallpaper.</p>
|
||||
<!-- @@@setAllWallpaperValue -->
|
||||
<!-- $$$setWallpaperValue[overload1]$$$setWallpaperValueconstQString&constQString&constQVariant& -->
|
||||
<h3 class="fn" id="setWallpaperValue"><a name="setWallpaperValue"></a><code>[slot] </code><span class="type">void</span> ScreenPlayManager::<span class="name">setWallpaperValue</span>(const <span class="type">QString</span> &<i>appID</i>, const <span class="type">QString</span> &<i>key</i>, const <span class="type">QVariant</span> &<i>value</i>)</h3>
|
||||
<!-- $$$setWallpaperValue[overload1]$$$setWallpaperValueconstQString&constQString&constQString& -->
|
||||
<h3 class="fn" id="setWallpaperValue"><a name="setWallpaperValue"></a><code>[slot] </code><span class="type">void</span> ScreenPlayManager::<span class="name">setWallpaperValue</span>(const <span class="type">QString</span> &<i>appID</i>, const <span class="type">QString</span> &<i>key</i>, const <span class="type">QString</span> &<i>value</i>)</h3>
|
||||
<p>Sets a given <i>value</i> to a given <i>key</i>. The <i>appID</i> is used to identify the receiver socket.</p>
|
||||
<!-- @@@setWallpaperValue -->
|
||||
<!-- $$$setWallpaperValueAtMonitorIndex[overload1]$$$setWallpaperValueAtMonitorIndexconstintconstQString&constQString& -->
|
||||
|
@ -19,6 +19,7 @@
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-settings.html#autostart-prop">autostartChanged</a></b></span>(bool)</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-settings.html#checkWallpaperVisible-prop">checkWallpaperVisibleChanged</a></b></span>(bool)</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-settings.html#decoder-prop">decoderChanged</a></b></span>(QString)</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-settings.html#desktopEnvironment-prop">desktopEnvironmentChanged</a></b></span>(ScreenPlay::Settings::DesktopEnvironment)</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-settings.html#font-prop">fontChanged</a></b></span>(QString)</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-settings.html#gitBuildHash-prop">gitBuildHashChanged</a></b></span>(QString)</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-settings.html#highPriorityStart-prop">highPriorityStartChanged</a></b></span>(bool)</li>
|
||||
@ -29,17 +30,20 @@
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-settings.html#autostart-prop">setAutostart</a></b></span>(bool)</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-settings.html#checkWallpaperVisible-prop">setCheckWallpaperVisible</a></b></span>(bool)</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-settings.html#decoder-prop">setDecoder</a></b></span>(QString)</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-settings.html#desktopEnvironment-prop">setDesktopEnvironment</a></b></span>(ScreenPlay::Settings::DesktopEnvironment)</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-settings.html#font-prop">setFont</a></b></span>(QString)</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-settings.html#gitBuildHash-prop">setGitBuildHash</a></b></span>(QString)</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-settings.html#highPriorityStart-prop">setHighPriorityStart</a></b></span>(bool)</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-settings.html#language-prop">setLanguage</a></b></span>(ScreenPlay::Settings::Language)</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-settings.html#offlineMode-prop">setOfflineMode</a></b></span>(bool)</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-settings.html#silentStart-prop">setSilentStart</a></b></span>(bool)</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-settings.html#steamVersion-prop">setSteamVersion</a></b></span>(bool)</li>
|
||||
</ul></td><td class="topAlign"><ul>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-settings.html#theme-prop">setTheme</a></b></span>(ScreenPlay::Settings::Theme)</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-settings.html#videoFillMode-prop">setVideoFillMode</a></b></span>(ScreenPlay::FillMode::FillMode)</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-settings.html#setupWidgetAndWindowPaths">setupWidgetAndWindowPaths</a></b></span>()</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-settings.html#silentStart-prop">silentStartChanged</a></b></span>(bool)</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-settings.html#steamVersion-prop">steamVersionChanged</a></b></span>(bool)</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-settings.html#theme-prop">themeChanged</a></b></span>(ScreenPlay::Settings::Theme)</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-settings.html#videoFillMode-prop">videoFillModeChanged</a></b></span>(ScreenPlay::FillMode::FillMode)</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-settings.html#writeJsonFileFromResource">writeJsonFileFromResource</a></b></span>(const QString &)</li>
|
||||
@ -47,6 +51,7 @@
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-settings.html#autostart-prop">autostart</a></b></span>() const : bool</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-settings.html#checkWallpaperVisible-prop">checkWallpaperVisible</a></b></span>() const : bool</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-settings.html#decoder-prop">decoder</a></b></span>() const : QString</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-settings.html#desktopEnvironment-prop">desktopEnvironment</a></b></span>() const : ScreenPlay::Settings::DesktopEnvironment</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-settings.html#font-prop">font</a></b></span>() const : QString</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-settings.html#gitBuildHash-prop">gitBuildHash</a></b></span>() const : QString</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-settings.html#highPriorityStart-prop">highPriorityStart</a></b></span>() const : bool</li>
|
||||
@ -54,6 +59,7 @@
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-settings.html#offlineMode-prop">offlineMode</a></b></span>() const : bool</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-settings.html#setupLanguage">setupLanguage</a></b></span>()</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-settings.html#silentStart-prop">silentStart</a></b></span>() const : bool</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-settings.html#steamVersion-prop">steamVersion</a></b></span>() const : bool</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-settings.html#theme-prop">theme</a></b></span>() const : ScreenPlay::Settings::Theme</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-settings.html#videoFillMode-prop">videoFillMode</a></b></span>() const : ScreenPlay::FillMode::FillMode</li>
|
||||
</ul>
|
||||
|
@ -38,6 +38,7 @@
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="screenplay-settings.html#autostart-prop">autostart</a></b>() const</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="screenplay-settings.html#checkWallpaperVisible-prop">checkWallpaperVisible</a></b>() const</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="screenplay-settings.html#decoder-prop">decoder</a></b>() const</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> ScreenPlay::Settings::DesktopEnvironment </td><td class="memItemRight bottomAlign"><b><a href="screenplay-settings.html#desktopEnvironment-prop">desktopEnvironment</a></b>() const</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="screenplay-settings.html#font-prop">font</a></b>() const</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="screenplay-settings.html#gitBuildHash-prop">gitBuildHash</a></b>() const</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="screenplay-settings.html#highPriorityStart-prop">highPriorityStart</a></b>() const</td></tr>
|
||||
@ -45,6 +46,7 @@
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="screenplay-settings.html#offlineMode-prop">offlineMode</a></b>() const</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-settings.html#setupLanguage">setupLanguage</a></b>()</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="screenplay-settings.html#silentStart-prop">silentStart</a></b>() const</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="screenplay-settings.html#steamVersion-prop">steamVersion</a></b>() const</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> ScreenPlay::Settings::Theme </td><td class="memItemRight bottomAlign"><b><a href="screenplay-settings.html#theme-prop">theme</a></b>() const</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> ScreenPlay::FillMode::FillMode </td><td class="memItemRight bottomAlign"><b><a href="screenplay-settings.html#videoFillMode-prop">videoFillMode</a></b>() const</td></tr>
|
||||
</table></div>
|
||||
@ -56,12 +58,14 @@
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-settings.html#autostart-prop">setAutostart</a></b>(bool <i>autostart</i>)</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-settings.html#checkWallpaperVisible-prop">setCheckWallpaperVisible</a></b>(bool <i>checkWallpaperVisible</i>)</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-settings.html#decoder-prop">setDecoder</a></b>(QString <i>decoder</i>)</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-settings.html#desktopEnvironment-prop">setDesktopEnvironment</a></b>(ScreenPlay::Settings::DesktopEnvironment <i>desktopEnvironment</i>)</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-settings.html#font-prop">setFont</a></b>(QString <i>font</i>)</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-settings.html#gitBuildHash-prop">setGitBuildHash</a></b>(QString <i>gitBuildHash</i>)</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-settings.html#highPriorityStart-prop">setHighPriorityStart</a></b>(bool <i>highPriorityStart</i>)</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-settings.html#language-prop">setLanguage</a></b>(ScreenPlay::Settings::Language <i>language</i>)</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-settings.html#offlineMode-prop">setOfflineMode</a></b>(bool <i>offlineMode</i>)</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-settings.html#silentStart-prop">setSilentStart</a></b>(bool <i>silentStart</i>)</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-settings.html#steamVersion-prop">setSteamVersion</a></b>(bool <i>steamVersion</i>)</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-settings.html#theme-prop">setTheme</a></b>(ScreenPlay::Settings::Theme <i>theme</i>)</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-settings.html#videoFillMode-prop">setVideoFillMode</a></b>(ScreenPlay::FillMode::FillMode <i>videoFillMode</i>)</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-settings.html#setupWidgetAndWindowPaths">setupWidgetAndWindowPaths</a></b>()</td></tr>
|
||||
@ -74,12 +78,14 @@
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-settings.html#autostart-prop">autostartChanged</a></b>(bool <i>autostart</i>)</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-settings.html#checkWallpaperVisible-prop">checkWallpaperVisibleChanged</a></b>(bool <i>checkWallpaperVisible</i>)</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-settings.html#decoder-prop">decoderChanged</a></b>(QString <i>decoder</i>)</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-settings.html#desktopEnvironment-prop">desktopEnvironmentChanged</a></b>(ScreenPlay::Settings::DesktopEnvironment <i>desktopEnvironment</i>)</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-settings.html#font-prop">fontChanged</a></b>(QString <i>font</i>)</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-settings.html#gitBuildHash-prop">gitBuildHashChanged</a></b>(QString <i>gitBuildHash</i>)</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-settings.html#highPriorityStart-prop">highPriorityStartChanged</a></b>(bool <i>highPriorityStart</i>)</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-settings.html#language-prop">languageChanged</a></b>(ScreenPlay::Settings::Language <i>language</i>)</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-settings.html#offlineMode-prop">offlineModeChanged</a></b>(bool <i>offlineMode</i>)</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-settings.html#silentStart-prop">silentStartChanged</a></b>(bool <i>silentStart</i>)</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-settings.html#steamVersion-prop">steamVersionChanged</a></b>(bool <i>steamVersion</i>)</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-settings.html#theme-prop">themeChanged</a></b>(ScreenPlay::Settings::Theme <i>theme</i>)</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-settings.html#videoFillMode-prop">videoFillModeChanged</a></b>(ScreenPlay::FillMode::FillMode <i>videoFillMode</i>)</td></tr>
|
||||
</table></div>
|
||||
|
@ -12,31 +12,22 @@
|
||||
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
|
||||
<h1 class="title">List of All Members for Util</h1>
|
||||
<p>This is the complete list of members for <a href="screenplay-util.html">ScreenPlay::Util</a>, including inherited members.</p>
|
||||
<div class="table"><table class="propsummary">
|
||||
<tr><td class="topAlign"><ul>
|
||||
<ul>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-util.html#Util">Util</a></b></span>(QNetworkAccessManager *, QObject *)</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-util.html#aquireFFMPEGStatus-prop">aquireFFMPEGStatusChanged</a></b></span>(ScreenPlay::Util::AquireFFMPEGStatus )</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-util.html#copyToClipboard">copyToClipboard</a></b></span>(const QString &) const</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-util.html#debugMessages-prop">debugMessagesChanged</a></b></span>(QString)</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-util.html#downloadFFMPEG">downloadFFMPEG</a></b></span>()</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-util.html#ffmpegAvailable-prop">ffmpegAvailableChanged</a></b></span>(bool )</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-util.html#generateRandomString">generateRandomString</a></b></span>(quint32) : QString</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-util.html#getVersionNumberFromString">getVersionNumberFromString</a></b></span>(<i>const QString &</i>) : int</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-util.html#getVersionNumberFromString">getVersionNumberFromString</a></b></span>(const QString &) : std::optional<QVersionNumber></li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-util.html#logToGui">logToGui</a></b></span>(QtMsgType, const QMessageLogContext &, const QString &)</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-util.html#openFolderInExplorer">openFolderInExplorer</a></b></span>(const QString &) const</li>
|
||||
</ul></td><td class="topAlign"><ul>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-util.html#openJsonFileToObject">openJsonFileToObject</a></b></span>(<i>const QString &</i>) : int</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-util.html#openJsonFileToString">openJsonFileToString</a></b></span>(<i>const QString &</i>) : int</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-util.html#parseQByteArrayToQJsonObject">parseQByteArrayToQJsonObject</a></b></span>(<i>const QByteArray &</i>) : int</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-util.html#openJsonFileToObject">openJsonFileToObject</a></b></span>(const QString &) : std::optional<QJsonObject></li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-util.html#openJsonFileToString">openJsonFileToString</a></b></span>(const QString &) : std::optional<QString></li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-util.html#parseQByteArrayToQJsonObject">parseQByteArrayToQJsonObject</a></b></span>(const QByteArray &) : std::optional<QJsonObject></li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-util.html#requestAllLicenses">requestAllLicenses</a></b></span>()</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-util.html#requestDataProtection">requestDataProtection</a></b></span>()</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-util.html#toString">toString</a></b></span>(const QStringList &) : QString</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-util.html#writeJsonObjectToFile">writeJsonObjectToFile</a></b></span>(const QString &, const QJsonObject &, bool) : bool</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-util.html#aquireFFMPEGStatus-prop">aquireFFMPEGStatus</a></b></span>() const : ScreenPlay::Util::AquireFFMPEGStatus</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-util.html#debugMessages-prop">debugMessages</a></b></span>() const : QString</li>
|
||||
<li class="fn"><span class="name"><b><a href="screenplay-util.html#ffmpegAvailable-prop">ffmpegAvailable</a></b></span>() const : bool</li>
|
||||
</ul>
|
||||
</td></tr>
|
||||
</table></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>
|
||||
</html>
|
||||
|
@ -34,22 +34,19 @@
|
||||
<h2 id="public-functions">Public Functions</h2>
|
||||
<div class="table"><table class="alignedsummary">
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="screenplay-util.html#Util">Util</a></b>(QNetworkAccessManager *<i>networkAccessManager</i>, QObject *<i>parent</i> = nullptr)</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> ScreenPlay::Util::AquireFFMPEGStatus </td><td class="memItemRight bottomAlign"><b><a href="screenplay-util.html#aquireFFMPEGStatus-prop">aquireFFMPEGStatus</a></b>() const</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="screenplay-util.html#debugMessages-prop">debugMessages</a></b>() const</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="screenplay-util.html#ffmpegAvailable-prop">ffmpegAvailable</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">
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-util.html#copyToClipboard">copyToClipboard</a></b>(const QString &<i>text</i>) const</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-util.html#downloadFFMPEG">downloadFFMPEG</a></b>()</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="screenplay-util.html#generateRandomString">generateRandomString</a></b>(quint32 <i>length</i> = 32)</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="screenplay-util.html#getVersionNumberFromString">getVersionNumberFromString</a></b>(<i>const QString &</i>)</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> std::optional<QVersionNumber> </td><td class="memItemRight bottomAlign"><b><a href="screenplay-util.html#getVersionNumberFromString">getVersionNumberFromString</a></b>(const QString &<i>str</i>)</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-util.html#logToGui">logToGui</a></b>(QtMsgType <i>type</i>, const QMessageLogContext &<i>context</i>, const QString &<i>msg</i>)</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-util.html#openFolderInExplorer">openFolderInExplorer</a></b>(const QString &<i>url</i>) const</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="screenplay-util.html#openJsonFileToObject">openJsonFileToObject</a></b>(<i>const QString &</i>)</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="screenplay-util.html#openJsonFileToString">openJsonFileToString</a></b>(<i>const QString &</i>)</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="screenplay-util.html#parseQByteArrayToQJsonObject">parseQByteArrayToQJsonObject</a></b>(<i>const QByteArray &</i>)</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> std::optional<QJsonObject> </td><td class="memItemRight bottomAlign"><b><a href="screenplay-util.html#openJsonFileToObject">openJsonFileToObject</a></b>(const QString &<i>path</i>)</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> std::optional<QString> </td><td class="memItemRight bottomAlign"><b><a href="screenplay-util.html#openJsonFileToString">openJsonFileToString</a></b>(const QString &<i>path</i>)</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> std::optional<QJsonObject> </td><td class="memItemRight bottomAlign"><b><a href="screenplay-util.html#parseQByteArrayToQJsonObject">parseQByteArrayToQJsonObject</a></b>(const QByteArray &<i>byteArray</i>)</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-util.html#requestAllLicenses">requestAllLicenses</a></b>()</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-util.html#requestDataProtection">requestDataProtection</a></b>()</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="screenplay-util.html#toString">toString</a></b>(const QStringList &<i>list</i>)</td></tr>
|
||||
@ -58,9 +55,7 @@
|
||||
<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-util.html#aquireFFMPEGStatus-prop">aquireFFMPEGStatusChanged</a></b>(ScreenPlay::Util::AquireFFMPEGStatus <i>aquireFFMPEGStatus</i>)</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-util.html#debugMessages-prop">debugMessagesChanged</a></b>(QString <i>debugMessages</i>)</td></tr>
|
||||
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-util.html#ffmpegAvailable-prop">ffmpegAvailableChanged</a></b>(bool <i>ffmpegAvailable</i>)</td></tr>
|
||||
</table></div>
|
||||
<a name="details"></a>
|
||||
<!-- $$$Util-description -->
|
||||
@ -78,10 +73,6 @@
|
||||
<h3 class="fn" id="copyToClipboard"><a name="copyToClipboard"></a><code>[slot] </code><span class="type">void</span> Util::<span class="name">copyToClipboard</span>(const <span class="type">QString</span> &<i>text</i>) const</h3>
|
||||
<p>Copies the given string to the clipboard.</p>
|
||||
<!-- @@@copyToClipboard -->
|
||||
<!-- $$$downloadFFMPEG[overload1]$$$downloadFFMPEG -->
|
||||
<h3 class="fn" id="downloadFFMPEG"><a name="downloadFFMPEG"></a><code>[slot] </code><span class="type">void</span> Util::<span class="name">downloadFFMPEG</span>()</h3>
|
||||
<p>Downloads and extracts ffmpeg static version from https://ffmpeg.zeranoe.com The progress is tracked via setAquireFFMPEGStatus(AquireFFMPEGStatus);</p>
|
||||
<!-- @@@downloadFFMPEG -->
|
||||
<!-- $$$generateRandomString[overload1]$$$generateRandomStringquint32 -->
|
||||
<h3 class="fn" id="generateRandomString"><a name="generateRandomString"></a><code>[static slot] </code><span class="type">QString</span> Util::<span class="name">generateRandomString</span>(<span class="type">quint32</span> <i>length</i> = 32)</h3>
|
||||
<p>Generates a (non secure) random string with the default length of 32. Can contain:</p>
|
||||
@ -92,11 +83,11 @@
|
||||
</ul>
|
||||
<!-- @@@generateRandomString -->
|
||||
<!-- $$$getVersionNumberFromString[overload1]$$$getVersionNumberFromStringconstQString& -->
|
||||
<h3 class="fn" id="getVersionNumberFromString"><a name="getVersionNumberFromString"></a><code>[static slot] </code><span class="type">int</span> Util::<span class="name">getVersionNumberFromString</span>(<i>const QString &</i>)</h3>
|
||||
<h3 class="fn" id="getVersionNumberFromString"><a name="getVersionNumberFromString"></a><code>[static slot] </code><span class="type">std::optional</span><<span class="type">QVersionNumber</span>> Util::<span class="name">getVersionNumberFromString</span>(const <span class="type">QString</span> &<i>str</i>)</h3>
|
||||
<p>Parses a version from a given QString. The QString must be looke like this: 1.0.0 - Major.Minor.Patch. A fixed position is used for parsing (at 0,2,4). Return std::nullopt when not successful.</p>
|
||||
<!-- @@@getVersionNumberFromString -->
|
||||
<!-- $$$logToGui[overload1]$$$logToGuiQtMsgTypeconstQMessageLogContext&constQString& -->
|
||||
<h3 class="fn" id="logToGui"><a name="logToGui"></a><code>[slot] </code><span class="type">void</span> Util::<span class="name">logToGui</span>(<span class="type">QtMsgType</span> <i>type</i>, const <span class="type">QMessageLogContext</span> &<i>context</i>, const <span class="type">QString</span> &<i>msg</i>)</h3>
|
||||
<h3 class="fn" id="logToGui"><a name="logToGui"></a><code>[static slot] </code><span class="type">void</span> Util::<span class="name">logToGui</span>(<span class="type">QtMsgType</span> <i>type</i>, const <span class="type">QMessageLogContext</span> &<i>context</i>, const <span class="type">QString</span> &<i>msg</i>)</h3>
|
||||
<p>Basic logging to the GUI. No logging is done to a log file for now. This string can be copied in the settings tab in the UI.</p>
|
||||
<!-- @@@logToGui -->
|
||||
<!-- $$$openFolderInExplorer[overload1]$$$openFolderInExplorerconstQString& -->
|
||||
@ -104,15 +95,15 @@
|
||||
<p>Opens a native folder window on the given path. Windows and Mac only for now!</p>
|
||||
<!-- @@@openFolderInExplorer -->
|
||||
<!-- $$$openJsonFileToObject[overload1]$$$openJsonFileToObjectconstQString& -->
|
||||
<h3 class="fn" id="openJsonFileToObject"><a name="openJsonFileToObject"></a><code>[static slot] </code><span class="type">int</span> Util::<span class="name">openJsonFileToObject</span>(<i>const QString &</i>)</h3>
|
||||
<h3 class="fn" id="openJsonFileToObject"><a name="openJsonFileToObject"></a><code>[static slot] </code><span class="type">std::optional</span><<span class="type">QJsonObject</span>> Util::<span class="name">openJsonFileToObject</span>(const <span class="type">QString</span> &<i>path</i>)</h3>
|
||||
<p>Opens a json file (absolute path) and tries to convert it to a QJsonObject. Returns std::nullopt when not successful.</p>
|
||||
<!-- @@@openJsonFileToObject -->
|
||||
<!-- $$$openJsonFileToString[overload1]$$$openJsonFileToStringconstQString& -->
|
||||
<h3 class="fn" id="openJsonFileToString"><a name="openJsonFileToString"></a><code>[static slot] </code><span class="type">int</span> Util::<span class="name">openJsonFileToString</span>(<i>const QString &</i>)</h3>
|
||||
<h3 class="fn" id="openJsonFileToString"><a name="openJsonFileToString"></a><code>[static slot] </code><span class="type">std::optional</span><<span class="type">QString</span>> Util::<span class="name">openJsonFileToString</span>(const <span class="type">QString</span> &<i>path</i>)</h3>
|
||||
<p>Opens a json file (absolute path) and tries to convert it to a QString. Returns std::nullopt when not successful.</p>
|
||||
<!-- @@@openJsonFileToString -->
|
||||
<!-- $$$parseQByteArrayToQJsonObject[overload1]$$$parseQByteArrayToQJsonObjectconstQByteArray& -->
|
||||
<h3 class="fn" id="parseQByteArrayToQJsonObject"><a name="parseQByteArrayToQJsonObject"></a><code>[static slot] </code><span class="type">int</span> Util::<span class="name">parseQByteArrayToQJsonObject</span>(<i>const QByteArray &</i>)</h3>
|
||||
<h3 class="fn" id="parseQByteArrayToQJsonObject"><a name="parseQByteArrayToQJsonObject"></a><code>[static slot] </code><span class="type">std::optional</span><<span class="type">QJsonObject</span>> Util::<span class="name">parseQByteArrayToQJsonObject</span>(const <span class="type">QByteArray</span> &<i>byteArray</i>)</h3>
|
||||
<p>Parses a QByteArray to a QJsonObject. If returns and std::nullopt on failure.</p>
|
||||
<!-- @@@parseQByteArrayToQJsonObject -->
|
||||
<!-- $$$requestAllLicenses[overload1]$$$requestAllLicenses -->
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -8,9 +8,9 @@ import QtGraphicalEffects 1.0
|
||||
import ScreenPlay 1.0
|
||||
import Settings 1.0
|
||||
|
||||
import "qml/"
|
||||
import "qml/Monitors" as Monitors
|
||||
import "qml/Common" as Common
|
||||
import "qml/Common/Dialogs" as Dialogs
|
||||
import "qml/Installed" as Installed
|
||||
import "qml/Navigation" as Navigation
|
||||
import "qml/Workshop" as Workshop
|
||||
@ -24,7 +24,7 @@ ApplicationWindow {
|
||||
visible: false
|
||||
width: 1400
|
||||
height: 788
|
||||
title: "ScreenPlay Alpha - V0.13.0"
|
||||
title: "ScreenPlay Alpha - V0.12.1"
|
||||
minimumHeight: 450
|
||||
minimumWidth: 1050
|
||||
onVisibilityChanged: {
|
||||
@ -84,12 +84,7 @@ ApplicationWindow {
|
||||
}
|
||||
|
||||
function switchPage(name) {
|
||||
if (name === "Create") {
|
||||
pageLoader.visible = false
|
||||
pageLoaderCreate.visible = true
|
||||
pageLoaderWorkshop.visible = false
|
||||
pageLoaderCreate.setSource("qrc:/qml/Create/Create.qml")
|
||||
} else if (name === "Workshop") {
|
||||
if (name === "Workshop") {
|
||||
if (!ScreenPlay.settings.steamVersion) {
|
||||
const steamAvialable = ScreenPlay.loadSteamPlugin()
|
||||
if (!steamAvialable) {
|
||||
@ -98,130 +93,67 @@ ApplicationWindow {
|
||||
return
|
||||
}
|
||||
}
|
||||
pageLoader.visible = false
|
||||
pageLoaderCreate.visible = false
|
||||
pageLoaderWorkshop.visible = true
|
||||
pageLoaderWorkshop.setSource("qrc:/qml/Workshop/Workshop.qml")
|
||||
} else if (name === "Community") {
|
||||
pageLoader.visible = true
|
||||
pageLoaderCreate.visible = false
|
||||
pageLoaderWorkshop.visible = false
|
||||
pageLoader.setSource("qrc:/qml/Community/Community.qml")
|
||||
} else {
|
||||
pageLoader.visible = true
|
||||
pageLoaderCreate.visible = false
|
||||
pageLoaderWorkshop.visible = false
|
||||
pageLoader.setSource("qrc:/qml/" + name + "/" + name + ".qml")
|
||||
}
|
||||
|
||||
stackView.replace("qrc:/qml/" + name + "/" + name + ".qml")
|
||||
|
||||
sidebar.state = "inactive"
|
||||
}
|
||||
|
||||
Dialog {
|
||||
Dialogs.SteamNotAvailable {
|
||||
id: dialogSteam
|
||||
modal: true
|
||||
anchors.centerIn: Overlay.overlay
|
||||
standardButtons: Dialog.Ok
|
||||
title: qsTr("Could not load steam integration!")
|
||||
}
|
||||
|
||||
Dialog {
|
||||
Dialogs.MonitorConfiguration {
|
||||
id: dialogMonitorConfigurationChanged
|
||||
modal: true
|
||||
anchors.centerIn: Overlay.overlay
|
||||
standardButtons: Dialog.Ok
|
||||
contentHeight: 250
|
||||
|
||||
contentItem: Item {
|
||||
ColumnLayout {
|
||||
|
||||
anchors.margins: 20
|
||||
anchors.fill: parent
|
||||
spacing: 20
|
||||
|
||||
Image {
|
||||
Layout.alignment: Qt.AlignHCenter
|
||||
Layout.preferredWidth: 150
|
||||
Layout.preferredHeight: 150
|
||||
source: "qrc:/assets/icons/monitor_setup.svg"
|
||||
fillMode: Image.PreserveAspectFit
|
||||
}
|
||||
|
||||
Text {
|
||||
text: qsTr("Your monitor setup changed!\n Please configure your wallpaper again.")
|
||||
Layout.fillWidth: true
|
||||
Layout.fillHeight: true
|
||||
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
font.family: ScreenPlay.settings.font
|
||||
font.pointSize: 16
|
||||
color: Material.primaryTextColor
|
||||
}
|
||||
}
|
||||
}
|
||||
Connections {
|
||||
target: ScreenPlay.monitorListModel
|
||||
function onMonitorConfigurationChanged() {
|
||||
dialogMonitorConfigurationChanged.open()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Common.TrayIcon {}
|
||||
|
||||
|
||||
Loader {
|
||||
id: pageLoader
|
||||
asynchronous: true
|
||||
source: "qrc:/qml/Installed/Installed.qml"
|
||||
StackView {
|
||||
id: stackView
|
||||
anchors {
|
||||
top: nav.bottom
|
||||
right: parent.right
|
||||
bottom: parent.bottom
|
||||
left: parent.left
|
||||
}
|
||||
onStatusChanged: {
|
||||
if (status == Loader.Ready) {
|
||||
if (pageLoaderCreate.source != "qrc:/qml/Create/Create.qml")
|
||||
timerLoader.start()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Timer {
|
||||
id: timerLoader
|
||||
interval: 500
|
||||
onTriggered: {
|
||||
pageLoaderCreate.source = "qrc:/qml/Create/Create.qml"
|
||||
}
|
||||
}
|
||||
property int duration: 300
|
||||
|
||||
Loader {
|
||||
id: pageLoaderCreate
|
||||
visible: false
|
||||
anchors {
|
||||
top: nav.bottom
|
||||
right: parent.right
|
||||
bottom: parent.bottom
|
||||
left: parent.left
|
||||
replaceEnter: Transition {
|
||||
OpacityAnimator {
|
||||
from: 0
|
||||
to: 1
|
||||
duration: stackView.duration
|
||||
easing.type: Easing.InOutQuart
|
||||
}
|
||||
ScaleAnimator {
|
||||
from: 0.8
|
||||
to: 1
|
||||
duration: stackView.duration
|
||||
easing.type: Easing.InOutQuart
|
||||
}
|
||||
}
|
||||
|
||||
Loader {
|
||||
id: pageLoaderWorkshop
|
||||
visible: false
|
||||
enabled: ScreenPlay.settings.steamVersion
|
||||
asynchronous: true
|
||||
anchors {
|
||||
top: nav.bottom
|
||||
right: parent.right
|
||||
bottom: parent.bottom
|
||||
left: parent.left
|
||||
replaceExit: Transition {
|
||||
OpacityAnimator {
|
||||
from: 1
|
||||
to: 0
|
||||
duration: stackView.duration
|
||||
easing.type: Easing.InOutQuart
|
||||
}
|
||||
ScaleAnimator {
|
||||
from: 1
|
||||
to: 0.8
|
||||
duration: stackView.duration
|
||||
easing.type: Easing.InOutQuart
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Connections {
|
||||
target: pageLoader.item
|
||||
target: stackView.currentItem
|
||||
ignoreUnknownSignals: true
|
||||
|
||||
function onSetSidebarActive(active) {
|
||||
|
@ -73,5 +73,7 @@
|
||||
<file>qml/Create/Wizards/ImportWebm/ImportWebm.qml</file>
|
||||
<file>qml/Create/Wizards/ImportWebm/ImportWebmConvert.qml</file>
|
||||
<file>qml/Create/Wizards/ImportWebm/ImportWebmInit.qml</file>
|
||||
<file>qml/Common/Dialogs/MonitorConfiguration.qml</file>
|
||||
<file>qml/Common/Dialogs/SteamNotAvailable.qml</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
132
ScreenPlay/qml/Common/Background.qml
Normal file
132
ScreenPlay/qml/Common/Background.qml
Normal file
@ -0,0 +1,132 @@
|
||||
import QtQuick 2.12
|
||||
import QtQuick.Controls.Material 2.12
|
||||
import QtGraphicalEffects 1.0
|
||||
import QtQuick.Particles 2.0
|
||||
|
||||
Rectangle {
|
||||
id: element
|
||||
anchors.fill: parent
|
||||
color: Material.theme === Material.Light ? "white" : Qt.darker(
|
||||
Material.background)
|
||||
state: "init"
|
||||
onStateChanged: {
|
||||
if (state === "init") {
|
||||
colorShaderCreateTimer.stop()
|
||||
} else {
|
||||
colorShaderCreateTimer.start()
|
||||
}
|
||||
}
|
||||
|
||||
Rectangle {
|
||||
id: bgCommunity
|
||||
anchors.fill: parent
|
||||
}
|
||||
Rectangle {
|
||||
id: bgWorkshop
|
||||
color: "#161C1D"
|
||||
anchors.fill: parent
|
||||
}
|
||||
|
||||
property var myDate: new Date()
|
||||
|
||||
Timer {
|
||||
id: colorShaderCreateTimer
|
||||
interval: 16
|
||||
repeat: true
|
||||
onTriggered: colorShaderCreate.time = myDate.getMilliseconds()
|
||||
}
|
||||
|
||||
ShaderEffect {
|
||||
id: colorShaderCreate
|
||||
anchors.fill: parent
|
||||
blending: true
|
||||
property real shaderOpacity: 0
|
||||
property real time: 45
|
||||
property vector2d resolution: Qt.vector2d(parent.width,
|
||||
parent.height * 2)
|
||||
fragmentShader: "qrc:/assets/shader/movingcolorramp.fsh"
|
||||
}
|
||||
|
||||
states: [
|
||||
State {
|
||||
name: "init"
|
||||
PropertyChanges {
|
||||
target: colorShaderCreate
|
||||
shaderOpacity: 0
|
||||
}
|
||||
PropertyChanges {
|
||||
target: bgCommunity
|
||||
opacity: 0
|
||||
}
|
||||
PropertyChanges {
|
||||
target: bgWorkshop
|
||||
opacity: 0
|
||||
}
|
||||
},
|
||||
State {
|
||||
name: "create"
|
||||
PropertyChanges {
|
||||
target: colorShaderCreate
|
||||
shaderOpacity: 1
|
||||
}
|
||||
PropertyChanges {
|
||||
target: bgCommunity
|
||||
opacity: 0
|
||||
}
|
||||
PropertyChanges {
|
||||
target: bgWorkshop
|
||||
opacity: 0
|
||||
}
|
||||
},
|
||||
State {
|
||||
name: "community"
|
||||
PropertyChanges {
|
||||
target: colorShaderCreate
|
||||
shaderOpacity: 0
|
||||
}
|
||||
PropertyChanges {
|
||||
target: bgCommunity
|
||||
opacity: 1
|
||||
}
|
||||
PropertyChanges {
|
||||
target: bgWorkshop
|
||||
opacity: 0
|
||||
}
|
||||
},
|
||||
State {
|
||||
name: "workshop"
|
||||
PropertyChanges {
|
||||
target: colorShaderCreate
|
||||
shaderOpacity: 0
|
||||
}
|
||||
PropertyChanges {
|
||||
target: bgCommunity
|
||||
opacity: 0
|
||||
}
|
||||
PropertyChanges {
|
||||
target: bgWorkshop
|
||||
opacity: 1
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
transitions: [
|
||||
|
||||
Transition {
|
||||
from: "*"
|
||||
to: "*"
|
||||
|
||||
PropertyAnimation {
|
||||
targets: [bgCommunity, bgWorkshop]
|
||||
property: "opacity"
|
||||
duration: 400
|
||||
easing.type: Easing.InOutQuart
|
||||
}
|
||||
PropertyAnimation {
|
||||
target: colorShaderCreate
|
||||
property: "shaderOpacity"
|
||||
duration: 0
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
48
ScreenPlay/qml/Common/Dialogs/MonitorConfiguration.qml
Normal file
48
ScreenPlay/qml/Common/Dialogs/MonitorConfiguration.qml
Normal file
@ -0,0 +1,48 @@
|
||||
import QtQuick 2.12
|
||||
import QtQuick.Controls 2.3
|
||||
import QtQuick.Layouts 1.3
|
||||
import QtQuick.Controls.Material 2.12
|
||||
|
||||
import ScreenPlay 1.0
|
||||
|
||||
Dialog {
|
||||
id: dialogMonitorConfigurationChanged
|
||||
modal: true
|
||||
anchors.centerIn: Overlay.overlay
|
||||
standardButtons: Dialog.Ok
|
||||
contentHeight: 250
|
||||
|
||||
contentItem: Item {
|
||||
ColumnLayout {
|
||||
|
||||
anchors.margins: 20
|
||||
anchors.fill: parent
|
||||
spacing: 20
|
||||
|
||||
Image {
|
||||
Layout.alignment: Qt.AlignHCenter
|
||||
Layout.preferredWidth: 150
|
||||
Layout.preferredHeight: 150
|
||||
source: "qrc:/assets/icons/monitor_setup.svg"
|
||||
fillMode: Image.PreserveAspectFit
|
||||
}
|
||||
|
||||
Text {
|
||||
text: qsTr("Your monitor setup changed!\n Please configure your wallpaper again.")
|
||||
Layout.fillWidth: true
|
||||
Layout.fillHeight: true
|
||||
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
font.family: ScreenPlay.settings.font
|
||||
font.pointSize: 16
|
||||
color: Material.primaryTextColor
|
||||
}
|
||||
}
|
||||
}
|
||||
Connections {
|
||||
target: ScreenPlay.monitorListModel
|
||||
function onMonitorConfigurationChanged() {
|
||||
dialogMonitorConfigurationChanged.open()
|
||||
}
|
||||
}
|
||||
}
|
11
ScreenPlay/qml/Common/Dialogs/SteamNotAvailable.qml
Normal file
11
ScreenPlay/qml/Common/Dialogs/SteamNotAvailable.qml
Normal file
@ -0,0 +1,11 @@
|
||||
import QtQuick 2.12
|
||||
import QtQuick.Controls 2.3
|
||||
import QtQuick.Layouts 1.3
|
||||
|
||||
Dialog {
|
||||
id: dialogSteam
|
||||
modal: true
|
||||
anchors.centerIn: Overlay.overlay
|
||||
standardButtons: Dialog.Ok
|
||||
title: qsTr("Could not load steam integration!")
|
||||
}
|
@ -7,8 +7,7 @@ import ScreenPlay 1.0
|
||||
import QtWebEngine 1.8
|
||||
|
||||
Item {
|
||||
id: community
|
||||
anchors.fill: parent
|
||||
id: root
|
||||
|
||||
Rectangle {
|
||||
id: navWrapper
|
||||
@ -22,6 +21,7 @@ Item {
|
||||
TabBar {
|
||||
id: nav
|
||||
height: parent.height
|
||||
currentIndex: 0
|
||||
background: Item {}
|
||||
anchors {
|
||||
top: parent.top
|
||||
@ -32,28 +32,28 @@ Item {
|
||||
|
||||
CommunityNavItem {
|
||||
text: qsTr("Wiki")
|
||||
openLink: swipeView.itemAt(0).url
|
||||
openLink: webModel.get(0).url
|
||||
icon.source: "qrc:/assets/icons/icon_help_center.svg"
|
||||
}
|
||||
|
||||
CommunityNavItem {
|
||||
text: qsTr("Forum")
|
||||
openLink: swipeView.itemAt(1).url
|
||||
openLink: webModel.get(1).url
|
||||
icon.source: "qrc:/assets/icons/icon_forum.svg"
|
||||
}
|
||||
CommunityNavItem {
|
||||
text: qsTr("Issue List")
|
||||
openLink: swipeView.itemAt(2).url
|
||||
openLink: webModel.get(2).url
|
||||
icon.source: "qrc:/assets/icons/icon_report_problem.svg"
|
||||
}
|
||||
CommunityNavItem {
|
||||
text: qsTr("Release Notes")
|
||||
openLink: swipeView.itemAt(3).url
|
||||
openLink: webModel.get(3).url
|
||||
icon.source: "qrc:/assets/icons/icon_new_releases.svg"
|
||||
}
|
||||
CommunityNavItem {
|
||||
text: qsTr("Contribution Guide")
|
||||
openLink: swipeView.itemAt(4).url
|
||||
openLink: webModel.get(4).url
|
||||
icon.source: "qrc:/assets/icons/icon_supervisor_account.svg"
|
||||
}
|
||||
CommunityNavItem {
|
||||
@ -96,29 +96,52 @@ Item {
|
||||
bottom: parent.bottom
|
||||
left: parent.left
|
||||
}
|
||||
Repeater {
|
||||
id: repeater
|
||||
model: ListModel {
|
||||
id: webModel
|
||||
|
||||
WebEngineView {
|
||||
ListElement {
|
||||
url: "https://kelteseth.gitlab.io/ScreenPlayDocs/"
|
||||
}
|
||||
|
||||
WebEngineView {
|
||||
ListElement {
|
||||
url: "https://forum.screen-play.app/"
|
||||
}
|
||||
|
||||
WebEngineView {
|
||||
ListElement {
|
||||
url: "https://gitlab.com/kelteseth/ScreenPlay/-/issues"
|
||||
}
|
||||
|
||||
WebEngineView {
|
||||
ListElement {
|
||||
url: "https://gitlab.com/kelteseth/ScreenPlay/-/releases"
|
||||
}
|
||||
|
||||
WebEngineView {
|
||||
ListElement {
|
||||
url: "https://gitlab.com/kelteseth/ScreenPlay#contributing-for-none-programmer"
|
||||
}
|
||||
|
||||
WebEngineView {
|
||||
ListElement {
|
||||
url: "https://steamcommunity.com/app/672870/workshop/"
|
||||
}
|
||||
}
|
||||
|
||||
Loader {
|
||||
active: SwipeView.isCurrentItem || SwipeView.isNextItem
|
||||
|| SwipeView.isPreviousItem
|
||||
sourceComponent: Item {
|
||||
Component.onCompleted: timer.start()
|
||||
Timer {
|
||||
id: timer
|
||||
interval: 200
|
||||
onTriggered: webView.url = webModel.get(index).url
|
||||
}
|
||||
|
||||
WebEngineView {
|
||||
id: webView
|
||||
anchors.fill: parent
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -13,7 +13,6 @@ import ScreenPlay.QMLUtilities 1.0
|
||||
|
||||
Item {
|
||||
id: root
|
||||
anchors.fill: parent
|
||||
|
||||
Sidebar {
|
||||
id: sidebar
|
||||
|
@ -240,6 +240,7 @@ Item {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Dialog {
|
||||
id: deleteDialog
|
||||
title: qsTr("Are you sure you want to delete this item?")
|
||||
@ -256,7 +257,6 @@ Item {
|
||||
Navigation {
|
||||
id: navWrapper
|
||||
height: 115
|
||||
width: parent.width
|
||||
anchors {
|
||||
top: parent.top
|
||||
right: parent.right
|
||||
|
@ -14,7 +14,6 @@ import "../Common" as Common
|
||||
|
||||
Item {
|
||||
id: navWrapper
|
||||
|
||||
state: "out"
|
||||
|
||||
Rectangle {
|
||||
|
@ -69,7 +69,6 @@ Item {
|
||||
font.family: ScreenPlay.settings.font
|
||||
font.weight: Font.Normal
|
||||
text: ""
|
||||
|
||||
}
|
||||
|
||||
Text {
|
||||
|
@ -14,7 +14,6 @@ import "../Common"
|
||||
|
||||
Item {
|
||||
id: root
|
||||
anchors.fill: parent
|
||||
|
||||
function indexOfValue(model, value) {
|
||||
|
||||
|
@ -13,7 +13,6 @@ import "upload/"
|
||||
Item {
|
||||
id: workshop
|
||||
state: "base"
|
||||
anchors.fill: parent
|
||||
onVisibleChanged: {
|
||||
if (!visible)
|
||||
sidebar.close()
|
||||
|
Loading…
Reference in New Issue
Block a user