1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-11-22 10:42:29 +01:00

Merge master

This commit is contained in:
Elias Steurer 2021-05-18 17:26:02 +02:00
commit a6ecc53db6
212 changed files with 7865 additions and 5120 deletions

View File

@ -25,9 +25,10 @@ build:windows_debug:
- check - check
script: script:
- cd Tools - cd Tools
- python setup.py
- python build.py -t debug - python build.py -t debug
artifacts: artifacts:
expire_in: '4 weeks' expire_in: "4 weeks"
paths: paths:
- build-x64-windows-debug/bin/ - build-x64-windows-debug/bin/
@ -40,13 +41,13 @@ build:windows_release:
- check - check
script: script:
- cd Tools - cd Tools
- python setup.py
- python build.py -t release - python build.py -t release
artifacts: artifacts:
expire_in: '4 weeks' expire_in: "4 weeks"
paths: paths:
- build-x64-windows-release/bin/ - build-x64-windows-release/bin/
build:osx_debug: build:osx_debug:
stage: build stage: build
allow_failure: true allow_failure: true
@ -56,9 +57,10 @@ build:osx_debug:
- check - check
script: script:
- cd Tools - cd Tools
- python3 setup.py
- python3 build.py -t debug - python3 build.py -t debug
artifacts: artifacts:
expire_in: '4 weeks' expire_in: "4 weeks"
paths: paths:
- build-x64-osx-debug/bin/ - build-x64-osx-debug/bin/
@ -71,20 +73,47 @@ build:osx_release:
- check - check
script: script:
- cd Tools - cd Tools
- python3 setup.py
- python3 build.py -t release - python3 build.py -t release
artifacts: artifacts:
expire_in: '4 weeks' expire_in: "4 weeks"
paths: paths:
- build-x64-osx-release/bin/ - build-x64-osx-release/bin/
build:linux_debug: build:linux_debug:
stage: build stage: build
allow_failure: true allow_failure: true
image: image:
name: darkmattercoder/qt-build:5.15.2
entrypoint: [""]
tags:
- gitlab-org-docker
needs:
- check
script:
- sudo apt-get update -y
- sudo apt-get install apt-transport-https ca-certificates gnupg software-properties-common wget software-properties-common -y
- sudo snap install cqtdeployer
- wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | gpg --dearmor - | sudo tee /etc/apt/trusted.gpg.d/kitware.gpg >/dev/null
- sudo apt-add-repository 'deb https://apt.kitware.com/ubuntu/ bionic-rc main' -y
- sudo apt-get update -y
- sudo apt install build-essential libgl1-mesa-dev lld ninja-build cmake -y
- cd Tools
- python setup.py
- python build.py -t debug
artifacts:
expire_in: "4 weeks"
paths:
- build-x64-linux-debug/bin/
build:linux_release:
stage: build
allow_failure: true
image:
name: darkmattercoder/qt-build:5.15.1 name: darkmattercoder/qt-build:5.15.1
entrypoint: [""] entrypoint: [""]
tags: tags:
- gitlab-org-docker - gitlab-org-docker
needs: needs:
- check - check
script: script:
@ -97,35 +126,10 @@ build:linux_debug:
- sudo apt-get update -y - sudo apt-get update -y
- sudo apt install build-essential libgl1-mesa-dev lld ninja-build cmake -y - sudo apt install build-essential libgl1-mesa-dev lld ninja-build cmake -y
- cd Tools - cd Tools
- python build.py -t debug - python setup.py
artifacts:
expire_in: '4 weeks'
paths:
- build-x64-linux-debug/bin/
build:linux_release:
stage: build
allow_failure: true
image:
name: darkmattercoder/qt-build:5.15.1
entrypoint: [""]
tags:
- gitlab-org-docker
needs:
- check
script:
- sudo apt-get update -y
- sudo apt-get install apt-transport-https ca-certificates gnupg software-properties-common wget software-properties-common snapd -y
- sudo /etc/init.d/snapd start
- sudo snap install cqtdeployer
- wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | gpg --dearmor - | sudo tee /etc/apt/trusted.gpg.d/kitware.gpg >/dev/null
- sudo apt-add-repository 'deb https://apt.kitware.com/ubuntu/ bionic-rc main' -y
- sudo apt-get update -y
- sudo apt install build-essential libgl1-mesa-dev lld ninja-build cmake -y
- cd Tools
- python build.py -t release - python build.py -t release
artifacts: artifacts:
expire_in: '4 weeks' expire_in: "4 weeks"
paths: paths:
- build-x64-linux-release/bin/ - build-x64-linux-release/bin/
@ -141,7 +145,7 @@ test:windows_debug:
script: script:
- ./build-x64-windows-debug/bin/ScreenPlay.exe --no-run=false --exit=true --reporters=junit --out=test-report-junit.xml - ./build-x64-windows-debug/bin/ScreenPlay.exe --no-run=false --exit=true --reporters=junit --out=test-report-junit.xml
artifacts: artifacts:
expire_in: '4 weeks' expire_in: "4 weeks"
when: always when: always
reports: reports:
junit: test-report-junit.xml junit: test-report-junit.xml
@ -158,31 +162,12 @@ test:windows_release:
script: script:
- ./build-x64-windows-release/bin/ScreenPlay.exe --no-run=false --exit=true --reporters=junit --out=test-report-junit.xml - ./build-x64-windows-release/bin/ScreenPlay.exe --no-run=false --exit=true --reporters=junit --out=test-report-junit.xml
artifacts: artifacts:
expire_in: '4 weeks' expire_in: "4 weeks"
when: always when: always
reports: reports:
junit: test-report-junit.xml junit: test-report-junit.xml
benchmark:windows_release:
stage: benchmark
tags:
- windows10
- vs2019
dependencies:
- build:windows_release
needs:
- build:windows_release
script:
- ./build-x64-windows-release/bin/ScreenPlay.exe --benchmark
artifacts:
expire_in: '4 weeks'
when: always
reports:
metrics: build-x64-windows-release/bin/metrics.txt
build_docs: build_docs:
stage: .post stage: .post
script: script:
- curl --request POST --form "token=$CI_JOB_TOKEN" --form ref=master https://gitlab.com/api/v4/projects/15800262/trigger/pipeline - curl --request POST --form "token=$CI_JOB_TOKEN" --form ref=master https://gitlab.com/api/v4/projects/15800262/trigger/pipeline

View File

@ -1,28 +1,25 @@
# Developer Setup # Developer Setup
1. Install latest [git + git-lfs](https://git-scm.com/) 1. Install latest [git + git-lfs](https://git-scm.com/)
2. Clone ScreenPlay 2. Install [python 3](https://www.python.org/)
3. Clone ScreenPlay
``` bash ``` bash
git clone --recursive https://gitlab.com/kelteseth/ScreenPlay.git ScreenPlay git clone --recursive https://gitlab.com/kelteseth/ScreenPlay.git ScreenPlay
``` ```
3. Download the latest __Qt 5.15.x__ for you platform. Earlier versions are not supported! 4. Download the latest __Qt 5.15.x__ for you platform. Earlier versions are not supported!
1. [Install instructions Windows](#windows) 1. [Install instructions Windows](#windows)
1. [Install instructions Linux](#linux) 1. [Install instructions Linux](#linux)
1. [Install instructions MacOSX](#macosx) 1. [Install instructions MacOSX](#macosx)
4. Start the following script to download all needed dependencies automatically. This will create a ScreenPlay-vcpkg folder in the same directory as your ScreenPlay source folder. 5. Start the following script to download all needed dependencies automatically. This will create a ScreenPlay-vcpkg folder in the same directory as your ScreenPlay source folder.
``` bash ``` bash
# Windows
cd Tools cd Tools
.\install_dependencies_windows.bat py setup.py
# Linux and MacOSX
cd Tools
chmod +x install_dependencies_linux_mac.sh
.\install_dependencies_linux_mac.sh
``` ```
* This will install these dependencies via __vcpkg__ * This will install these dependencies via __vcpkg__
* openSSL 1.1.1d * openSSL 1.1.1d
* sentry-native * sentry-native
* doctest * doctest
* benchmark
* infoware
<div> <div>
<img width="100%" height="auto" src="../.gitlab/media/QtCreator_kit.png"> <img width="100%" height="auto" src="../.gitlab/media/QtCreator_kit.png">

View File

@ -1,11 +1,11 @@
# Run: # Run:
# C:\Qt\6.0.0\msvc2019_64\bin\qdoc.exe config.qdocconf # C:\Qt\6.1.0\msvc2019_64\bin\qdoc.exe config.qdocconf
# in this directory. You can shift + right click in this explorer # in this directory. You can shift + right click in this explorer
# window and select "Open PowerShell Window here" for this. # window and select "Open PowerShell Window here" for this.
include(C:\Qt\6.0.0\msvc2019_64\doc\global\qt-cpp-defines.qdocconf) include(C:\Qt\6.1.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.1.0\msvc2019_64\doc\global\compat.qdocconf)
include(C:\Qt\6.0.0\msvc2019_64\doc\global\fileextensions.qdocconf) include(C:\Qt\6.1.0\msvc2019_64\doc\global\fileextensions.qdocconf)
descripton = ScreenPlay is an open source cross plattform app for displaying Wallpaper, Widgets and AppDrawer. descripton = ScreenPlay is an open source cross plattform app for displaying Wallpaper, Widgets and AppDrawer.
language = Cpp language = Cpp
@ -20,36 +20,45 @@ sourcedirs += ../ScreenPlayWallpaper/src/
sourcedirs += ../ScreenPlayWallpaper/ sourcedirs += ../ScreenPlayWallpaper/
sourcedirs += ../ScreenPlayWidget/src/ sourcedirs += ../ScreenPlayWidget/src/
sourcedirs += ../ScreenPlayWidget/ sourcedirs += ../ScreenPlayWidget/
sourcedirs += ../ScreenPlayShader/
sourcedirs += ../ScreenPlayUtil/
sourcedirs += ../ScreenPlayUtil/src/
# Header # Header
headerdirs += ../ScreenPlay/src/ headerdirs += ../ScreenPlay/src/
headerdirs += ../ScreenPlay/ headerdirs += ../ScreenPlay/
headerdirs += ../ScreenPlaySDK/ headerdirs += ../ScreenPlaySDK/
headerdirs += ../ScreenPlaySDK/inc/
headerdirs += ../ScreenPlaySysInfo/ headerdirs += ../ScreenPlaySysInfo/
headerdirs += ../ScreenPlayWallpaper/src/ headerdirs += ../ScreenPlayWallpaper/src/
headerdirs += ../ScreenPlayWallpaper/ headerdirs += ../ScreenPlayWallpaper/
headerdirs += ../ScreenPlayWidget/src/ headerdirs += ../ScreenPlayWidget/src/
headerdirs += ../ScreenPlayWidget/ headerdirs += ../ScreenPlayWidget/
headerdirs += ../ScreenPlayShader/
headerdirs += ../ScreenPlayUtil/inc/
# Include # Include
includepaths += ../ScreenPlay/src/ includepaths += ../ScreenPlay/src/
includepaths += ../ScreenPlay/ includepaths += ../ScreenPlay/
includepaths += ../ScreenPlaySDK/ includepaths += ../ScreenPlaySDK/
includepaths += ../ScreenPlaySDK/src/
includepaths += ../ScreenPlaySysInfo/ includepaths += ../ScreenPlaySysInfo/
includepaths += ../ScreenPlayWallpaper/src/ includepaths += ../ScreenPlayWallpaper/src/
includepaths += ../ScreenPlayWallpaper/ includepaths += ../ScreenPlayWallpaper/
includepaths += ../ScreenPlayWidget/src/ includepaths += ../ScreenPlayWidget/src/
includepaths += ../ScreenPlayWidget/ includepaths += ../ScreenPlayWidget/
includepaths += ../ScreenPlayShader/
includepaths += ../ScreenPlayUtil/
# qt # qt
includepaths += C:/Qt/6.0.0/msvc2019_64/include/ includepaths += C:/Qt/6.1.0/msvc2019_64/include/
includepaths += C:/Qt/6.0.0/msvc2019_64/include/QtCore/ includepaths += C:/Qt/6.1.0/msvc2019_64/include/QtCore/
includepaths += C:/Qt/6.0.0/msvc2019_64/include/QtGui/ includepaths += C:/Qt/6.1.0/msvc2019_64/include/QtGui/
includepaths += C:/Qt/6.0.0/msvc2019_64/include/QtQml/ includepaths += C:/Qt/6.1.0/msvc2019_64/include/QtQml/
includepaths += C:/Qt/6.0.0/msvc2019_64/include/QtWebEngine/ includepaths += C:/Qt/6.1.0/msvc2019_64/include/QtWebEngine/
includepaths += C:/Qt/6.0.0/msvc2019_64/include/QtNetwork/ includepaths += C:/Qt/6.1.0/msvc2019_64/include/QtNetwork/
includepaths += C:/Qt/6.0.0/msvc2019_64/include/QtQuick/ includepaths += C:/Qt/6.1.0/msvc2019_64/include/QtQuick/
includepaths += C:/Qt/6.0.0/msvc2019_64/include/QtQuickControls2/ includepaths += C:/Qt/6.1.0/msvc2019_64/include/QtQuickControls2/

File diff suppressed because one or more lines are too long

View File

@ -16,12 +16,17 @@ h2 {
} }
a { a {
color:#41cd52 !important; color:#ff6e42 !important;
text-decoration: none !important;
} }
img { img {
box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24); box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
} }
.table > :not(caption) > * > * {
border-color: #ececec;
}
p { p {
color: #546E7A; color: #546E7A;
} }

View File

@ -0,0 +1,89 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<!-- basewindow.cpp -->
<title>List of All Members for BaseWindow | ScreenPlay</title>
<link rel="stylesheet" type="text/css" href="../css/style.css"/> <link rel="stylesheet" type="text/css" href="../css/bootstrap.min.css"/>
</head>
<body>
<div class="container-fullwidth nav sticky-top"><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 ">
<li>BaseWindow</li>
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">List of All Members for BaseWindow</h1>
<p>This is the complete list of members for <a href="basewindow.html">BaseWindow</a>, including inherited members.</p>
<div class="table"><table class="propsummary">
<tr><td class="topAlign"><ul>
<li class="fn"><span class="name"><b><a href="basewindow.html#OSVersion-prop">OSVersionChanged</a></b></span>(QString)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#activeScreensList-prop">activeScreensListChanged</a></b></span>(QVector&lt;int&gt;)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#appID-prop">appIDChanged</a></b></span>(QString)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#basePath-prop">basePathChanged</a></b></span>(QString)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#canFade-prop">canFadeChanged</a></b></span>(bool)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#checkWallpaperVisible-prop">checkWallpaperVisibleChanged</a></b></span>(bool)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#contentBasePath-prop">contentBasePathChanged</a></b></span>(const QString &amp;)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#currentTime-prop">currentTimeChanged</a></b></span>(float)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#debugMode-prop">debugModeChanged</a></b></span>(bool)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#fillMode-prop">fillModeChanged</a></b></span>(QString)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#fullContentPath-prop">fullContentPathChanged</a></b></span>(QString)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#getApplicationPath">getApplicationPath</a></b></span>() : QString</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#height-prop">heightChanged</a></b></span>(int)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#isPlaying-prop">isPlayingChanged</a></b></span>(bool)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#loadFromFile">loadFromFile</a></b></span>(const QString &amp;) : QString</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#loops-prop">loopsChanged</a></b></span>(bool)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#messageReceived">messageReceived</a></b></span>(QString, QString)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#muted-prop">mutedChanged</a></b></span>(bool)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#playbackRate-prop">playbackRateChanged</a></b></span>(float)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#replaceWallpaper">replaceWallpaper</a></b></span>(const QString, const QString, const float, const QString, const QString, const bool)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#sdk-prop">sdkChanged</a></b></span>(int *)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#activeScreensList-prop">setActiveScreensList</a></b></span>(QVector&lt;int&gt;)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#appID-prop">setAppID</a></b></span>(QString)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#basePath-prop">setBasePath</a></b></span>(QString)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#canFade-prop">setCanFade</a></b></span>(bool)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#checkWallpaperVisible-prop">setCheckWallpaperVisible</a></b></span>(bool)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#contentBasePath-prop">setContentBasePath</a></b></span>(const QString &amp;)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#currentTime-prop">setCurrentTime</a></b></span>(float)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#debugMode-prop">setDebugMode</a></b></span>(bool)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#fillMode-prop">setFillMode</a></b></span>(QString)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#fullContentPath-prop">setFullContentPath</a></b></span>(QString)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#height-prop">setHeight</a></b></span>(int)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#isPlaying-prop">setIsPlaying</a></b></span>(bool)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#loops-prop">setLoops</a></b></span>(bool)</li>
</ul></td><td class="topAlign"><ul>
<li class="fn"><span class="name"><b><a href="basewindow.html#muted-prop">setMuted</a></b></span>(bool)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#OSVersion-prop">setOSVersion</a></b></span>(QString)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#playbackRate-prop">setPlaybackRate</a></b></span>(float)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#sdk-prop">setSdk</a></b></span>(int *)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#type-prop">setType</a></b></span>(int)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#visualsPaused-prop">setVisualsPaused</a></b></span>(bool)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#volume-prop">setVolume</a></b></span>(float)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#width-prop">setWidth</a></b></span>(int)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#type-prop">typeChanged</a></b></span>(int)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#visualsPaused-prop">visualsPausedChanged</a></b></span>(bool)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#volume-prop">volumeChanged</a></b></span>(float)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#width-prop">widthChanged</a></b></span>(int)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#OSVersion-prop">OSVersion</a></b></span>() const : QString</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#activeScreensList-prop">activeScreensList</a></b></span>() const : QVector&lt;int&gt;</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#appID-prop">appID</a></b></span>() const : QString</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#basePath-prop">basePath</a></b></span>() const : QString</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#canFade-prop">canFade</a></b></span>() const : bool</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#checkWallpaperVisible-prop">checkWallpaperVisible</a></b></span>() const : bool</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#contentBasePath-prop">contentBasePath</a></b></span>() const : const QString &amp;</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#currentTime-prop">currentTime</a></b></span>() const : float</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#debugMode-prop">debugMode</a></b></span>() const : bool</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#fillMode-prop">fillMode</a></b></span>() const : QString</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#fullContentPath-prop">fullContentPath</a></b></span>() const : QString</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#height-prop">height</a></b></span>() const : int</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#isPlaying-prop">isPlaying</a></b></span>() const : bool</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#loops-prop">loops</a></b></span>() const : bool</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#muted-prop">muted</a></b></span>() const : bool</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#playbackRate-prop">playbackRate</a></b></span>() const : float</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#sdk-prop">sdk</a></b></span>() const : int *</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#type-prop">type</a></b></span>() const : int</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#visualsPaused-prop">visualsPaused</a></b></span>() const : bool</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#volume-prop">volume</a></b></span>() const : float</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#width-prop">width</a></b></span>() const : int</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/bootstrap.bundle.min.js"></script> <script src="../js/mermaid.min.js"></script> <script>var config = {startOnLoad:true,flowchart:{useMaxWidth:true,htmlLabels:true}};mermaid.initialize(config);</script></body>
</html>

138
Docs/html/basewindow.html Normal file
View File

@ -0,0 +1,138 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<!-- basewindow.cpp -->
<title>BaseWindow Class | ScreenPlay</title>
<link rel="stylesheet" type="text/css" href="../css/style.css"/> <link rel="stylesheet" type="text/css" href="../css/bootstrap.min.css"/>
</head>
<body>
<div class="container-fullwidth nav sticky-top"><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 ">
<li>BaseWindow</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">BaseWindow Class</h1>
<!-- $$$BaseWindow-brief -->
<p>. <a href="#details">More...</a></p>
<!-- @@@BaseWindow -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign"> <span class="preprocessor">#include &lt;BaseWindow&gt;</span>
</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherited By:</td><td class="memItemRight bottomAlign"> <p><a href="winwindow.html">WinWindow</a></p>
</td></tr></table></div><ul>
<li><a href="basewindow-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">
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="basewindow.html#OSVersion-prop">OSVersion</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QVector&lt;int&gt; </td><td class="memItemRight bottomAlign"><b><a href="basewindow.html#activeScreensList-prop">activeScreensList</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="basewindow.html#appID-prop">appID</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="basewindow.html#basePath-prop">basePath</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="basewindow.html#canFade-prop">canFade</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="basewindow.html#checkWallpaperVisible-prop">checkWallpaperVisible</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> const QString &amp;</td><td class="memItemRight bottomAlign"><b><a href="basewindow.html#contentBasePath-prop">contentBasePath</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> float </td><td class="memItemRight bottomAlign"><b><a href="basewindow.html#currentTime-prop">currentTime</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="basewindow.html#debugMode-prop">debugMode</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="basewindow.html#fillMode-prop">fillMode</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="basewindow.html#fullContentPath-prop">fullContentPath</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="basewindow.html#height-prop">height</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="basewindow.html#isPlaying-prop">isPlaying</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="basewindow.html#loops-prop">loops</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="basewindow.html#muted-prop">muted</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> float </td><td class="memItemRight bottomAlign"><b><a href="basewindow.html#playbackRate-prop">playbackRate</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int *</td><td class="memItemRight bottomAlign"><b><a href="basewindow.html#sdk-prop">sdk</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="basewindow.html#type-prop">type</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="basewindow.html#visualsPaused-prop">visualsPaused</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> float </td><td class="memItemRight bottomAlign"><b><a href="basewindow.html#volume-prop">volume</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="basewindow.html#width-prop">width</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"> QString </td><td class="memItemRight bottomAlign"><b><a href="basewindow.html#getApplicationPath">getApplicationPath</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="basewindow.html#loadFromFile">loadFromFile</a></b>(const QString &amp;<i>filename</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="basewindow.html#messageReceived">messageReceived</a></b>(QString <i>key</i>, QString <i>value</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="basewindow.html#replaceWallpaper">replaceWallpaper</a></b>(const QString <i>absolutePath</i>, const QString <i>file</i>, const float <i>volume</i>, const QString <i>fillMode</i>, const QString <i>type</i>, const bool <i>checkWallpaperVisible</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="basewindow.html#activeScreensList-prop">setActiveScreensList</a></b>(QVector&lt;int&gt; <i>activeScreensList</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="basewindow.html#appID-prop">setAppID</a></b>(QString <i>appID</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="basewindow.html#basePath-prop">setBasePath</a></b>(QString <i>basePath</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="basewindow.html#canFade-prop">setCanFade</a></b>(bool <i>canFade</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="basewindow.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="basewindow.html#contentBasePath-prop">setContentBasePath</a></b>(const QString &amp;<i>contentBasePath</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="basewindow.html#currentTime-prop">setCurrentTime</a></b>(float <i>currentTime</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="basewindow.html#debugMode-prop">setDebugMode</a></b>(bool <i>debugMode</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="basewindow.html#fillMode-prop">setFillMode</a></b>(QString <i>fillMode</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="basewindow.html#fullContentPath-prop">setFullContentPath</a></b>(QString <i>fullContentPath</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="basewindow.html#height-prop">setHeight</a></b>(int <i>height</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="basewindow.html#isPlaying-prop">setIsPlaying</a></b>(bool <i>isPlaying</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="basewindow.html#loops-prop">setLoops</a></b>(bool <i>loops</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="basewindow.html#muted-prop">setMuted</a></b>(bool <i>muted</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="basewindow.html#OSVersion-prop">setOSVersion</a></b>(QString <i>OSVersion</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="basewindow.html#playbackRate-prop">setPlaybackRate</a></b>(float <i>playbackRate</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="basewindow.html#sdk-prop">setSdk</a></b>(int *<i>sdk</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="basewindow.html#type-prop">setType</a></b>(int <i>type</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="basewindow.html#visualsPaused-prop">setVisualsPaused</a></b>(bool <i>visualsPaused</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="basewindow.html#volume-prop">setVolume</a></b>(float <i>volume</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="basewindow.html#width-prop">setWidth</a></b>(int <i>width</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="basewindow.html#OSVersion-prop">OSVersionChanged</a></b>(QString <i>OSVersion</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="basewindow.html#activeScreensList-prop">activeScreensListChanged</a></b>(QVector&lt;int&gt; <i>activeScreensList</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="basewindow.html#appID-prop">appIDChanged</a></b>(QString <i>appID</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="basewindow.html#basePath-prop">basePathChanged</a></b>(QString <i>basePath</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="basewindow.html#canFade-prop">canFadeChanged</a></b>(bool <i>canFade</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="basewindow.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="basewindow.html#contentBasePath-prop">contentBasePathChanged</a></b>(const QString &amp;)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="basewindow.html#currentTime-prop">currentTimeChanged</a></b>(float <i>currentTime</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="basewindow.html#debugMode-prop">debugModeChanged</a></b>(bool <i>debugMode</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="basewindow.html#fillMode-prop">fillModeChanged</a></b>(QString <i>fillMode</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="basewindow.html#fullContentPath-prop">fullContentPathChanged</a></b>(QString <i>fullContentPath</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="basewindow.html#height-prop">heightChanged</a></b>(int <i>height</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="basewindow.html#isPlaying-prop">isPlayingChanged</a></b>(bool <i>isPlaying</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="basewindow.html#loops-prop">loopsChanged</a></b>(bool <i>loops</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="basewindow.html#muted-prop">mutedChanged</a></b>(bool <i>muted</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="basewindow.html#playbackRate-prop">playbackRateChanged</a></b>(float <i>playbackRate</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="basewindow.html#sdk-prop">sdkChanged</a></b>(int *<i>sdk</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="basewindow.html#type-prop">typeChanged</a></b>(int <i>type</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="basewindow.html#visualsPaused-prop">visualsPausedChanged</a></b>(bool <i>visualsPaused</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="basewindow.html#volume-prop">volumeChanged</a></b>(float <i>volume</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="basewindow.html#width-prop">widthChanged</a></b>(int <i>width</i>)</td></tr>
</table></div>
<a name="details"></a>
<!-- $$$BaseWindow-description -->
<div class="descr">
<h2 id="details">Detailed Description</h2>
</div>
<!-- @@@BaseWindow -->
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$getApplicationPath[overload1]$$$getApplicationPath -->
<h3 class="fn" id="getApplicationPath"><a name="getApplicationPath"></a><code>[slot] </code><span class="type">QString</span> BaseWindow::<span class="name">getApplicationPath</span>()</h3>
<p>This public slot is for QML usage.</p>
<!-- @@@getApplicationPath -->
<!-- $$$loadFromFile[overload1]$$$loadFromFileconstQString& -->
<h3 class="fn" id="loadFromFile"><a name="loadFromFile"></a><code>[slot] </code><span class="type">QString</span> BaseWindow::<span class="name">loadFromFile</span>(const <span class="type">QString</span> &amp;<i>filename</i>)</h3>
<p>Used for loading shader. Loading shader relative to the qml file will be available in Qt 6</p>
<!-- @@@loadFromFile -->
<!-- $$$messageReceived[overload1]$$$messageReceivedQStringQString -->
<h3 class="fn" id="messageReceived"><a name="messageReceived"></a><code>[virtual slot] </code><span class="type">void</span> BaseWindow::<span class="name">messageReceived</span>(<span class="type">QString</span> <i>key</i>, <span class="type">QString</span> <i>value</i>)</h3>
<p>messageReceived.</p>
<!-- @@@messageReceived -->
<!-- $$$replaceWallpaper[overload1]$$$replaceWallpaperconstQStringconstQStringconstfloatconstQStringconstQStringconstbool -->
<h3 class="fn" id="replaceWallpaper"><a name="replaceWallpaper"></a><code>[virtual slot] </code><span class="type">void</span> BaseWindow::<span class="name">replaceWallpaper</span>(const <span class="type">QString</span> <i>absolutePath</i>, const <span class="type">QString</span> <i>file</i>, const <span class="type">float</span> <i>volume</i>, const <span class="type">QString</span> <i>fillMode</i>, const <span class="type">QString</span> <i>type</i>, const <span class="type">bool</span> <i>checkWallpaperVisible</i>)</h3>
<p>replaceWallpaper.</p>
<!-- @@@replaceWallpaper -->
</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/bootstrap.bundle.min.js"></script> <script src="../js/mermaid.min.js"></script> <script>var config = {startOnLoad:true,flowchart:{useMaxWidth:true,htmlLabels:true}};mermaid.initialize(config);</script></body>
</html>

View File

@ -0,0 +1,23 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<!-- cpu.cpp -->
<title>List of All Members for CPU | ScreenPlay</title>
<link rel="stylesheet" type="text/css" href="../css/style.css"/> <link rel="stylesheet" type="text/css" href="../css/bootstrap.min.css"/>
</head>
<body>
<div class="container-fullwidth nav sticky-top"><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 ">
<li>CPU</li>
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">List of All Members for CPU</h1>
<p>This is the complete list of members for <a href="cpu.html">CPU</a>, including inherited members.</p>
<ul>
<li class="fn"><span class="name"><b><a href="cpu.html#tickRate-prop">setTickRate</a></b></span>(int)</li>
<li class="fn"><span class="name"><b><a href="cpu.html#tickRate-prop">tickRateChanged</a></b></span>(int)</li>
<li class="fn"><span class="name"><b><a href="cpu.html#usage-prop">usageChanged</a></b></span>(float)</li>
<li class="fn"><span class="name"><b><a href="cpu.html#tickRate-prop">tickRate</a></b></span>() const : int</li>
<li class="fn"><span class="name"><b><a href="cpu.html#usage-prop">usage</a></b></span>() const : float</li>
</ul>
<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/bootstrap.bundle.min.js"></script> <script src="../js/mermaid.min.js"></script> <script>var config = {startOnLoad:true,flowchart:{useMaxWidth:true,htmlLabels:true}};mermaid.initialize(config);</script></body>
</html>

56
Docs/html/cpu.html Normal file
View File

@ -0,0 +1,56 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<!-- cpu.cpp -->
<title>CPU Class | ScreenPlay</title>
<link rel="stylesheet" type="text/css" href="../css/style.css"/> <link rel="stylesheet" type="text/css" href="../css/bootstrap.min.css"/>
</head>
<body>
<div class="container-fullwidth nav sticky-top"><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 ">
<li>CPU</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">CPU Class</h1>
<!-- $$$CPU-brief -->
<p>. <a href="#details">More...</a></p>
<!-- @@@CPU -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign"> <span class="preprocessor">#include &lt;CPU&gt;</span>
</td></tr></table></div><ul>
<li><a href="cpu-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">
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="cpu.html#tickRate-prop">tickRate</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> float </td><td class="memItemRight bottomAlign"><b><a href="cpu.html#usage-prop">usage</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="cpu.html#tickRate-prop">setTickRate</a></b>(int <i>tickRate</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="cpu.html#tickRate-prop">tickRateChanged</a></b>(int <i>tickRate</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="cpu.html#usage-prop">usageChanged</a></b>(float <i>usage</i>)</td></tr>
</table></div>
<a name="details"></a>
<!-- $$$CPU-description -->
<div class="descr">
<h2 id="details">Detailed Description</h2>
</div>
<!-- @@@CPU -->
<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/bootstrap.bundle.min.js"></script> <script src="../js/mermaid.min.js"></script> <script>var config = {startOnLoad:true,flowchart:{useMaxWidth:true,htmlLabels:true}};mermaid.initialize(config);</script></body>
</html>

View File

@ -0,0 +1,33 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<!-- gpu.cpp -->
<title>List of All Members for GPU | ScreenPlay</title>
<link rel="stylesheet" type="text/css" href="../css/style.css"/> <link rel="stylesheet" type="text/css" href="../css/bootstrap.min.css"/>
</head>
<body>
<div class="container-fullwidth nav sticky-top"><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 ">
<li>GPU</li>
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">List of All Members for GPU</h1>
<p>This is the complete list of members for <a href="gpu.html">GPU</a>, including inherited members.</p>
<ul>
<li class="fn"><span class="name"><b><a href="gpu.html#cacheSize-prop">cacheSizeChanged</a></b></span>(int)</li>
<li class="fn"><span class="name"><b><a href="gpu.html#maxFrequency-prop">maxFrequencyChanged</a></b></span>(int)</li>
<li class="fn"><span class="name"><b><a href="gpu.html#name-prop">nameChanged</a></b></span>(const QString &amp;)</li>
<li class="fn"><span class="name"><b><a href="gpu.html#ramSize-prop">ramSizeChanged</a></b></span>(int)</li>
<li class="fn"><span class="name"><b><a href="gpu.html#cacheSize-prop">setCacheSize</a></b></span>(int)</li>
<li class="fn"><span class="name"><b><a href="gpu.html#maxFrequency-prop">setMaxFrequency</a></b></span>(int)</li>
<li class="fn"><span class="name"><b><a href="gpu.html#name-prop">setName</a></b></span>(const QString &amp;)</li>
<li class="fn"><span class="name"><b><a href="gpu.html#ramSize-prop">setRamSize</a></b></span>(int)</li>
<li class="fn"><span class="name"><b><a href="gpu.html#vendor-prop">setVendor</a></b></span>(const QString &amp;)</li>
<li class="fn"><span class="name"><b><a href="gpu.html#vendor-prop">vendorChanged</a></b></span>(const QString &amp;)</li>
<li class="fn"><span class="name"><b><a href="gpu.html#cacheSize-prop">cacheSize</a></b></span>() const : int</li>
<li class="fn"><span class="name"><b><a href="gpu.html#maxFrequency-prop">maxFrequency</a></b></span>() const : int</li>
<li class="fn"><span class="name"><b><a href="gpu.html#name-prop">name</a></b></span>() const : const QString &amp;</li>
<li class="fn"><span class="name"><b><a href="gpu.html#ramSize-prop">ramSize</a></b></span>() const : int</li>
<li class="fn"><span class="name"><b><a href="gpu.html#vendor-prop">vendor</a></b></span>() const : const QString &amp;</li>
</ul>
<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/bootstrap.bundle.min.js"></script> <script src="../js/mermaid.min.js"></script> <script>var config = {startOnLoad:true,flowchart:{useMaxWidth:true,htmlLabels:true}};mermaid.initialize(config);</script></body>
</html>

66
Docs/html/gpu.html Normal file
View File

@ -0,0 +1,66 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<!-- gpu.cpp -->
<title>GPU Class | ScreenPlay</title>
<link rel="stylesheet" type="text/css" href="../css/style.css"/> <link rel="stylesheet" type="text/css" href="../css/bootstrap.min.css"/>
</head>
<body>
<div class="container-fullwidth nav sticky-top"><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 ">
<li>GPU</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">GPU Class</h1>
<!-- $$$GPU-brief -->
<p>. <a href="#details">More...</a></p>
<!-- @@@GPU -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign"> <span class="preprocessor">#include &lt;GPU&gt;</span>
</td></tr></table></div><ul>
<li><a href="gpu-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">
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="gpu.html#cacheSize-prop">cacheSize</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="gpu.html#maxFrequency-prop">maxFrequency</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> const QString &amp;</td><td class="memItemRight bottomAlign"><b><a href="gpu.html#name-prop">name</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="gpu.html#ramSize-prop">ramSize</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> const QString &amp;</td><td class="memItemRight bottomAlign"><b><a href="gpu.html#vendor-prop">vendor</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="gpu.html#cacheSize-prop">setCacheSize</a></b>(int <i>cacheSize</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="gpu.html#maxFrequency-prop">setMaxFrequency</a></b>(int <i>maxFrequency</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="gpu.html#name-prop">setName</a></b>(const QString &amp;<i>name</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="gpu.html#ramSize-prop">setRamSize</a></b>(int <i>ramSize</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="gpu.html#vendor-prop">setVendor</a></b>(const QString &amp;<i>vendor</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="gpu.html#cacheSize-prop">cacheSizeChanged</a></b>(int <i>cacheSize</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="gpu.html#maxFrequency-prop">maxFrequencyChanged</a></b>(int <i>maxFrequency</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="gpu.html#name-prop">nameChanged</a></b>(const QString &amp;<i>name</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="gpu.html#ramSize-prop">ramSizeChanged</a></b>(int <i>ramSize</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="gpu.html#vendor-prop">vendorChanged</a></b>(const QString &amp;<i>vendor</i>)</td></tr>
</table></div>
<a name="details"></a>
<!-- $$$GPU-description -->
<div class="descr">
<h2 id="details">Detailed Description</h2>
</div>
<!-- @@@GPU -->
<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/bootstrap.bundle.min.js"></script> <script src="../js/mermaid.min.js"></script> <script>var config = {startOnLoad:true,flowchart:{useMaxWidth:true,htmlLabels:true}};mermaid.initialize(config);</script></body>
</html>

View File

@ -0,0 +1,32 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<!-- ram.cpp -->
<title>List of All Members for RAM | ScreenPlay</title>
<link rel="stylesheet" type="text/css" href="../css/style.css"/> <link rel="stylesheet" type="text/css" href="../css/bootstrap.min.css"/>
</head>
<body>
<div class="container-fullwidth nav sticky-top"><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 ">
<li>RAM</li>
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">List of All Members for RAM</h1>
<p>This is the complete list of members for <a href="ram.html">RAM</a>, including inherited members.</p>
<ul>
<li class="fn"><span class="name"><b><a href="ram.html#long-prop">totalPagingMemoryChanged</a></b></span>(unsigned long long)</li>
<li class="fn"><span class="name"><b><a href="ram.html#long-prop">totalPhysicalMemoryChanged</a></b></span>(unsigned long long)</li>
<li class="fn"><span class="name"><b><a href="ram.html#long-prop">totalVirtualMemoryChanged</a></b></span>(unsigned long long)</li>
<li class="fn"><span class="name"><b><a href="ram.html#usage-prop">usageChanged</a></b></span>(float)</li>
<li class="fn"><span class="name"><b><a href="ram.html#long-prop">usedPagingMemoryChanged</a></b></span>(unsigned long long)</li>
<li class="fn"><span class="name"><b><a href="ram.html#long-prop">usedPhysicalMemoryChanged</a></b></span>(unsigned long long)</li>
<li class="fn"><span class="name"><b><a href="ram.html#long-prop">usedVirtualMemoryChanged</a></b></span>(unsigned long long)</li>
<li class="fn"><span class="name"><b><a href="ram.html#long-prop">totalPagingMemory</a></b></span>() const : unsigned long long</li>
<li class="fn"><span class="name"><b><a href="ram.html#long-prop">totalPhysicalMemory</a></b></span>() const : unsigned long long</li>
<li class="fn"><span class="name"><b><a href="ram.html#long-prop">totalVirtualMemory</a></b></span>() const : unsigned long long</li>
<li class="fn"><span class="name"><b><a href="ram.html#usage-prop">usage</a></b></span>() const : float</li>
<li class="fn"><span class="name"><b><a href="ram.html#long-prop">usedPagingMemory</a></b></span>() const : unsigned long long</li>
<li class="fn"><span class="name"><b><a href="ram.html#long-prop">usedPhysicalMemory</a></b></span>() const : unsigned long long</li>
<li class="fn"><span class="name"><b><a href="ram.html#long-prop">usedVirtualMemory</a></b></span>() const : unsigned long long</li>
</ul>
<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/bootstrap.bundle.min.js"></script> <script src="../js/mermaid.min.js"></script> <script>var config = {startOnLoad:true,flowchart:{useMaxWidth:true,htmlLabels:true}};mermaid.initialize(config);</script></body>
</html>

60
Docs/html/ram.html Normal file
View File

@ -0,0 +1,60 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<!-- ram.cpp -->
<title>RAM Class | ScreenPlay</title>
<link rel="stylesheet" type="text/css" href="../css/style.css"/> <link rel="stylesheet" type="text/css" href="../css/bootstrap.min.css"/>
</head>
<body>
<div class="container-fullwidth nav sticky-top"><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 ">
<li>RAM</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="#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">RAM Class</h1>
<!-- $$$RAM-brief -->
<p>. <a href="#details">More...</a></p>
<!-- @@@RAM -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign"> <span class="preprocessor">#include &lt;RAM&gt;</span>
</td></tr></table></div><ul>
<li><a href="ram-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">
<tr><td class="memItemLeft rightAlign topAlign"> unsigned long long </td><td class="memItemRight bottomAlign"><b><a href="ram.html#long-prop">totalPagingMemory</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> unsigned long long </td><td class="memItemRight bottomAlign"><b><a href="ram.html#long-prop">totalPhysicalMemory</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> unsigned long long </td><td class="memItemRight bottomAlign"><b><a href="ram.html#long-prop">totalVirtualMemory</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> float </td><td class="memItemRight bottomAlign"><b><a href="ram.html#usage-prop">usage</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> unsigned long long </td><td class="memItemRight bottomAlign"><b><a href="ram.html#long-prop">usedPagingMemory</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> unsigned long long </td><td class="memItemRight bottomAlign"><b><a href="ram.html#long-prop">usedPhysicalMemory</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> unsigned long long </td><td class="memItemRight bottomAlign"><b><a href="ram.html#long-prop">usedVirtualMemory</a></b>() const</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="ram.html#long-prop">totalPagingMemoryChanged</a></b>(unsigned long long <i>totalPagingMemory</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="ram.html#long-prop">totalPhysicalMemoryChanged</a></b>(unsigned long long <i>totalPhysicalMemory</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="ram.html#long-prop">totalVirtualMemoryChanged</a></b>(unsigned long long <i>totalVirtualMemory</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="ram.html#usage-prop">usageChanged</a></b>(float <i>usage</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="ram.html#long-prop">usedPagingMemoryChanged</a></b>(unsigned long long <i>usedPagingMemory</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="ram.html#long-prop">usedPhysicalMemoryChanged</a></b>(unsigned long long <i>usedPhysicalMemory</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="ram.html#long-prop">usedVirtualMemoryChanged</a></b>(unsigned long long <i>usedVirtualMemory</i>)</td></tr>
</table></div>
<a name="details"></a>
<!-- $$$RAM-description -->
<div class="descr">
<h2 id="details">Detailed Description</h2>
</div>
<!-- @@@RAM -->
<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/bootstrap.bundle.min.js"></script> <script src="../js/mermaid.min.js"></script> <script>var config = {startOnLoad:true,flowchart:{useMaxWidth:true,htmlLabels:true}};mermaid.initialize(config);</script></body>
</html>

View File

@ -21,9 +21,9 @@
</div> </div>
<div class="sidebar-content" id="sidebar-content"></div></div> <div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">App Class</h1> <h1 class="title">App Class</h1>
<span class="small-subtitle">class <a href="screenplay.html">ScreenPlay</a>::App</span> <span class="small-subtitle">class <a href="screenplay-module.html">ScreenPlay</a>::App</span>
<!-- $$$App-brief --> <!-- $$$App-brief -->
<p>The App class contains all members for <a href="screenplay.html">ScreenPlay</a>. <a href="#details">More...</a></p> <p>The App class contains all members for <a href="screenplay-module.html">ScreenPlay</a>. <a href="#details">More...</a></p>
<!-- @@@App --> <!-- @@@App -->
<div class="table"><table class="alignedsummary"> <div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign"> <span class="preprocessor">#include &lt;App&gt;</span> <tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign"> <span class="preprocessor">#include &lt;App&gt;</span>
@ -111,19 +111,19 @@
<h2>Member Function Documentation</h2> <h2>Member Function Documentation</h2>
<!-- $$$App[overload1]$$$App --> <!-- $$$App[overload1]$$$App -->
<h3 class="fn" id="App"><a name="App"></a>App::<span class="name">App</span>()</h3> <h3 class="fn" id="App"><a name="App"></a>App::<span class="name">App</span>()</h3>
<p>Constructor creates and holds all classes used by <a href="screenplay.html">ScreenPlay</a> via unique_ptr or shared_ptr.</p> <p>Constructor creates and holds all classes used by <a href="screenplay-module.html">ScreenPlay</a> via unique_ptr or shared_ptr.</p>
<!-- @@@App --> <!-- @@@App -->
<!-- $$$exit[overload1]$$$exit --> <!-- $$$exit[overload1]$$$exit -->
<h3 class="fn" id="exit"><a name="exit"></a><code>[slot] </code><span class="type">void</span> App::<span class="name">exit</span>()</h3> <h3 class="fn" id="exit"><a name="exit"></a><code>[slot] </code><span class="type">void</span> App::<span class="name">exit</span>()</h3>
<p>Tries to send the telemetry quit event before we call quit ourself.</p> <p>Calls QApplication quit() and can be used to do additional tasks before exiting.</p>
<!-- @@@exit --> <!-- @@@exit -->
<!-- $$$loadSteamPlugin[overload1]$$$loadSteamPlugin --> <!-- $$$loadSteamPlugin[overload1]$$$loadSteamPlugin -->
<h3 class="fn" id="loadSteamPlugin"><a name="loadSteamPlugin"></a><code>[slot] </code><span class="type">bool</span> App::<span class="name">loadSteamPlugin</span>()</h3> <h3 class="fn" id="loadSteamPlugin"><a name="loadSteamPlugin"></a><code>[slot] </code><span class="type">bool</span> App::<span class="name">loadSteamPlugin</span>()</h3>
<p>Loads the Steam plugin when needed. This enables to start <a href="screenplay.html">ScreenPlay</a> via OS autostart without waiting for Steam first.</p> <p>Loads the Steam plugin when needed. This enables to start <a href="screenplay-module.html">ScreenPlay</a> via OS autostart without waiting for Steam first.</p>
<!-- @@@loadSteamPlugin --> <!-- @@@loadSteamPlugin -->
<!-- $$$init[overload1]$$$init --> <!-- $$$init[overload1]$$$init -->
<h3 class="fn" id="init"><a name="init"></a><span class="type">void</span> App::<span class="name">init</span>()</h3> <h3 class="fn" id="init"><a name="init"></a><span class="type">void</span> App::<span class="name">init</span>()</h3>
<p>Used for initialization after the constructor. The sole purpose is to check if another <a href="screenplay.html">ScreenPlay</a> instance is running and then quit early. This is also because we cannot call QApplication::quit(); in the SDKConnector before the app.exec(); ( the Qt main event loop ) has started.</p> <p>Used for initialization after the constructor. The sole purpose is to check if another <a href="screenplay-module.html">ScreenPlay</a> instance is running and then quit early. This is also because we cannot call QApplication::quit(); in the SDKConnector before the app.exec(); ( the Qt main event loop ) has started.</p>
<!-- @@@init --> <!-- @@@init -->
</div> </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/bootstrap.bundle.min.js"></script> <script src="../js/mermaid.min.js"></script> <script>var config = {startOnLoad:true,flowchart:{useMaxWidth:true,htmlLabels:true}};mermaid.initialize(config);</script></body> <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/bootstrap.bundle.min.js"></script> <script src="../js/mermaid.min.js"></script> <script>var config = {startOnLoad:true,flowchart:{useMaxWidth:true,htmlLabels:true}};mermaid.initialize(config);</script></body>

View File

@ -17,7 +17,7 @@
<li class="fn"><span class="name"><b><a href="screenplay-create.html#Create">Create</a></b></span>(const std::shared_ptr&lt;GlobalVariables&gt; &amp;, QObject *)</li> <li class="fn"><span class="name"><b><a href="screenplay-create.html#Create">Create</a></b></span>(const std::shared_ptr&lt;GlobalVariables&gt; &amp;, QObject *)</li>
<li class="fn"><span class="name"><b><a href="screenplay-create.html#abortAndCleanup">abortAndCleanup</a></b></span>()</li> <li class="fn"><span class="name"><b><a href="screenplay-create.html#abortAndCleanup">abortAndCleanup</a></b></span>()</li>
<li class="fn"><span class="name"><b><a href="screenplay-create.html#ffmpegOutput-prop">appendFfmpegOutput</a></b></span>(QString)</li> <li class="fn"><span class="name"><b><a href="screenplay-create.html#ffmpegOutput-prop">appendFfmpegOutput</a></b></span>(QString)</li>
<li class="fn"><span class="name"><b><a href="screenplay-create.html#createWallpaperStart">createWallpaperStart</a></b></span>(QString, Create::VideoCodec)</li> <li class="fn"><span class="name"><b><a href="screenplay-create.html#createWallpaperStart">createWallpaperStart</a></b></span>(QString, Create::VideoCodec, const int)</li>
<li class="fn"><span class="name"><b><a href="screenplay-create.html#ffmpegOutput-prop">ffmpegOutputChanged</a></b></span>(QString)</li> <li class="fn"><span class="name"><b><a href="screenplay-create.html#ffmpegOutput-prop">ffmpegOutputChanged</a></b></span>(QString)</li>
<li class="fn"><span class="name"><b><a href="screenplay-create.html#progress-prop">progressChanged</a></b></span>(float)</li> <li class="fn"><span class="name"><b><a href="screenplay-create.html#progress-prop">progressChanged</a></b></span>(float)</li>
<li class="fn"><span class="name"><b><a href="screenplay-create.html#saveWallpaper">saveWallpaper</a></b></span>(QString, QString, QString, QString, QString, ScreenPlay::Create::VideoCodec, QVector&lt;QString&gt;)</li> <li class="fn"><span class="name"><b><a href="screenplay-create.html#saveWallpaper">saveWallpaper</a></b></span>(QString, QString, QString, QString, QString, ScreenPlay::Create::VideoCodec, QVector&lt;QString&gt;)</li>

View File

@ -21,7 +21,7 @@
</div> </div>
<div class="sidebar-content" id="sidebar-content"></div></div> <div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">Create Class</h1> <h1 class="title">Create Class</h1>
<span class="small-subtitle">class <a href="screenplay.html">ScreenPlay</a>::Create</span> <span class="small-subtitle">class <a href="screenplay-module.html">ScreenPlay</a>::Create</span>
<!-- $$$Create-brief --> <!-- $$$Create-brief -->
<p>Baseclass for creating wallapers, widgets and the corresponding wizards. <a href="#details">More...</a></p> <p>Baseclass for creating wallapers, widgets and the corresponding wizards. <a href="#details">More...</a></p>
<!-- @@@Create --> <!-- @@@Create -->
@ -44,7 +44,7 @@
<div class="table"><table class="alignedsummary"> <div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-create.html#abortAndCleanup">abortAndCleanup</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-create.html#abortAndCleanup">abortAndCleanup</a></b>()</td></tr>
<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> <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>
<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#createWallpaperStart">createWallpaperStart</a></b>(QString <i>videoPath</i>, Create::VideoCodec <i>codec</i>, const int <i>quality</i> = 50)</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&lt;QString&gt; <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&lt;QString&gt; <i>tags</i>)</td></tr>
<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#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 &amp;<i>workingDir</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 &amp;<i>workingDir</i>)</td></tr>
@ -77,8 +77,8 @@
<h3 class="fn" id="abortAndCleanup"><a name="abortAndCleanup"></a><code>[slot] </code><span class="type">void</span> Create::<span class="name">abortAndCleanup</span>()</h3> <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>This method is called when the user manually aborts the wallpaper import.</p> <p>This method is called when the user manually aborts the wallpaper import.</p>
<!-- @@@abortAndCleanup --> <!-- @@@abortAndCleanup -->
<!-- $$$createWallpaperStart[overload1]$$$createWallpaperStartQStringCreate::VideoCodec --> <!-- $$$createWallpaperStart[overload1]$$$createWallpaperStartQStringCreate::VideoCodecconstint -->
<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> <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>, const <span class="type">int</span> <i>quality</i> = 50)</h3>
<p>Starts the process.</p> <p>Starts the process.</p>
<!-- @@@createWallpaperStart --> <!-- @@@createWallpaperStart -->
<!-- $$$saveWallpaper[overload1]$$$saveWallpaperQStringQStringQStringQStringQStringScreenPlay::Create::VideoCodecQVector<QString> --> <!-- $$$saveWallpaper[overload1]$$$saveWallpaperQStringQStringQStringQStringQStringScreenPlay::Create::VideoCodecQVector<QString> -->

View File

@ -13,13 +13,13 @@
<h1 class="title">List of All Members for CreateImportVideo</h1> <h1 class="title">List of All Members for CreateImportVideo</h1>
<p>This is the complete list of members for <a href="screenplay-createimportvideo.html">ScreenPlay::CreateImportVideo</a>, including inherited members.</p> <p>This is the complete list of members for <a href="screenplay-createimportvideo.html">ScreenPlay::CreateImportVideo</a>, including inherited members.</p>
<ul> <ul>
<li class="fn"><span class="name"><b><a href="screenplay-createimportvideo.html#CreateImportVideo-2">CreateImportVideo</a></b></span>(const QString &amp;, const QString &amp;, const QStringList &amp;, QObject *)</li> <li class="fn"><span class="name"><b><a href="screenplay-createimportvideo.html#CreateImportVideo-2">CreateImportVideo</a></b></span>(const QString &amp;, const QString &amp;, const QString &amp;, const int, QObject *)</li>
<li class="fn"><span class="name"><b><a href="screenplay-createimportvideo.html#CreateImportVideo-1">CreateImportVideo</a></b></span>(QObject *)</li> <li class="fn"><span class="name"><b><a href="screenplay-createimportvideo.html#CreateImportVideo-1">CreateImportVideo</a></b></span>(QObject *)</li>
<li class="fn"><span class="name"><b><a href="screenplay-createimportvideo.html#createWallpaperGifPreview">createWallpaperGifPreview</a></b></span>() : bool</li> <li class="fn"><span class="name"><b><a href="screenplay-createimportvideo.html#createWallpaperGifPreview">createWallpaperGifPreview</a></b></span>() : bool</li>
<li class="fn"><span class="name"><b><a href="screenplay-createimportvideo.html#createWallpaperImagePreview">createWallpaperImagePreview</a></b></span>() : bool</li> <li class="fn"><span class="name"><b><a href="screenplay-createimportvideo.html#createWallpaperImagePreview">createWallpaperImagePreview</a></b></span>() : bool</li>
<li class="fn"><span class="name"><b><a href="screenplay-createimportvideo.html#createWallpaperImageThumbnailPreview">createWallpaperImageThumbnailPreview</a></b></span>() : bool</li> <li class="fn"><span class="name"><b><a href="screenplay-createimportvideo.html#createWallpaperImageThumbnailPreview">createWallpaperImageThumbnailPreview</a></b></span>() : bool</li>
<li class="fn"><span class="name"><b><a href="screenplay-createimportvideo.html#createWallpaperInfo">createWallpaperInfo</a></b></span>() : bool</li> <li class="fn"><span class="name"><b><a href="screenplay-createimportvideo.html#createWallpaperInfo">createWallpaperInfo</a></b></span>() : bool</li>
<li class="fn"><span class="name"><b><a href="screenplay-createimportvideo.html#createWallpaperVideo">createWallpaperVideo</a></b></span>(const QString &amp;) : bool</li> <li class="fn"><span class="name"><b><a href="screenplay-createimportvideo.html#createWallpaperVideo">createWallpaperVideo</a></b></span>() : bool</li>
<li class="fn"><span class="name"><b><a href="screenplay-createimportvideo.html#createWallpaperVideoPreview">createWallpaperVideoPreview</a></b></span>() : bool</li> <li class="fn"><span class="name"><b><a href="screenplay-createimportvideo.html#createWallpaperVideoPreview">createWallpaperVideoPreview</a></b></span>() : bool</li>
<li class="fn"><span class="name"><b><a href="screenplay-createimportvideo.html#extractWallpaperAudio">extractWallpaperAudio</a></b></span>() : bool</li> <li class="fn"><span class="name"><b><a href="screenplay-createimportvideo.html#extractWallpaperAudio">extractWallpaperAudio</a></b></span>() : bool</li>
<li class="fn"><span class="name"><b><a href="screenplay-createimportvideo.html#process">process</a></b></span>()</li> <li class="fn"><span class="name"><b><a href="screenplay-createimportvideo.html#process">process</a></b></span>()</li>

View File

@ -21,7 +21,7 @@
</div> </div>
<div class="sidebar-content" id="sidebar-content"></div></div> <div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">CreateImportVideo Class</h1> <h1 class="title">CreateImportVideo Class</h1>
<span class="small-subtitle">class <a href="screenplay.html">ScreenPlay</a>::CreateImportVideo</span> <span class="small-subtitle">class <a href="screenplay-module.html">ScreenPlay</a>::CreateImportVideo</span>
<!-- $$$CreateImportVideo-brief --> <!-- $$$CreateImportVideo-brief -->
<p>This class imports (copies) and creates wallaper previews. <a href="#details">More...</a></p> <p>This class imports (copies) and creates wallaper previews. <a href="#details">More...</a></p>
<!-- @@@CreateImportVideo --> <!-- @@@CreateImportVideo -->
@ -33,7 +33,7 @@
<a name="public-functions"></a> <a name="public-functions"></a>
<h2 id="public-functions">Public Functions</h2> <h2 id="public-functions">Public Functions</h2>
<div class="table"><table class="alignedsummary"> <div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="screenplay-createimportvideo.html#CreateImportVideo-2">CreateImportVideo</a></b>(const QString &amp;<i>videoPath</i>, const QString &amp;<i>exportPath</i>, const QStringList &amp;<i>codecs</i>, QObject *<i>parent</i> = nullptr)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="screenplay-createimportvideo.html#CreateImportVideo-2">CreateImportVideo</a></b>(const QString &amp;<i>videoPath</i>, const QString &amp;<i>exportPath</i>, const QString &amp;<i>codec</i>, const int <i>quality</i>, QObject *<i>parent</i> = nullptr)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="screenplay-createimportvideo.html#CreateImportVideo-1">CreateImportVideo</a></b>(QObject *<i>parent</i> = nullptr)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="screenplay-createimportvideo.html#CreateImportVideo-1">CreateImportVideo</a></b>(QObject *<i>parent</i> = nullptr)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> float </td><td class="memItemRight bottomAlign"><b><a href="screenplay-createimportvideo.html#progress-prop">progress</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> float </td><td class="memItemRight bottomAlign"><b><a href="screenplay-createimportvideo.html#progress-prop">progress</a></b>() const</td></tr>
</table></div> </table></div>
@ -44,7 +44,7 @@
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="screenplay-createimportvideo.html#createWallpaperImagePreview">createWallpaperImagePreview</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="screenplay-createimportvideo.html#createWallpaperImagePreview">createWallpaperImagePreview</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="screenplay-createimportvideo.html#createWallpaperImageThumbnailPreview">createWallpaperImageThumbnailPreview</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="screenplay-createimportvideo.html#createWallpaperImageThumbnailPreview">createWallpaperImageThumbnailPreview</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="screenplay-createimportvideo.html#createWallpaperInfo">createWallpaperInfo</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="screenplay-createimportvideo.html#createWallpaperInfo">createWallpaperInfo</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="screenplay-createimportvideo.html#createWallpaperVideo">createWallpaperVideo</a></b>(const QString &amp;<i>codec</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="screenplay-createimportvideo.html#createWallpaperVideo">createWallpaperVideo</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="screenplay-createimportvideo.html#createWallpaperVideoPreview">createWallpaperVideoPreview</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="screenplay-createimportvideo.html#createWallpaperVideoPreview">createWallpaperVideoPreview</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="screenplay-createimportvideo.html#extractWallpaperAudio">extractWallpaperAudio</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="screenplay-createimportvideo.html#extractWallpaperAudio">extractWallpaperAudio</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-createimportvideo.html#process">process</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-createimportvideo.html#process">process</a></b>()</td></tr>
@ -64,8 +64,8 @@
<!-- @@@CreateImportVideo --> <!-- @@@CreateImportVideo -->
<div class="func"> <div class="func">
<h2>Member Function Documentation</h2> <h2>Member Function Documentation</h2>
<!-- $$$CreateImportVideo$$$CreateImportVideoconstQString&constQString&constQStringList&QObject* --> <!-- $$$CreateImportVideo$$$CreateImportVideoconstQString&constQString&constQString&constintQObject* -->
<h3 class="fn" id="CreateImportVideo-2"><a name="CreateImportVideo-2"></a>CreateImportVideo::<span class="name">CreateImportVideo</span>(const <span class="type">QString</span> &amp;<i>videoPath</i>, const <span class="type">QString</span> &amp;<i>exportPath</i>, const <span class="type">QStringList</span> &amp;<i>codecs</i>, <span class="type">QObject</span> *<i>parent</i> = nullptr)</h3> <h3 class="fn" id="CreateImportVideo-2"><a name="CreateImportVideo-2"></a>CreateImportVideo::<span class="name">CreateImportVideo</span>(const <span class="type">QString</span> &amp;<i>videoPath</i>, const <span class="type">QString</span> &amp;<i>exportPath</i>, const <span class="type">QString</span> &amp;<i>codec</i>, const <span class="type">int</span> <i>quality</i>, <span class="type">QObject</span> *<i>parent</i> = nullptr)</h3>
<p>Creates a CreateImportVideo object to be used in a different thread. A <i>videoPath</i> and a <i>exportPath</i> are needed for convertion.</p> <p>Creates a CreateImportVideo object to be used in a different thread. A <i>videoPath</i> and a <i>exportPath</i> are needed for convertion.</p>
<!-- @@@CreateImportVideo --> <!-- @@@CreateImportVideo -->
<!-- $$$CreateImportVideo$$$CreateImportVideoQObject* --> <!-- $$$CreateImportVideo$$$CreateImportVideoQObject* -->
@ -100,7 +100,7 @@ args<span class="operator">.</span>append(m_exportPath <span class="operator">+<
<!-- @@@createWallpaperImageThumbnailPreview --> <!-- @@@createWallpaperImageThumbnailPreview -->
<!-- $$$createWallpaperInfo[overload1]$$$createWallpaperInfo --> <!-- $$$createWallpaperInfo[overload1]$$$createWallpaperInfo -->
<h3 class="fn" id="createWallpaperInfo"><a name="createWallpaperInfo"></a><code>[slot] </code><span class="type">bool</span> CreateImportVideo::<span class="name">createWallpaperInfo</span>()</h3> <h3 class="fn" id="createWallpaperInfo"><a name="createWallpaperInfo"></a><code>[slot] </code><span class="type">bool</span> CreateImportVideo::<span class="name">createWallpaperInfo</span>()</h3>
<p>Starts ffprobe and tries to parse the resulting json. Returns <code>false</code> if :</p> <p>Starts ffprobe and tries to parse the resulting json. If the video is a container that not contains the video length like webm or mkv we need to count the frames ourself. We then call analyzeWebmReadFrames or analyzeVideo to parse the output. Returns <code>false</code> if :</p>
<ul> <ul>
<li>Parsing the output json of ffprobe fails.</li> <li>Parsing the output json of ffprobe fails.</li>
<li>Has no video.</li> <li>Has no video.</li>
@ -108,8 +108,8 @@ args<span class="operator">.</span>append(m_exportPath <span class="operator">+<
<li>Is a wrong file format or generally broken.</li> <li>Is a wrong file format or generally broken.</li>
</ul> </ul>
<!-- @@@createWallpaperInfo --> <!-- @@@createWallpaperInfo -->
<!-- $$$createWallpaperVideo[overload1]$$$createWallpaperVideoconstQString& --> <!-- $$$createWallpaperVideo[overload1]$$$createWallpaperVideo -->
<h3 class="fn" id="createWallpaperVideo"><a name="createWallpaperVideo"></a><code>[slot] </code><span class="type">bool</span> CreateImportVideo::<span class="name">createWallpaperVideo</span>(const <span class="type">QString</span> &amp;<i>codec</i>)</h3> <h3 class="fn" id="createWallpaperVideo"><a name="createWallpaperVideo"></a><code>[slot] </code><span class="type">bool</span> CreateImportVideo::<span class="name">createWallpaperVideo</span>()</h3>
<p>Starts ffmpeg and tries to covert the given video to a webm video.</p> <p>Starts ffmpeg and tries to covert the given video to a webm video.</p>
<pre class="cpp"><span class="comment">//[...]</span> <pre class="cpp"><span class="comment">//[...]</span>
args<span class="operator">.</span>append(<span class="string">&quot;-c:v&quot;</span>); args<span class="operator">.</span>append(<span class="string">&quot;-c:v&quot;</span>);

View File

@ -21,7 +21,7 @@
</div> </div>
<div class="sidebar-content" id="sidebar-content"></div></div> <div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">GlobalVariables Class</h1> <h1 class="title">GlobalVariables Class</h1>
<span class="small-subtitle">class <a href="screenplay.html">ScreenPlay</a>::GlobalVariables</span> <span class="small-subtitle">class <a href="screenplay-module.html">ScreenPlay</a>::GlobalVariables</span>
<!-- $$$GlobalVariables-brief --> <!-- $$$GlobalVariables-brief -->
<p>Contains all variables that are globally needed. <a href="#details">More...</a></p> <p>Contains all variables that are globally needed. <a href="#details">More...</a></p>
<!-- @@@GlobalVariables --> <!-- @@@GlobalVariables -->

View File

@ -15,8 +15,8 @@
<ul> <ul>
<li class="fn"><span class="name"><b><a href="screenplay-installedlistfilter.html#InstalledListFilter">InstalledListFilter</a></b></span>(const std::shared_ptr&lt;InstalledListModel&gt; &amp;)</li> <li class="fn"><span class="name"><b><a href="screenplay-installedlistfilter.html#InstalledListFilter">InstalledListFilter</a></b></span>(const std::shared_ptr&lt;InstalledListModel&gt; &amp;)</li>
<li class="fn"><span class="name"><b><a href="screenplay-installedlistfilter.html#resetFilter">resetFilter</a></b></span>()</li> <li class="fn"><span class="name"><b><a href="screenplay-installedlistfilter.html#resetFilter">resetFilter</a></b></span>()</li>
<li class="fn"><span class="name"><b><a href="screenplay-installedlistfilter.html#setSortOrder">setSortOrder</a></b></span>(const Qt::SortOrder)</li>
<li class="fn"><span class="name"><b><a href="screenplay-installedlistfilter.html#sortByName">sortByName</a></b></span>(const QString &amp;)</li> <li class="fn"><span class="name"><b><a href="screenplay-installedlistfilter.html#sortByName">sortByName</a></b></span>(const QString &amp;)</li>
<li class="fn"><span class="name"><b><a href="screenplay-installedlistfilter.html#sortBySearchType">sortBySearchType</a></b></span>(const ScreenPlay::SearchType::SearchType)</li>
</ul> </ul>
<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/bootstrap.bundle.min.js"></script> <script src="../js/mermaid.min.js"></script> <script>var config = {startOnLoad:true,flowchart:{useMaxWidth:true,htmlLabels:true}};mermaid.initialize(config);</script></body> <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/bootstrap.bundle.min.js"></script> <script src="../js/mermaid.min.js"></script> <script>var config = {startOnLoad:true,flowchart:{useMaxWidth:true,htmlLabels:true}};mermaid.initialize(config);</script></body>
</html> </html>

View File

@ -20,7 +20,7 @@
</div> </div>
<div class="sidebar-content" id="sidebar-content"></div></div> <div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">InstalledListFilter Class</h1> <h1 class="title">InstalledListFilter Class</h1>
<span class="small-subtitle">class <a href="screenplay.html">ScreenPlay</a>::InstalledListFilter</span> <span class="small-subtitle">class <a href="screenplay-module.html">ScreenPlay</a>::InstalledListFilter</span>
<!-- $$$InstalledListFilter-brief --> <!-- $$$InstalledListFilter-brief -->
<p>Proxy between Installed List Model and QML view to filter items. <a href="#details">More...</a></p> <p>Proxy between Installed List Model and QML view to filter items. <a href="#details">More...</a></p>
<!-- @@@InstalledListFilter --> <!-- @@@InstalledListFilter -->
@ -38,8 +38,8 @@
<h2 id="public-slots">Public Slots</h2> <h2 id="public-slots">Public Slots</h2>
<div class="table"><table class="alignedsummary"> <div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-installedlistfilter.html#resetFilter">resetFilter</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-installedlistfilter.html#resetFilter">resetFilter</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-installedlistfilter.html#setSortOrder">setSortOrder</a></b>(const Qt::SortOrder <i>sortOrder</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-installedlistfilter.html#sortByName">sortByName</a></b>(const QString &amp;<i>name</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-installedlistfilter.html#sortByName">sortByName</a></b>(const QString &amp;<i>name</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-installedlistfilter.html#sortBySearchType">sortBySearchType</a></b>(const ScreenPlay::SearchType::SearchType <i>searchType</i>)</td></tr>
</table></div> </table></div>
<a name="details"></a> <a name="details"></a>
<!-- $$$InstalledListFilter-description --> <!-- $$$InstalledListFilter-description -->
@ -58,14 +58,14 @@
<h3 class="fn" id="resetFilter"><a name="resetFilter"></a><code>[slot] </code><span class="type">void</span> InstalledListFilter::<span class="name">resetFilter</span>()</h3> <h3 class="fn" id="resetFilter"><a name="resetFilter"></a><code>[slot] </code><span class="type">void</span> InstalledListFilter::<span class="name">resetFilter</span>()</h3>
<p>Resets the filter and sorts by title.</p> <p>Resets the filter and sorts by title.</p>
<!-- @@@resetFilter --> <!-- @@@resetFilter -->
<!-- $$$setSortOrder[overload1]$$$setSortOrderconstQt::SortOrder -->
<h3 class="fn" id="setSortOrder"><a name="setSortOrder"></a><code>[slot] </code><span class="type">void</span> InstalledListFilter::<span class="name">setSortOrder</span>(const <span class="type">Qt::SortOrder</span> <i>sortOrder</i>)</h3>
<p>sets the sort order by date.</p>
<!-- @@@setSortOrder -->
<!-- $$$sortByName[overload1]$$$sortByNameconstQString& --> <!-- $$$sortByName[overload1]$$$sortByNameconstQString& -->
<h3 class="fn" id="sortByName"><a name="sortByName"></a><code>[slot] </code><span class="type">void</span> InstalledListFilter::<span class="name">sortByName</span>(const <span class="type">QString</span> &amp;<i>name</i>)</h3> <h3 class="fn" id="sortByName"><a name="sortByName"></a><code>[slot] </code><span class="type">void</span> InstalledListFilter::<span class="name">sortByName</span>(const <span class="type">QString</span> &amp;<i>name</i>)</h3>
<p>Invoked when the user uses the quicksearch at the top right of the installed page. Uses the <i>name</i> to sort by name. This name is saved in the project.json title.</p> <p>Invoked when the user uses the quicksearch at the top right of the installed page. Uses the <i>name</i> to sort by name. This name is saved in the project.json title.</p>
<!-- @@@sortByName --> <!-- @@@sortByName -->
<!-- $$$sortBySearchType[overload1]$$$sortBySearchTypeconstScreenPlay::SearchType::SearchType -->
<h3 class="fn" id="sortBySearchType"><a name="sortBySearchType"></a><code>[slot] </code><span class="type">void</span> InstalledListFilter::<span class="name">sortBySearchType</span>(const <span class="type">ScreenPlay::SearchType::SearchType</span> <i>searchType</i>)</h3>
<p>.</p>
<!-- @@@sortBySearchType -->
</div> </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/bootstrap.bundle.min.js"></script> <script src="../js/mermaid.min.js"></script> <script>var config = {startOnLoad:true,flowchart:{useMaxWidth:true,htmlLabels:true}};mermaid.initialize(config);</script></body> <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/bootstrap.bundle.min.js"></script> <script src="../js/mermaid.min.js"></script> <script>var config = {startOnLoad:true,flowchart:{useMaxWidth:true,htmlLabels:true}};mermaid.initialize(config);</script></body>
</html> </html>

View File

@ -14,7 +14,7 @@
<p>This is the complete list of members for <a href="screenplay-installedlistmodel.html">ScreenPlay::InstalledListModel</a>, including inherited members.</p> <p>This is the complete list of members for <a href="screenplay-installedlistmodel.html">ScreenPlay::InstalledListModel</a>, including inherited members.</p>
<ul> <ul>
<li class="fn"><span class="name"><b><a href="screenplay-installedlistmodel.html#InstalledListModel">InstalledListModel</a></b></span>(const std::shared_ptr&lt;GlobalVariables&gt; &amp;, QObject *)</li> <li class="fn"><span class="name"><b><a href="screenplay-installedlistmodel.html#InstalledListModel">InstalledListModel</a></b></span>(const std::shared_ptr&lt;GlobalVariables&gt; &amp;, QObject *)</li>
<li class="fn"><span class="name"><b><a href="screenplay-installedlistmodel.html#append">append</a></b></span>(const QJsonObject &amp;, const QString &amp;)</li> <li class="fn"><span class="name"><b><a href="screenplay-installedlistmodel.html#append">append</a></b></span>(const QJsonObject &amp;, const QString &amp;, const QDateTime &amp;)</li>
<li class="fn"><span class="name"><b><a href="screenplay-installedlistmodel.html#count-prop">countChanged</a></b></span>(int)</li> <li class="fn"><span class="name"><b><a href="screenplay-installedlistmodel.html#count-prop">countChanged</a></b></span>(int)</li>
<li class="fn"><span class="name"><b><a href="screenplay-installedlistmodel.html#deinstallItemAt">deinstallItemAt</a></b></span>(const int) : bool</li> <li class="fn"><span class="name"><b><a href="screenplay-installedlistmodel.html#deinstallItemAt">deinstallItemAt</a></b></span>(const int) : bool</li>
<li class="fn"><span class="name"><b><a href="screenplay-installedlistmodel.html#get">get</a></b></span>(const QString &amp;) const : QVariantMap</li> <li class="fn"><span class="name"><b><a href="screenplay-installedlistmodel.html#get">get</a></b></span>(const QString &amp;) const : QVariantMap</li>

View File

@ -22,7 +22,7 @@
</div> </div>
<div class="sidebar-content" id="sidebar-content"></div></div> <div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">InstalledListModel Class</h1> <h1 class="title">InstalledListModel Class</h1>
<span class="small-subtitle">class <a href="screenplay.html">ScreenPlay</a>::InstalledListModel</span> <span class="small-subtitle">class <a href="screenplay-module.html">ScreenPlay</a>::InstalledListModel</span>
<!-- $$$InstalledListModel-brief --> <!-- $$$InstalledListModel-brief -->
<p>Lists all installed wallpapers, widgets etc. from a given Path. <a href="#details">More...</a></p> <p>Lists all installed wallpapers, widgets etc. from a given Path. <a href="#details">More...</a></p>
<!-- @@@InstalledListModel --> <!-- @@@InstalledListModel -->
@ -47,7 +47,7 @@
<a name="public-slots"></a> <a name="public-slots"></a>
<h2 id="public-slots">Public Slots</h2> <h2 id="public-slots">Public Slots</h2>
<div class="table"><table class="alignedsummary"> <div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-installedlistmodel.html#append">append</a></b>(const QJsonObject &amp;<i>obj</i>, const QString &amp;<i>folderName</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-installedlistmodel.html#append">append</a></b>(const QJsonObject &amp;<i>obj</i>, const QString &amp;<i>folderName</i>, const QDateTime &amp;<i>lastModified</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="screenplay-installedlistmodel.html#deinstallItemAt">deinstallItemAt</a></b>(const int <i>index</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="screenplay-installedlistmodel.html#deinstallItemAt">deinstallItemAt</a></b>(const int <i>index</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QVariantMap </td><td class="memItemRight bottomAlign"><b><a href="screenplay-installedlistmodel.html#get">get</a></b>(const QString &amp;<i>folderId</i>) const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> QVariantMap </td><td class="memItemRight bottomAlign"><b><a href="screenplay-installedlistmodel.html#get">get</a></b>(const QString &amp;<i>folderId</i>) const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-installedlistmodel.html#init">init</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-installedlistmodel.html#init">init</a></b>()</td></tr>
@ -73,13 +73,13 @@
<h3 class="fn" id="InstalledListModel"><a name="InstalledListModel"></a>InstalledListModel::<span class="name">InstalledListModel</span>(const <span class="type">std::shared_ptr</span>&lt;<span class="type"><a href="screenplay-globalvariables.html">GlobalVariables</a></span>&gt; &amp;<i>globalVariables</i>, <span class="type">QObject</span> *<i>parent</i> = nullptr)</h3> <h3 class="fn" id="InstalledListModel"><a name="InstalledListModel"></a>InstalledListModel::<span class="name">InstalledListModel</span>(const <span class="type">std::shared_ptr</span>&lt;<span class="type"><a href="screenplay-globalvariables.html">GlobalVariables</a></span>&gt; &amp;<i>globalVariables</i>, <span class="type">QObject</span> *<i>parent</i> = nullptr)</h3>
<p>Constructor.</p> <p>Constructor.</p>
<!-- @@@InstalledListModel --> <!-- @@@InstalledListModel -->
<!-- $$$append[overload1]$$$appendconstQJsonObject&constQString& --> <!-- $$$append[overload1]$$$appendconstQJsonObject&constQString&constQDateTime& -->
<h3 class="fn" id="append"><a name="append"></a><code>[slot] </code><span class="type">void</span> InstalledListModel::<span class="name">append</span>(const <span class="type">QJsonObject</span> &amp;<i>obj</i>, const <span class="type">QString</span> &amp;<i>folderName</i>)</h3> <h3 class="fn" id="append"><a name="append"></a><code>[slot] </code><span class="type">void</span> InstalledListModel::<span class="name">append</span>(const <span class="type">QJsonObject</span> &amp;<i>obj</i>, const <span class="type">QString</span> &amp;<i>folderName</i>, const <span class="type">QDateTime</span> &amp;<i>lastModified</i>)</h3>
<p>.</p> <p>Append an ProjectFile to the list.</p>
<!-- @@@append --> <!-- @@@append -->
<!-- $$$deinstallItemAt[overload1]$$$deinstallItemAtconstint --> <!-- $$$deinstallItemAt[overload1]$$$deinstallItemAtconstint -->
<h3 class="fn" id="deinstallItemAt"><a name="deinstallItemAt"></a><code>[slot] </code><span class="type">bool</span> InstalledListModel::<span class="name">deinstallItemAt</span>(const <span class="type">int</span> <i>index</i>)</h3> <h3 class="fn" id="deinstallItemAt"><a name="deinstallItemAt"></a><code>[slot] </code><span class="type">bool</span> InstalledListModel::<span class="name">deinstallItemAt</span>(const <span class="type">int</span> <i>index</i>)</h3>
<p>.</p> <p>Deleted the item from the local storage and removes it from the installed list.</p>
<!-- @@@deinstallItemAt --> <!-- @@@deinstallItemAt -->
<!-- $$$get[overload1]$$$getconstQString& --> <!-- $$$get[overload1]$$$getconstQString& -->
<h3 class="fn" id="get"><a name="get"></a><code>[slot] </code><span class="type">QVariantMap</span> InstalledListModel::<span class="name">get</span>(const <span class="type">QString</span> &amp;<i>folderId</i>) const</h3> <h3 class="fn" id="get"><a name="get"></a><code>[slot] </code><span class="type">QVariantMap</span> InstalledListModel::<span class="name">get</span>(const <span class="type">QString</span> &amp;<i>folderId</i>) const</h3>
@ -91,7 +91,7 @@
<!-- @@@init --> <!-- @@@init -->
<!-- $$$loadInstalledContent[overload1]$$$loadInstalledContent --> <!-- $$$loadInstalledContent[overload1]$$$loadInstalledContent -->
<h3 class="fn" id="loadInstalledContent"><a name="loadInstalledContent"></a><code>[slot] </code><span class="type">void</span> InstalledListModel::<span class="name">loadInstalledContent</span>()</h3> <h3 class="fn" id="loadInstalledContent"><a name="loadInstalledContent"></a><code>[slot] </code><span class="type">void</span> InstalledListModel::<span class="name">loadInstalledContent</span>()</h3>
<p>.</p> <p>Loads all installed content. Skips projects.json without a &quot;type&quot; field.</p>
<!-- @@@loadInstalledContent --> <!-- @@@loadInstalledContent -->
<!-- $$$reset[overload1]$$$reset --> <!-- $$$reset[overload1]$$$reset -->
<h3 class="fn" id="reset"><a name="reset"></a><code>[slot] </code><span class="type">void</span> InstalledListModel::<span class="name">reset</span>()</h3> <h3 class="fn" id="reset"><a name="reset"></a><code>[slot] </code><span class="type">void</span> InstalledListModel::<span class="name">reset</span>()</h3>

View File

@ -0,0 +1,58 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<!-- app.cpp -->
<title>ScreenPlay</title>
<link rel="stylesheet" type="text/css" href="../css/style.css"/> <link rel="stylesheet" type="text/css" href="../css/bootstrap.min.css"/>
</head>
<body>
<div class="container-fullwidth nav sticky-top"><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 ">
<div class="sidebar">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#namespaces">Namespaces</a></li>
<li class="level1"><a href="#classes">Classes</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">ScreenPlay</h1>
<span class="subtitle"></span>
<!-- $$$ScreenPlay-brief -->
<p>Module for ScreenPlay. <a href="#details">More...</a></p>
<!-- @@@ScreenPlay -->
<a name="namespaces"></a>
<h2 id="namespaces">Namespaces</h2>
<div class="table"><table class="annotated">
<tr class="odd topAlign"><td class="tblName"><p><a href="screenplay.html">ScreenPlay</a></p></td><td class="tblDescr"><p>Namespace for ScreenPlay</p></td></tr>
</table></div>
<a name="classes"></a>
<h2 id="classes">Classes</h2>
<div class="table"><table class="annotated">
<tr class="odd topAlign"><td class="tblName"><p><a href="screenplay-app.html">ScreenPlay::App</a></p></td><td class="tblDescr"><p>Contains all members for ScreenPlay</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="screenplay-create.html">ScreenPlay::Create</a></p></td><td class="tblDescr"><p>Baseclass for creating wallapers, widgets and the corresponding wizards</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="screenplay-createimportvideo.html">ScreenPlay::CreateImportVideo</a></p></td><td class="tblDescr"><p>This class imports (copies) and creates wallaper previews</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="screenplay-globalvariables.html">ScreenPlay::GlobalVariables</a></p></td><td class="tblDescr"><p>Contains all variables that are globally needed</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="screenplay-installedlistfilter.html">ScreenPlay::InstalledListFilter</a></p></td><td class="tblDescr"><p>Proxy between Installed List Model and QML view to filter items</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="screenplay-installedlistmodel.html">ScreenPlay::InstalledListModel</a></p></td><td class="tblDescr"><p>Lists all installed wallpapers, widgets etc. from a given Path</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="screenplay-monitorlistmodel.html">ScreenPlay::MonitorListModel</a></p></td><td class="tblDescr"><p>MonitorListModel</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="screenplay-profilelistmodel.html">ScreenPlay::ProfileListModel</a></p></td><td class="tblDescr"><p>Used to save all active wallpapers and widgets position and configurations after a restart</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="screenplay-projectsettingslistmodel.html">ScreenPlay::ProjectSettingsListModel</a></p></td><td class="tblDescr"><p>Used for the dynamic loading of the properties json object inside a project.json</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="screenplay-sdkconnection.html">ScreenPlay::SDKConnection</a></p></td><td class="tblDescr"><p>Contains all connections to Wallpaper and Widgets</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="screenplay-screenplaymanager.html">ScreenPlay::ScreenPlayManager</a></p></td><td class="tblDescr"><p>Used to manage multiple ScreenPlayWallpaper and ScreenPlayWidget</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="screenplay-screenplaywallpaper.html">ScreenPlay::ScreenPlayWallpaper</a></p></td><td class="tblDescr"><p>A Single Object to manage a Wallpaper</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="screenplay-screenplaywidget.html">ScreenPlay::ScreenPlayWidget</a></p></td><td class="tblDescr"><p>A Single Object to manage a Widget</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="screenplay-settings.html">ScreenPlay::Settings</a></p></td><td class="tblDescr"><p>Global settings class for reading and writing settings</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="screenplay-util.html">ScreenPlay::Util</a></p></td><td class="tblDescr"><p>Easy to use global object to use when certain functionality is not available in QML</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="screenplay-wizards.html">ScreenPlay::Wizards</a></p></td><td class="tblDescr"><p>Baseclass for all wizards. Mostly for copying and creating project files</p></td></tr>
</table></div>
<!-- $$$ScreenPlay-description -->
<a name="details"></a>
<div class="descr">
<h2 id="details">Detailed Description</h2>
</div>
<!-- @@@ScreenPlay -->
<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/bootstrap.bundle.min.js"></script> <script src="../js/mermaid.min.js"></script> <script>var config = {startOnLoad:true,flowchart:{useMaxWidth:true,htmlLabels:true}};mermaid.initialize(config);</script></body>
</html>

View File

@ -22,7 +22,7 @@
<li class="fn"><span class="name"><b><a href="screenplay-monitorlistmodel.html#getAppIDByMonitorIndex">getAppIDByMonitorIndex</a></b></span>(const int) const : std::optional&lt;QString&gt;</li> <li class="fn"><span class="name"><b><a href="screenplay-monitorlistmodel.html#getAppIDByMonitorIndex">getAppIDByMonitorIndex</a></b></span>(const int) const : std::optional&lt;QString&gt;</li>
<li class="fn"><span class="name"><b><a href="screenplay-monitorlistmodel.html#roleNames">roleNames</a></b></span>() const : QHash&lt;int, QByteArray&gt;</li> <li class="fn"><span class="name"><b><a href="screenplay-monitorlistmodel.html#roleNames">roleNames</a></b></span>() const : QHash&lt;int, QByteArray&gt;</li>
<li class="fn"><span class="name"><b><a href="screenplay-monitorlistmodel.html#rowCount">rowCount</a></b></span>(const QModelIndex &amp;) const : int</li> <li class="fn"><span class="name"><b><a href="screenplay-monitorlistmodel.html#rowCount">rowCount</a></b></span>(const QModelIndex &amp;) const : int</li>
<li class="fn"><span class="name"><b><a href="screenplay-monitorlistmodel.html#setWallpaperActiveMonitor">setWallpaperActiveMonitor</a></b></span>(const std::shared_ptr&lt;ScreenPlayWallpaper&gt; &amp;, const QVector&lt;int&gt;)</li> <li class="fn"><span class="name"><b><a href="screenplay-monitorlistmodel.html#setWallpaperMonitor">setWallpaperMonitor</a></b></span>(const std::shared_ptr&lt;ScreenPlayWallpaper&gt; &amp;, const QVector&lt;int&gt;)</li>
</ul> </ul>
<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/bootstrap.bundle.min.js"></script> <script src="../js/mermaid.min.js"></script> <script>var config = {startOnLoad:true,flowchart:{useMaxWidth:true,htmlLabels:true}};mermaid.initialize(config);</script></body> <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/bootstrap.bundle.min.js"></script> <script src="../js/mermaid.min.js"></script> <script>var config = {startOnLoad:true,flowchart:{useMaxWidth:true,htmlLabels:true}};mermaid.initialize(config);</script></body>
</html> </html>

View File

@ -21,7 +21,7 @@
</div> </div>
<div class="sidebar-content" id="sidebar-content"></div></div> <div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">MonitorListModel Class</h1> <h1 class="title">MonitorListModel Class</h1>
<span class="small-subtitle">class <a href="screenplay.html">ScreenPlay</a>::MonitorListModel</span> <span class="small-subtitle">class <a href="screenplay-module.html">ScreenPlay</a>::MonitorListModel</span>
<!-- $$$MonitorListModel-brief --> <!-- $$$MonitorListModel-brief -->
<p>MonitorListModel. <a href="#details">More...</a></p> <p>MonitorListModel. <a href="#details">More...</a></p>
<!-- @@@MonitorListModel --> <!-- @@@MonitorListModel -->
@ -35,7 +35,7 @@
<div class="table"><table class="alignedsummary"> <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"> </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"> std::optional&lt;QString&gt; </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"> std::optional&lt;QString&gt; </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&lt;ScreenPlayWallpaper&gt; &amp;<i>wallpaper</i>, const QVector&lt;int&gt; <i>monitors</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-monitorlistmodel.html#setWallpaperMonitor">setWallpaperMonitor</a></b>(const std::shared_ptr&lt;ScreenPlayWallpaper&gt; &amp;<i>wallpaper</i>, const QVector&lt;int&gt; <i>monitors</i>)</td></tr>
</table></div> </table></div>
<a name="reimplemented-public-functions"></a> <a name="reimplemented-public-functions"></a>
<h2 id="reimplemented-public-functions">Reimplemented Public Functions</h2> <h2 id="reimplemented-public-functions">Reimplemented Public Functions</h2>
@ -103,10 +103,10 @@
<h3 class="fn" id="rowCount"><a name="rowCount"></a><code>[override virtual] </code><span class="type">int</span> MonitorListModel::<span class="name">rowCount</span>(const <span class="type">QModelIndex</span> &amp;<i>parent</i> = QModelIndex()) const</h3> <h3 class="fn" id="rowCount"><a name="rowCount"></a><code>[override virtual] </code><span class="type">int</span> MonitorListModel::<span class="name">rowCount</span>(const <span class="type">QModelIndex</span> &amp;<i>parent</i> = QModelIndex()) const</h3>
<p>Returns the amount of active monitors.</p> <p>Returns the amount of active monitors.</p>
<!-- @@@rowCount --> <!-- @@@rowCount -->
<!-- $$$setWallpaperActiveMonitor[overload1]$$$setWallpaperActiveMonitorconststd::shared_ptr<ScreenPlayWallpaper>&constQVector<int> --> <!-- $$$setWallpaperMonitor[overload1]$$$setWallpaperMonitorconststd::shared_ptr<ScreenPlayWallpaper>&constQVector<int> -->
<h3 class="fn" id="setWallpaperActiveMonitor"><a name="setWallpaperActiveMonitor"></a><span class="type">void</span> MonitorListModel::<span class="name">setWallpaperActiveMonitor</span>(const <span class="type">std::shared_ptr</span>&lt;<span class="type"><a href="screenplay-screenplaywallpaper.html">ScreenPlayWallpaper</a></span>&gt; &amp;<i>wallpaper</i>, const <span class="type">QVector</span>&lt;<span class="type">int</span>&gt; <i>monitors</i>)</h3> <h3 class="fn" id="setWallpaperMonitor"><a name="setWallpaperMonitor"></a><span class="type">void</span> MonitorListModel::<span class="name">setWallpaperMonitor</span>(const <span class="type">std::shared_ptr</span>&lt;<span class="type"><a href="screenplay-screenplaywallpaper.html">ScreenPlayWallpaper</a></span>&gt; &amp;<i>wallpaper</i>, const <span class="type">QVector</span>&lt;<span class="type">int</span>&gt; <i>monitors</i>)</h3>
<p>Sets the previewImage and appID for a list item.</p> <p>Sets a shared_ptr to the monitor list. This should be used to set and remove the shared_ptr.</p>
<!-- @@@setWallpaperActiveMonitor --> <!-- @@@setWallpaperMonitor -->
</div> </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/bootstrap.bundle.min.js"></script> <script src="../js/mermaid.min.js"></script> <script>var config = {startOnLoad:true,flowchart:{useMaxWidth:true,htmlLabels:true}};mermaid.initialize(config);</script></body> <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/bootstrap.bundle.min.js"></script> <script src="../js/mermaid.min.js"></script> <script>var config = {startOnLoad:true,flowchart:{useMaxWidth:true,htmlLabels:true}};mermaid.initialize(config);</script></body>
</html> </html>

View File

@ -20,7 +20,7 @@
</div> </div>
<div class="sidebar-content" id="sidebar-content"></div></div> <div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">ProfileListModel Class</h1> <h1 class="title">ProfileListModel Class</h1>
<span class="small-subtitle">class <a href="screenplay.html">ScreenPlay</a>::ProfileListModel</span> <span class="small-subtitle">class <a href="screenplay-module.html">ScreenPlay</a>::ProfileListModel</span>
<!-- $$$ProfileListModel-brief --> <!-- $$$ProfileListModel-brief -->
<p>Used to save all active wallpapers and widgets position and configurations after a restart. <a href="#details">More...</a></p> <p>Used to save all active wallpapers and widgets position and configurations after a restart. <a href="#details">More...</a></p>
<!-- @@@ProfileListModel --> <!-- @@@ProfileListModel -->

View File

@ -17,7 +17,6 @@
<li class="fn"><span class="name"><b><a href="screenplay-projectsettingslistmodel.html#append">append</a></b></span>(const ScreenPlay::SettingsItem &amp;&amp;)</li> <li class="fn"><span class="name"><b><a href="screenplay-projectsettingslistmodel.html#append">append</a></b></span>(const ScreenPlay::SettingsItem &amp;&amp;)</li>
<li class="fn"><span class="name"><b><a href="screenplay-projectsettingslistmodel.html#data">data</a></b></span>(const QModelIndex &amp;, int) const : QVariant</li> <li class="fn"><span class="name"><b><a href="screenplay-projectsettingslistmodel.html#data">data</a></b></span>(const QModelIndex &amp;, int) const : QVariant</li>
<li class="fn"><span class="name"><b><a href="screenplay-projectsettingslistmodel.html#getActiveSettingsJson">getActiveSettingsJson</a></b></span>() : QJsonObject</li> <li class="fn"><span class="name"><b><a href="screenplay-projectsettingslistmodel.html#getActiveSettingsJson">getActiveSettingsJson</a></b></span>() : QJsonObject</li>
<li class="fn"><span class="name"><b><a href="screenplay-projectsettingslistmodel.html#init">init</a></b></span>(const InstalledType::InstalledType &amp;, const QJsonObject &amp;)</li>
<li class="fn"><span class="name"><b><a href="screenplay-projectsettingslistmodel.html#roleNames">roleNames</a></b></span>() const : QHash&lt;int, QByteArray&gt;</li> <li class="fn"><span class="name"><b><a href="screenplay-projectsettingslistmodel.html#roleNames">roleNames</a></b></span>() const : QHash&lt;int, QByteArray&gt;</li>
<li class="fn"><span class="name"><b><a href="screenplay-projectsettingslistmodel.html#rowCount">rowCount</a></b></span>(const QModelIndex &amp;) const : int</li> <li class="fn"><span class="name"><b><a href="screenplay-projectsettingslistmodel.html#rowCount">rowCount</a></b></span>(const QModelIndex &amp;) const : int</li>
</ul> </ul>

View File

@ -21,7 +21,7 @@
</div> </div>
<div class="sidebar-content" id="sidebar-content"></div></div> <div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">ProjectSettingsListModel Class</h1> <h1 class="title">ProjectSettingsListModel Class</h1>
<span class="small-subtitle">class <a href="screenplay.html">ScreenPlay</a>::ProjectSettingsListModel</span> <span class="small-subtitle">class <a href="screenplay-module.html">ScreenPlay</a>::ProjectSettingsListModel</span>
<!-- $$$ProjectSettingsListModel-brief --> <!-- $$$ProjectSettingsListModel-brief -->
<p>ProjectSettingsListModel used for the dynamic loading of the properties json object inside a project.json. <a href="#details">More...</a></p> <p>ProjectSettingsListModel used for the dynamic loading of the properties json object inside a project.json. <a href="#details">More...</a></p>
<!-- @@@ProjectSettingsListModel --> <!-- @@@ProjectSettingsListModel -->
@ -35,7 +35,6 @@
<div class="table"><table class="alignedsummary"> <div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-projectsettingslistmodel.html#append">append</a></b>(const ScreenPlay::SettingsItem &amp;&amp;<i>item</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-projectsettingslistmodel.html#append">append</a></b>(const ScreenPlay::SettingsItem &amp;&amp;<i>item</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QJsonObject </td><td class="memItemRight bottomAlign"><b><a href="screenplay-projectsettingslistmodel.html#getActiveSettingsJson">getActiveSettingsJson</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> QJsonObject </td><td class="memItemRight bottomAlign"><b><a href="screenplay-projectsettingslistmodel.html#getActiveSettingsJson">getActiveSettingsJson</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-projectsettingslistmodel.html#init">init</a></b>(const InstalledType::InstalledType &amp;<i>type</i>, const QJsonObject &amp;<i>properties</i>)</td></tr>
</table></div> </table></div>
<a name="reimplemented-public-functions"></a> <a name="reimplemented-public-functions"></a>
<h2 id="reimplemented-public-functions">Reimplemented Public Functions</h2> <h2 id="reimplemented-public-functions">Reimplemented Public Functions</h2>
@ -95,11 +94,6 @@
<h3 class="fn" id="getActiveSettingsJson"><a name="getActiveSettingsJson"></a><span class="type">QJsonObject</span> ProjectSettingsListModel::<span class="name">getActiveSettingsJson</span>()</h3> <h3 class="fn" id="getActiveSettingsJson"><a name="getActiveSettingsJson"></a><span class="type">QJsonObject</span> ProjectSettingsListModel::<span class="name">getActiveSettingsJson</span>()</h3>
<p>ProjectSettingsListModel::getActiveSettingsJson</p> <p>ProjectSettingsListModel::getActiveSettingsJson</p>
<!-- @@@getActiveSettingsJson --> <!-- @@@getActiveSettingsJson -->
<!-- $$$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> &amp;<i>type</i>, const <span class="type">QJsonObject</span> &amp;<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</a>, make</a>, the</a>, flat</a>, list</a>, to</a>, a</a>, hierarchical</a>, json</a>, and object</a>.</p>
<!-- @@@init -->
<!-- $$$roleNames[overload1]$$$roleNames --> <!-- $$$roleNames[overload1]$$$roleNames -->
<h3 class="fn" id="roleNames"><a name="roleNames"></a><code>[override virtual] </code><span class="type">QHash</span>&lt;<span class="type">int</span>, <span class="type">QByteArray</span>&gt; ProjectSettingsListModel::<span class="name">roleNames</span>() const</h3> <h3 class="fn" id="roleNames"><a name="roleNames"></a><code>[override virtual] </code><span class="type">QHash</span>&lt;<span class="type">int</span>, <span class="type">QByteArray</span>&gt; ProjectSettingsListModel::<span class="name">roleNames</span>() const</h3>
<p>.</p> <p>.</p>

View File

@ -17,27 +17,20 @@
<li class="fn"><span class="name"><b><a href="screenplay-screenplaymanager.html#ScreenPlayManager">ScreenPlayManager</a></b></span>(QObject *)</li> <li class="fn"><span class="name"><b><a href="screenplay-screenplaymanager.html#ScreenPlayManager">ScreenPlayManager</a></b></span>(QObject *)</li>
<li class="fn"><span class="name"><b><a href="screenplay-screenplaymanager.html#activeWallpaperCounter-prop">activeWallpaperCounterChanged</a></b></span>(int)</li> <li class="fn"><span class="name"><b><a href="screenplay-screenplaymanager.html#activeWallpaperCounter-prop">activeWallpaperCounterChanged</a></b></span>(int)</li>
<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#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#closeConnection">closeConnection</a></b></span>(const QString &amp;) : bool</li>
<li class="fn"><span class="name"><b><a href="screenplay-screenplaymanager.html#closeConntectionByType">closeConntectionByType</a></b></span>(const QStringList &amp;) : 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 &amp;, const QString &amp;, const QString &amp;, const QVector&lt;int&gt; &amp;, const float, const float, const QJsonObject &amp;, 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 &amp;, const QString &amp;, const QString &amp;, const QJsonObject &amp;, const bool)</li>
<li class="fn"><span class="name"><b><a href="screenplay-screenplaymanager.html#getWallpaperByAppID">getWallpaperByAppID</a></b></span>(const QString &amp;) const : ScreenPlay::ScreenPlayWallpaper *</li> <li class="fn"><span class="name"><b><a href="screenplay-screenplaymanager.html#getWallpaperByAppID">getWallpaperByAppID</a></b></span>(const QString &amp;) const : ScreenPlay::ScreenPlayWallpaper *</li>
<li class="fn"><span class="name"><b><a href="screenplay-screenplaymanager.html#newConnection">newConnection</a></b></span>()</li> <li class="fn"><span class="name"><b><a href="screenplay-screenplaymanager.html#newConnection">newConnection</a></b></span>()</li>
<li class="fn"><span class="name"><b><a href="screenplay-screenplaymanager.html#removeAllWallpapers">removeAllWallpapers</a></b></span>()</li> <li class="fn"><span class="name"><b><a href="screenplay-screenplaymanager.html#removeAllWallpapers">removeAllWallpapers</a></b></span>() : bool</li>
<li class="fn"><span class="name"><b><a href="screenplay-screenplaymanager.html#removeAllWidgets">removeAllWidgets</a></b></span>() : bool</li>
<li class="fn"><span class="name"><b><a href="screenplay-screenplaymanager.html#requestProjectSettingsAtMonitorIndex">requestProjectSettingsAtMonitorIndex</a></b></span>(const int) : bool</li>
</ul></td><td class="topAlign"><ul> </ul></td><td class="topAlign"><ul>
<li class="fn"><span class="name"><b><a href="screenplay-screenplaymanager.html#removeAllWidgets">removeAllWidgets</a></b></span>()</li>
<li class="fn"><span class="name"><b><a href="screenplay-screenplaymanager.html#removeApp">removeApp</a></b></span>(const QString &amp;) : bool</li>
<li class="fn"><span class="name"><b><a href="screenplay-screenplaymanager.html#requestProjectSettingsAtMonitorIndex">requestProjectSettingsAtMonitorIndex</a></b></span>(const int)</li>
<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#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#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 &amp;, const QString &amp;)</li> <li class="fn"><span class="name"><b><a href="screenplay-screenplaymanager.html#setAllWallpaperValue">setAllWallpaperValue</a></b></span>(const QString &amp;, const QString &amp;) : bool</li>
<li class="fn"><span class="name"><b><a href="screenplay-screenplaymanager.html#setWallpaperValue">setWallpaperValue</a></b></span>(const QString &amp;, const QString &amp;, const QString &amp;)</li> <li class="fn"><span class="name"><b><a href="screenplay-screenplaymanager.html#setWallpaperValue">setWallpaperValue</a></b></span>(const QString &amp;, const QString &amp;, const QString &amp;) : bool</li>
<li class="fn"><span class="name"><b><a href="screenplay-screenplaymanager.html#setWallpaperValueAtMonitorIndex">setWallpaperValueAtMonitorIndex</a></b></span>(const int, const QString &amp;, const QString &amp;)</li> <li class="fn"><span class="name"><b><a href="screenplay-screenplaymanager.html#setWallpaperValueAtMonitorIndex">setWallpaperValueAtMonitorIndex</a></b></span>(const int, const QString &amp;, const QString &amp;) : bool</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#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> <li class="fn"><span class="name"><b><a href="screenplay-screenplaymanager.html#activeWidgetsCounter-prop">activeWidgetsCounter</a></b></span>() const : int</li>
<li class="fn"><span class="name"><b><a href="screenplay-screenplaymanager.html#init">init</a></b></span>(const std::shared_ptr&lt;GlobalVariables&gt; &amp;, const std::shared_ptr&lt;MonitorListModel&gt; &amp;, const int &amp;, const std::shared_ptr&lt;Settings&gt; &amp;)</li> <li class="fn"><span class="name"><b><a href="screenplay-screenplaymanager.html#init">init</a></b></span>(const std::shared_ptr&lt;GlobalVariables&gt; &amp;, const std::shared_ptr&lt;MonitorListModel&gt; &amp;, const std::shared_ptr&lt;Settings&gt; &amp;)</li>
</ul> </ul>
</td></tr> </td></tr>
</table></div> </table></div>

View File

@ -21,7 +21,7 @@
</div> </div>
<div class="sidebar-content" id="sidebar-content"></div></div> <div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">ScreenPlayManager Class</h1> <h1 class="title">ScreenPlayManager Class</h1>
<span class="small-subtitle">class <a href="screenplay.html">ScreenPlay</a>::ScreenPlayManager</span> <span class="small-subtitle">class <a href="screenplay-module.html">ScreenPlay</a>::ScreenPlayManager</span>
<!-- $$$ScreenPlayManager-brief --> <!-- $$$ScreenPlayManager-brief -->
<p>The ScreenPlayManager is used to manage multiple <a href="screenplay-screenplaywallpaper.html">ScreenPlayWallpaper</a> and <a href="screenplay-screenplaywidget.html">ScreenPlayWidget</a>. <a href="#details">More...</a></p> <p>The ScreenPlayManager is used to manage multiple <a href="screenplay-screenplaywallpaper.html">ScreenPlayWallpaper</a> and <a href="screenplay-screenplaywidget.html">ScreenPlayWidget</a>. <a href="#details">More...</a></p>
<!-- @@@ScreenPlayManager --> <!-- @@@ScreenPlayManager -->
@ -36,28 +36,21 @@
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaymanager.html#ScreenPlayManager">ScreenPlayManager</a></b>(QObject *<i>parent</i> = nullptr)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaymanager.html#ScreenPlayManager">ScreenPlayManager</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-screenplaymanager.html#activeWallpaperCounter-prop">activeWallpaperCounter</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaymanager.html#activeWallpaperCounter-prop">activeWallpaperCounter</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaymanager.html#activeWidgetsCounter-prop">activeWidgetsCounter</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaymanager.html#activeWidgetsCounter-prop">activeWidgetsCounter</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaymanager.html#init">init</a></b>(const std::shared_ptr&lt;GlobalVariables&gt; &amp;<i>globalVariables</i>, const std::shared_ptr&lt;MonitorListModel&gt; &amp;<i>mlm</i>, const int &amp;<i>telemetry</i>, const std::shared_ptr&lt;Settings&gt; &amp;<i>settings</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaymanager.html#init">init</a></b>(const std::shared_ptr&lt;GlobalVariables&gt; &amp;<i>globalVariables</i>, const std::shared_ptr&lt;MonitorListModel&gt; &amp;<i>mlm</i>, const std::shared_ptr&lt;Settings&gt; &amp;<i>settings</i>)</td></tr>
</table></div> </table></div>
<a name="public-slots"></a> <a name="public-slots"></a>
<h2 id="public-slots">Public Slots</h2> <h2 id="public-slots">Public Slots</h2>
<div class="table"><table class="alignedsummary"> <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"> bool </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaymanager.html#closeConnection">closeConnection</a></b>(const QString &amp;<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 &amp;<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 &amp;<i>absoluteStoragePath</i>, const QString &amp;<i>previewImage</i>, const QString &amp;<i>file</i>, const QVector&lt;int&gt; &amp;<i>monitorIndex</i>, const float <i>volume</i>, const float <i>playbackRate</i>, const QJsonObject &amp;<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 &amp;<i>position</i>, const QString &amp;<i>absoluteStoragePath</i>, const QString &amp;<i>previewImage</i>, const QJsonObject &amp;<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 &amp;<i>appID</i>) const</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 &amp;<i>appID</i>) const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaymanager.html#newConnection">newConnection</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaymanager.html#newConnection">newConnection</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaymanager.html#removeAllWallpapers">removeAllWallpapers</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaymanager.html#removeAllWallpapers">removeAllWallpapers</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaymanager.html#removeAllWidgets">removeAllWidgets</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaymanager.html#removeAllWidgets">removeAllWidgets</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaymanager.html#removeApp">removeApp</a></b>(const QString &amp;<i>appID</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaymanager.html#requestProjectSettingsAtMonitorIndex">requestProjectSettingsAtMonitorIndex</a></b>(const int <i>index</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaymanager.html#requestProjectSettingsAtMonitorIndex">requestProjectSettingsAtMonitorIndex</a></b>(const int <i>index</i>)</td></tr>
<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#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#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 &amp;<i>key</i>, const QString &amp;<i>value</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaymanager.html#setAllWallpaperValue">setAllWallpaperValue</a></b>(const QString &amp;<i>key</i>, const QString &amp;<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 &amp;<i>appID</i>, const QString &amp;<i>key</i>, const QString &amp;<i>value</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaymanager.html#setWallpaperValue">setWallpaperValue</a></b>(const QString &amp;<i>appID</i>, const QString &amp;<i>key</i>, const QString &amp;<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 &amp;<i>key</i>, const QString &amp;<i>value</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaymanager.html#setWallpaperValueAtMonitorIndex">setWallpaperValueAtMonitorIndex</a></b>(const int <i>index</i>, const QString &amp;<i>key</i>, const QString &amp;<i>value</i>)</td></tr>
</table></div> </table></div>
<a name="signals"></a> <a name="signals"></a>
<h2 id="signals">Signals</h2> <h2 id="signals">Signals</h2>
@ -69,89 +62,50 @@
<!-- $$$ScreenPlayManager-description --> <!-- $$$ScreenPlayManager-description -->
<div class="descr"> <div class="descr">
<h2 id="details">Detailed Description</h2> <h2 id="details">Detailed Description</h2>
<p>Creates and (indirectly) destroys Wallpaper and Widgets via opening and closing QLocalPipe connectons of the ScreenPlaySDK. Also responsible to set the current active wallpaper to the monitorListModel.</p> <p>Creates and (indirectly) destroys Wallpaper and Widgets via opening and closing QLocalPipe connectons of the <a href="screenplaysdk-module.html">ScreenPlaySDK</a>. Also responsible to set the current active wallpaper to the monitorListModel.</p>
</div> </div>
<!-- @@@ScreenPlayManager --> <!-- @@@ScreenPlayManager -->
<div class="func"> <div class="func">
<h2>Member Function Documentation</h2> <h2>Member Function Documentation</h2>
<!-- $$$ScreenPlayManager[overload1]$$$ScreenPlayManagerQObject* --> <!-- $$$ScreenPlayManager[overload1]$$$ScreenPlayManagerQObject* -->
<h3 class="fn" id="ScreenPlayManager"><a name="ScreenPlayManager"></a>ScreenPlayManager::<span class="name">ScreenPlayManager</span>(<span class="type">QObject</span> *<i>parent</i> = nullptr)</h3> <h3 class="fn" id="ScreenPlayManager"><a name="ScreenPlayManager"></a>ScreenPlayManager::<span class="name">ScreenPlayManager</span>(<span class="type">QObject</span> *<i>parent</i> = nullptr)</h3>
<p>Constructor that checks if another <a href="screenplay.html">ScreenPlay</a> instance is running via a localsocket. Starts a save timer to limit the amount of times to save. This is used for limiting slider small value save spam.</p> <p>Constructor that checks if another <a href="screenplay-module.html">ScreenPlay</a> instance is running via a localsocket. Starts a save timer to limit the amount of times to save. This is used for limiting slider small value save spam.</p>
<!-- @@@ScreenPlayManager --> <!-- @@@ScreenPlayManager -->
<!-- $$$closeAllWallpapers[overload1]$$$closeAllWallpapers -->
<h3 class="fn" id="closeAllWallpapers"><a name="closeAllWallpapers"></a><code>[slot] </code><span class="type">void</span> ScreenPlayManager::<span class="name">closeAllWallpapers</span>()</h3>
<p>Closes all wallpaper connection with the following type:</p>
<ul>
<li>videoWallpaper</li>
<li>qmlWallpaper</li>
<li>htmlWallpaper</li>
<li>godotWallpaper</li>
</ul>
<!-- @@@closeAllWallpapers -->
<!-- $$$closeAllWidgets[overload1]$$$closeAllWidgets -->
<h3 class="fn" id="closeAllWidgets"><a name="closeAllWidgets"></a><code>[slot] </code><span class="type">void</span> ScreenPlayManager::<span class="name">closeAllWidgets</span>()</h3>
<p>Closes all widgets connection with the following type:</p>
<ul>
<li>qmlWidget</li>
<li>htmlWidget</li>
<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> &amp;<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">bool</span> ScreenPlayManager::<span class="name">closeConntectionByType</span>(const <span class="type">QStringList</span> &amp;<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 -->
<!-- $$$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> &amp;<i>absoluteStoragePath</i>, const <span class="type">QString</span> &amp;<i>previewImage</i>, const <span class="type">QString</span> &amp;<i>file</i>, const <span class="type">QVector</span>&lt;<span class="type">int</span>&gt; &amp;<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> &amp;<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>
<!-- @@@createWallpaper -->
<!-- $$$createWidget[overload1]$$$createWidgetconstScreenPlay::InstalledType::InstalledTypeconstQPoint&constQString&constQString&constQJsonObject&constbool -->
<h3 class="fn" id="createWidget"><a name="createWidget"></a><code>[slot] </code><span class="type">void</span> ScreenPlayManager::<span class="name">createWidget</span>(const <span class="type">ScreenPlay::InstalledType::InstalledType</span> <i>type</i>, const <span class="type">QPoint</span> &amp;<i>position</i>, const <span class="type">QString</span> &amp;<i>absoluteStoragePath</i>, const <span class="type">QString</span> &amp;<i>previewImage</i>, const <span class="type">QJsonObject</span> &amp;<i>properties</i>, const <span class="type">bool</span> <i>saveToProfilesConfigFile</i>)</h3>
<p>Creates a <a href="screenplay-screenplaywidget.html">ScreenPlayWidget</a> object via a <i>absoluteStoragePath</i> and a <i>preview</i> image (relative path).</p>
<!-- @@@createWidget -->
<!-- $$$getWallpaperByAppID[overload1]$$$getWallpaperByAppIDconstQString& --> <!-- $$$getWallpaperByAppID[overload1]$$$getWallpaperByAppIDconstQString& -->
<h3 class="fn" id="getWallpaperByAppID"><a name="getWallpaperByAppID"></a><code>[slot] </code><span class="type"><a href="screenplay-screenplaywallpaper.html">ScreenPlay::ScreenPlayWallpaper</a></span> *ScreenPlayManager::<span class="name">getWallpaperByAppID</span>(const <span class="type">QString</span> &amp;<i>appID</i>) const</h3> <h3 class="fn" id="getWallpaperByAppID"><a name="getWallpaperByAppID"></a><code>[slot] </code><span class="type"><a href="screenplay-screenplaywallpaper.html">ScreenPlay::ScreenPlayWallpaper</a></span> *ScreenPlayManager::<span class="name">getWallpaperByAppID</span>(const <span class="type">QString</span> &amp;<i>appID</i>) const</h3>
<p>Returns <code>a</code> <a href="screenplay-screenplaywallpaper.html">ScreenPlayWallpaper</a> if successful, otherwhise <code>std::nullopt</code>.</p> <p>Returns <code>a</code> <a href="screenplay-screenplaywallpaper.html">ScreenPlayWallpaper</a> if successful, otherwhise <code>std::nullopt</code>. This function is only used in QML.</p>
<!-- @@@getWallpaperByAppID --> <!-- @@@getWallpaperByAppID -->
<!-- $$$newConnection[overload1]$$$newConnection --> <!-- $$$newConnection[overload1]$$$newConnection -->
<h3 class="fn" id="newConnection"><a name="newConnection"></a><code>[slot] </code><span class="type">void</span> ScreenPlayManager::<span class="name">newConnection</span>()</h3> <h3 class="fn" id="newConnection"><a name="newConnection"></a><code>[slot] </code><span class="type">void</span> ScreenPlayManager::<span class="name">newConnection</span>()</h3>
<p>Appends a new <a href="screenplay-sdkconnection.html">SDKConnection</a> object shared_ptr to the m_clients list.</p> <p>Appends a new <a href="screenplay-sdkconnection.html">SDKConnection</a> object shared_ptr to the m_clients list.</p>
<!-- @@@newConnection --> <!-- @@@newConnection -->
<!-- $$$removeAllWallpapers[overload1]$$$removeAllWallpapers --> <!-- $$$removeAllWallpapers[overload1]$$$removeAllWallpapers -->
<h3 class="fn" id="removeAllWallpapers"><a name="removeAllWallpapers"></a><code>[slot] </code><span class="type">void</span> ScreenPlayManager::<span class="name">removeAllWallpapers</span>()</h3> <h3 class="fn" id="removeAllWallpapers"><a name="removeAllWallpapers"></a><code>[slot] </code><span class="type">bool</span> ScreenPlayManager::<span class="name">removeAllWallpapers</span>()</h3>
<p>Removes all wallpaper entries in the profiles.json. This method will likely be removed when using nlohmann/json in the future.</p> <p>Removes all wallpaper entries in the profiles.json.</p>
<!-- @@@removeAllWallpapers --> <!-- @@@removeAllWallpapers -->
<!-- $$$removeAllWidgets[overload1]$$$removeAllWidgets --> <!-- $$$removeAllWidgets[overload1]$$$removeAllWidgets -->
<h3 class="fn" id="removeAllWidgets"><a name="removeAllWidgets"></a><code>[slot] </code><span class="type">void</span> ScreenPlayManager::<span class="name">removeAllWidgets</span>()</h3> <h3 class="fn" id="removeAllWidgets"><a name="removeAllWidgets"></a><code>[slot] </code><span class="type">bool</span> ScreenPlayManager::<span class="name">removeAllWidgets</span>()</h3>
<p>Removes all widgets and resets the activeWidgetCounter to 0.</p> <p>Removes all widgets and resets the activeWidgetCounter to 0.</p>
<!-- @@@removeAllWidgets --> <!-- @@@removeAllWidgets -->
<!-- $$$removeApp[overload1]$$$removeAppconstQString& -->
<h3 class="fn" id="removeApp"><a name="removeApp"></a><code>[slot] </code><span class="type">bool</span> ScreenPlayManager::<span class="name">removeApp</span>(const <span class="type">QString</span> &amp;<i>appID</i>)</h3>
<p>Disconnects the connection, remove</p>
<!-- @@@removeApp -->
<!-- $$$requestProjectSettingsAtMonitorIndex[overload1]$$$requestProjectSettingsAtMonitorIndexconstint --> <!-- $$$requestProjectSettingsAtMonitorIndex[overload1]$$$requestProjectSettingsAtMonitorIndexconstint -->
<h3 class="fn" id="requestProjectSettingsAtMonitorIndex"><a name="requestProjectSettingsAtMonitorIndex"></a><code>[slot] </code><span class="type">void</span> ScreenPlayManager::<span class="name">requestProjectSettingsAtMonitorIndex</span>(const <span class="type">int</span> <i>index</i>)</h3> <h3 class="fn" id="requestProjectSettingsAtMonitorIndex"><a name="requestProjectSettingsAtMonitorIndex"></a><code>[slot] </code><span class="type">bool</span> ScreenPlayManager::<span class="name">requestProjectSettingsAtMonitorIndex</span>(const <span class="type">int</span> <i>index</i>)</h3>
<p>Request a spesific json profile to display in the active wallpaper popup on the right.</p> <p>Request a spesific json profile to display in the active wallpaper popup on the right.</p>
<!-- @@@requestProjectSettingsAtMonitorIndex --> <!-- @@@requestProjectSettingsAtMonitorIndex -->
<!-- $$$setAllWallpaperValue[overload1]$$$setAllWallpaperValueconstQString&constQString& --> <!-- $$$setAllWallpaperValue[overload1]$$$setAllWallpaperValueconstQString&constQString& -->
<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> &amp;<i>key</i>, const <span class="type">QString</span> &amp;<i>value</i>)</h3> <h3 class="fn" id="setAllWallpaperValue"><a name="setAllWallpaperValue"></a><code>[slot] </code><span class="type">bool</span> ScreenPlayManager::<span class="name">setAllWallpaperValue</span>(const <span class="type">QString</span> &amp;<i>key</i>, const <span class="type">QString</span> &amp;<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> <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 --> <!-- @@@setAllWallpaperValue -->
<!-- $$$setWallpaperValue[overload1]$$$setWallpaperValueconstQString&constQString&constQString& --> <!-- $$$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> &amp;<i>appID</i>, const <span class="type">QString</span> &amp;<i>key</i>, const <span class="type">QString</span> &amp;<i>value</i>)</h3> <h3 class="fn" id="setWallpaperValue"><a name="setWallpaperValue"></a><code>[slot] </code><span class="type">bool</span> ScreenPlayManager::<span class="name">setWallpaperValue</span>(const <span class="type">QString</span> &amp;<i>appID</i>, const <span class="type">QString</span> &amp;<i>key</i>, const <span class="type">QString</span> &amp;<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> <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 --> <!-- @@@setWallpaperValue -->
<!-- $$$setWallpaperValueAtMonitorIndex[overload1]$$$setWallpaperValueAtMonitorIndexconstintconstQString&constQString& --> <!-- $$$setWallpaperValueAtMonitorIndex[overload1]$$$setWallpaperValueAtMonitorIndexconstintconstQString&constQString& -->
<h3 class="fn" id="setWallpaperValueAtMonitorIndex"><a name="setWallpaperValueAtMonitorIndex"></a><code>[slot] </code><span class="type">void</span> ScreenPlayManager::<span class="name">setWallpaperValueAtMonitorIndex</span>(const <span class="type">int</span> <i>index</i>, const <span class="type">QString</span> &amp;<i>key</i>, const <span class="type">QString</span> &amp;<i>value</i>)</h3> <h3 class="fn" id="setWallpaperValueAtMonitorIndex"><a name="setWallpaperValueAtMonitorIndex"></a><code>[slot] </code><span class="type">bool</span> ScreenPlayManager::<span class="name">setWallpaperValueAtMonitorIndex</span>(const <span class="type">int</span> <i>index</i>, const <span class="type">QString</span> &amp;<i>key</i>, const <span class="type">QString</span> &amp;<i>value</i>)</h3>
<p>Set a wallpaper <i>value</i> at a given <i>index</i> and <i>key</i>.</p> <p>Set a wallpaper <i>value</i> at a given <i>index</i> and <i>key</i>.</p>
<!-- @@@setWallpaperValueAtMonitorIndex --> <!-- @@@setWallpaperValueAtMonitorIndex -->
<!-- $$$init[overload1]$$$initconststd::shared_ptr<GlobalVariables>&conststd::shared_ptr<MonitorListModel>&constint&conststd::shared_ptr<Settings>& --> <!-- $$$init[overload1]$$$initconststd::shared_ptr<GlobalVariables>&conststd::shared_ptr<MonitorListModel>&conststd::shared_ptr<Settings>& -->
<h3 class="fn" id="init"><a name="init"></a><span class="type">void</span> ScreenPlayManager::<span class="name">init</span>(const <span class="type">std::shared_ptr</span>&lt;<span class="type"><a href="screenplay-globalvariables.html">GlobalVariables</a></span>&gt; &amp;<i>globalVariables</i>, const <span class="type">std::shared_ptr</span>&lt;<span class="type"><a href="screenplay-monitorlistmodel.html">MonitorListModel</a></span>&gt; &amp;<i>mlm</i>, const <span class="type">int</span> &amp;<i>telemetry</i>, const <span class="type">std::shared_ptr</span>&lt;<span class="type"><a href="screenplay-settings.html">Settings</a></span>&gt; &amp;<i>settings</i>)</h3> <h3 class="fn" id="init"><a name="init"></a><span class="type">void</span> ScreenPlayManager::<span class="name">init</span>(const <span class="type">std::shared_ptr</span>&lt;<span class="type"><a href="screenplay-globalvariables.html">GlobalVariables</a></span>&gt; &amp;<i>globalVariables</i>, const <span class="type">std::shared_ptr</span>&lt;<span class="type"><a href="screenplay-monitorlistmodel.html">MonitorListModel</a></span>&gt; &amp;<i>mlm</i>, const <span class="type">std::shared_ptr</span>&lt;<span class="type"><a href="screenplay-settings.html">Settings</a></span>&gt; &amp;<i>settings</i>)</h3>
<p>Inits this class instead of init in the constructor. This is because we need to check first if another <a href="screenplay.html">ScreenPlay</a> instance is running. If it is not the case we call this function.</p> <p>Inits this class instead of init in the constructor. This is because we need to check first if another <a href="screenplay-module.html">ScreenPlay</a> instance is running. If it is not the case we call this function.</p>
<!-- @@@init --> <!-- @@@init -->
</div> </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/bootstrap.bundle.min.js"></script> <script src="../js/mermaid.min.js"></script> <script>var config = {startOnLoad:true,flowchart:{useMaxWidth:true,htmlLabels:true}};mermaid.initialize(config);</script></body> <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/bootstrap.bundle.min.js"></script> <script src="../js/mermaid.min.js"></script> <script>var config = {startOnLoad:true,flowchart:{useMaxWidth:true,htmlLabels:true}};mermaid.initialize(config);</script></body>

View File

@ -14,11 +14,10 @@
<p>This is the complete list of members for <a href="screenplay-screenplaywallpaper.html">ScreenPlay::ScreenPlayWallpaper</a>, including inherited members.</p> <p>This is the complete list of members for <a href="screenplay-screenplaywallpaper.html">ScreenPlay::ScreenPlayWallpaper</a>, including inherited members.</p>
<div class="table"><table class="propsummary"> <div class="table"><table class="propsummary">
<tr><td class="topAlign"><ul> <tr><td class="topAlign"><ul>
<li class="fn"><span class="name"><b><a href="screenplay-screenplaywallpaper.html#ScreenPlayWallpaper-1">ScreenPlayWallpaper</a></b></span>(const QVector&lt;int&gt; &amp;, const std::shared_ptr&lt;GlobalVariables&gt; &amp;, const QString &amp;, const QString &amp;, const QString &amp;, const QString &amp;, const float, const float, const FillMode::FillMode, const InstalledType::InstalledType, const QJsonObject &amp;, const bool, QObject *)</li>
<li class="fn"><span class="name"><b><a href="screenplay-screenplaywallpaper.html#absolutePath-prop">absolutePathChanged</a></b></span>(QString)</li> <li class="fn"><span class="name"><b><a href="screenplay-screenplaywallpaper.html#absolutePath-prop">absolutePathChanged</a></b></span>(QString)</li>
<li class="fn"><span class="name"><b><a href="screenplay-screenplaywallpaper.html#appID-prop">appIDChanged</a></b></span>(QString)</li> <li class="fn"><span class="name"><b><a href="screenplay-screenplaywallpaper.html#appID-prop">appIDChanged</a></b></span>(QString)</li>
<li class="fn"><span class="name"><b><a href="screenplay-screenplaywallpaper.html#file-prop">fileChanged</a></b></span>(QString)</li> <li class="fn"><span class="name"><b><a href="screenplay-screenplaywallpaper.html#file-prop">fileChanged</a></b></span>(QString)</li>
<li class="fn"><span class="name"><b><a href="screenplay-screenplaywallpaper.html#fillMode-prop">fillModeChanged</a></b></span>(FillMode::FillMode)</li> <li class="fn"><span class="name"><b><a href="screenplay-screenplaywallpaper.html#fillMode-prop">fillModeChanged</a></b></span>(int)</li>
<li class="fn"><span class="name"><b><a href="screenplay-screenplaywallpaper.html#isLooping-prop">isLoopingChanged</a></b></span>(bool)</li> <li class="fn"><span class="name"><b><a href="screenplay-screenplaywallpaper.html#isLooping-prop">isLoopingChanged</a></b></span>(bool)</li>
<li class="fn"><span class="name"><b><a href="screenplay-screenplaywallpaper.html#playbackRate-prop">playbackRateChanged</a></b></span>(float)</li> <li class="fn"><span class="name"><b><a href="screenplay-screenplaywallpaper.html#playbackRate-prop">playbackRateChanged</a></b></span>(float)</li>
<li class="fn"><span class="name"><b><a href="screenplay-screenplaywallpaper.html#previewImage-prop">previewImageChanged</a></b></span>(QString)</li> <li class="fn"><span class="name"><b><a href="screenplay-screenplaywallpaper.html#previewImage-prop">previewImageChanged</a></b></span>(QString)</li>
@ -28,29 +27,29 @@
<li class="fn"><span class="name"><b><a href="screenplay-screenplaywallpaper.html#absolutePath-prop">setAbsolutePath</a></b></span>(QString)</li> <li class="fn"><span class="name"><b><a href="screenplay-screenplaywallpaper.html#absolutePath-prop">setAbsolutePath</a></b></span>(QString)</li>
<li class="fn"><span class="name"><b><a href="screenplay-screenplaywallpaper.html#appID-prop">setAppID</a></b></span>(QString)</li> <li class="fn"><span class="name"><b><a href="screenplay-screenplaywallpaper.html#appID-prop">setAppID</a></b></span>(QString)</li>
<li class="fn"><span class="name"><b><a href="screenplay-screenplaywallpaper.html#file-prop">setFile</a></b></span>(QString)</li> <li class="fn"><span class="name"><b><a href="screenplay-screenplaywallpaper.html#file-prop">setFile</a></b></span>(QString)</li>
<li class="fn"><span class="name"><b><a href="screenplay-screenplaywallpaper.html#fillMode-prop">setFillMode</a></b></span>(FillMode::FillMode)</li> <li class="fn"><span class="name"><b><a href="screenplay-screenplaywallpaper.html#fillMode-prop">setFillMode</a></b></span>(int)</li>
<li class="fn"><span class="name"><b><a href="screenplay-screenplaywallpaper.html#isLooping-prop">setIsLooping</a></b></span>(bool)</li> <li class="fn"><span class="name"><b><a href="screenplay-screenplaywallpaper.html#isLooping-prop">setIsLooping</a></b></span>(bool)</li>
<li class="fn"><span class="name"><b><a href="screenplay-screenplaywallpaper.html#playbackRate-prop">setPlaybackRate</a></b></span>(float)</li> <li class="fn"><span class="name"><b><a href="screenplay-screenplaywallpaper.html#playbackRate-prop">setPlaybackRate</a></b></span>(float)</li>
<li class="fn"><span class="name"><b><a href="screenplay-screenplaywallpaper.html#previewImage-prop">setPreviewImage</a></b></span>(QString)</li> <li class="fn"><span class="name"><b><a href="screenplay-screenplaywallpaper.html#previewImage-prop">setPreviewImage</a></b></span>(QString)</li>
<li class="fn"><span class="name"><b><a href="screenplay-screenplaywallpaper.html#screenNumber-prop">setScreenNumber</a></b></span>(QVector&lt;int&gt;)</li> <li class="fn"><span class="name"><b><a href="screenplay-screenplaywallpaper.html#screenNumber-prop">setScreenNumber</a></b></span>(QVector&lt;int&gt;)</li>
</ul></td><td class="topAlign"><ul> </ul></td><td class="topAlign"><ul>
<li class="fn"><span class="name"><b><a href="screenplay-screenplaywallpaper.html#type-prop">setType</a></b></span>(InstalledType::InstalledType)</li> <li class="fn"><span class="name"><b><a href="screenplay-screenplaywallpaper.html#type-prop">setType</a></b></span>(int)</li>
<li class="fn"><span class="name"><b><a href="screenplay-screenplaywallpaper.html#volume-prop">setVolume</a></b></span>(float)</li> <li class="fn"><span class="name"><b><a href="screenplay-screenplaywallpaper.html#volume-prop">setVolume</a></b></span>(float)</li>
<li class="fn"><span class="name"><b><a href="screenplay-screenplaywallpaper.html#setWallpaperValue">setWallpaperValue</a></b></span>(const QString &amp;, const QString &amp;, const bool)</li> <li class="fn"><span class="name"><b><a href="screenplay-screenplaywallpaper.html#setWallpaperValue">setWallpaperValue</a></b></span>(const QString &amp;, const QString &amp;, const bool) : bool</li>
<li class="fn"><span class="name"><b><a href="screenplay-screenplaywallpaper.html#type-prop">typeChanged</a></b></span>(InstalledType::InstalledType)</li> <li class="fn"><span class="name"><b><a href="screenplay-screenplaywallpaper.html#type-prop">typeChanged</a></b></span>(int)</li>
<li class="fn"><span class="name"><b><a href="screenplay-screenplaywallpaper.html#volume-prop">volumeChanged</a></b></span>(float)</li> <li class="fn"><span class="name"><b><a href="screenplay-screenplaywallpaper.html#volume-prop">volumeChanged</a></b></span>(float)</li>
<li class="fn"><span class="name"><b><a href="screenplay-screenplaywallpaper.html#dtor.ScreenPlayWallpaper">~ScreenPlayWallpaper</a></b></span>()</li>
<li class="fn"><span class="name"><b><a href="screenplay-screenplaywallpaper.html#absolutePath-prop">absolutePath</a></b></span>() const : QString</li> <li class="fn"><span class="name"><b><a href="screenplay-screenplaywallpaper.html#absolutePath-prop">absolutePath</a></b></span>() const : QString</li>
<li class="fn"><span class="name"><b><a href="screenplay-screenplaywallpaper.html#appID-prop">appID</a></b></span>() const : QString</li> <li class="fn"><span class="name"><b><a href="screenplay-screenplaywallpaper.html#appID-prop">appID</a></b></span>() const : QString</li>
<li class="fn"><span class="name"><b><a href="screenplay-screenplaywallpaper.html#file-prop">file</a></b></span>() const : QString</li> <li class="fn"><span class="name"><b><a href="screenplay-screenplaywallpaper.html#file-prop">file</a></b></span>() const : QString</li>
<li class="fn"><span class="name"><b><a href="screenplay-screenplaywallpaper.html#fillMode-prop">fillMode</a></b></span>() const : FillMode::FillMode</li> <li class="fn"><span class="name"><b><a href="screenplay-screenplaywallpaper.html#fillMode-prop">fillMode</a></b></span>() const : int</li>
<li class="fn"><span class="name"><b><a href="screenplay-screenplaywallpaper.html#getActiveSettingsJson">getActiveSettingsJson</a></b></span>() : QJsonObject</li> <li class="fn"><span class="name"><b><a href="screenplay-screenplaywallpaper.html#getActiveSettingsJson">getActiveSettingsJson</a></b></span>() : QJsonObject</li>
<li class="fn"><span class="name"><b><a href="screenplay-screenplaywallpaper.html#isLooping-prop">isLooping</a></b></span>() const : bool</li> <li class="fn"><span class="name"><b><a href="screenplay-screenplaywallpaper.html#isLooping-prop">isLooping</a></b></span>() const : bool</li>
<li class="fn"><span class="name"><b><a href="screenplay-screenplaywallpaper.html#playbackRate-prop">playbackRate</a></b></span>() const : float</li> <li class="fn"><span class="name"><b><a href="screenplay-screenplaywallpaper.html#playbackRate-prop">playbackRate</a></b></span>() const : float</li>
<li class="fn"><span class="name"><b><a href="screenplay-screenplaywallpaper.html#previewImage-prop">previewImage</a></b></span>() const : QString</li> <li class="fn"><span class="name"><b><a href="screenplay-screenplaywallpaper.html#previewImage-prop">previewImage</a></b></span>() const : QString</li>
<li class="fn"><span class="name"><b><a href="screenplay-screenplaywallpaper.html#replace">replace</a></b></span>(const QString &amp;, const QString &amp;, const QString &amp;, const float, const FillMode::FillMode, const InstalledType::InstalledType, const bool)</li>
<li class="fn"><span class="name"><b><a href="screenplay-screenplaywallpaper.html#screenNumber-prop">screenNumber</a></b></span>() const : QVector&lt;int&gt;</li> <li class="fn"><span class="name"><b><a href="screenplay-screenplaywallpaper.html#screenNumber-prop">screenNumber</a></b></span>() const : QVector&lt;int&gt;</li>
<li class="fn"><span class="name"><b><a href="screenplay-screenplaywallpaper.html#setSDKConnection">setSDKConnection</a></b></span>(const std::shared_ptr&lt;SDKConnection&gt; &amp;)</li> <li class="fn"><span class="name"><b><a href="screenplay-screenplaywallpaper.html#setSDKConnection">setSDKConnection</a></b></span>(std::unique_ptr&lt;SDKConnection&gt;)</li>
<li class="fn"><span class="name"><b><a href="screenplay-screenplaywallpaper.html#type-prop">type</a></b></span>() const : InstalledType::InstalledType</li> <li class="fn"><span class="name"><b><a href="screenplay-screenplaywallpaper.html#type-prop">type</a></b></span>() const : int</li>
<li class="fn"><span class="name"><b><a href="screenplay-screenplaywallpaper.html#volume-prop">volume</a></b></span>() const : float</li> <li class="fn"><span class="name"><b><a href="screenplay-screenplaywallpaper.html#volume-prop">volume</a></b></span>() const : float</li>
</ul> </ul>
</td></tr> </td></tr>

View File

@ -21,7 +21,7 @@
</div> </div>
<div class="sidebar-content" id="sidebar-content"></div></div> <div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">ScreenPlayWallpaper Class</h1> <h1 class="title">ScreenPlayWallpaper Class</h1>
<span class="small-subtitle">class <a href="screenplay.html">ScreenPlay</a>::ScreenPlayWallpaper</span> <span class="small-subtitle">class <a href="screenplay-module.html">ScreenPlay</a>::ScreenPlayWallpaper</span>
<!-- $$$ScreenPlayWallpaper-brief --> <!-- $$$ScreenPlayWallpaper-brief -->
<p>A Single Object to manage a Wallpaper. <a href="#details">More...</a></p> <p>A Single Object to manage a Wallpaper. <a href="#details">More...</a></p>
<!-- @@@ScreenPlayWallpaper --> <!-- @@@ScreenPlayWallpaper -->
@ -33,19 +33,18 @@
<a name="public-functions"></a> <a name="public-functions"></a>
<h2 id="public-functions">Public Functions</h2> <h2 id="public-functions">Public Functions</h2>
<div class="table"><table class="alignedsummary"> <div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywallpaper.html#ScreenPlayWallpaper-1">ScreenPlayWallpaper</a></b>(const QVector&lt;int&gt; &amp;<i>screenNumber</i>, const std::shared_ptr&lt;GlobalVariables&gt; &amp;<i>globalVariables</i>, const QString &amp;<i>appID</i>, const QString &amp;<i>absolutePath</i>, const QString &amp;<i>previewImage</i>, const QString &amp;<i>file</i>, const float <i>volume</i>, const float <i>playbackRate</i>, const FillMode::FillMode <i>fillMode</i>, const InstalledType::InstalledType <i>type</i>, const QJsonObject &amp;<i>properties</i>, const bool <i>checkWallpaperVisible</i>, QObject *<i>parent</i> = nullptr)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> virtual </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywallpaper.html#dtor.ScreenPlayWallpaper">~ScreenPlayWallpaper</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywallpaper.html#absolutePath-prop">absolutePath</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywallpaper.html#absolutePath-prop">absolutePath</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywallpaper.html#appID-prop">appID</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywallpaper.html#appID-prop">appID</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywallpaper.html#file-prop">file</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywallpaper.html#file-prop">file</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> FillMode::FillMode </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywallpaper.html#fillMode-prop">fillMode</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywallpaper.html#fillMode-prop">fillMode</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QJsonObject </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywallpaper.html#getActiveSettingsJson">getActiveSettingsJson</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> QJsonObject </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywallpaper.html#getActiveSettingsJson">getActiveSettingsJson</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywallpaper.html#isLooping-prop">isLooping</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywallpaper.html#isLooping-prop">isLooping</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> float </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywallpaper.html#playbackRate-prop">playbackRate</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> float </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywallpaper.html#playbackRate-prop">playbackRate</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywallpaper.html#previewImage-prop">previewImage</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywallpaper.html#previewImage-prop">previewImage</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywallpaper.html#replace">replace</a></b>(const QString &amp;<i>absolutePath</i>, const QString &amp;<i>previewImage</i>, const QString &amp;<i>file</i>, const float <i>volume</i>, const FillMode::FillMode <i>fillMode</i>, const InstalledType::InstalledType <i>type</i>, const bool <i>checkWallpaperVisible</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QVector&lt;int&gt; </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywallpaper.html#screenNumber-prop">screenNumber</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> QVector&lt;int&gt; </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywallpaper.html#screenNumber-prop">screenNumber</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywallpaper.html#setSDKConnection">setSDKConnection</a></b>(const std::shared_ptr&lt;SDKConnection&gt; &amp;<i>connection</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywallpaper.html#setSDKConnection">setSDKConnection</a></b>(std::unique_ptr&lt;SDKConnection&gt; <i>connection</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> InstalledType::InstalledType </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywallpaper.html#type-prop">type</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywallpaper.html#type-prop">type</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> float </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywallpaper.html#volume-prop">volume</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> float </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywallpaper.html#volume-prop">volume</a></b>() const</td></tr>
</table></div> </table></div>
<a name="public-slots"></a> <a name="public-slots"></a>
@ -56,14 +55,14 @@
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywallpaper.html#absolutePath-prop">setAbsolutePath</a></b>(QString <i>absolutePath</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywallpaper.html#absolutePath-prop">setAbsolutePath</a></b>(QString <i>absolutePath</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywallpaper.html#appID-prop">setAppID</a></b>(QString <i>appID</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywallpaper.html#appID-prop">setAppID</a></b>(QString <i>appID</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywallpaper.html#file-prop">setFile</a></b>(QString <i>file</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywallpaper.html#file-prop">setFile</a></b>(QString <i>file</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywallpaper.html#fillMode-prop">setFillMode</a></b>(FillMode::FillMode <i>fillMode</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywallpaper.html#fillMode-prop">setFillMode</a></b>(int <i>fillMode</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywallpaper.html#isLooping-prop">setIsLooping</a></b>(bool <i>isLooping</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywallpaper.html#isLooping-prop">setIsLooping</a></b>(bool <i>isLooping</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywallpaper.html#playbackRate-prop">setPlaybackRate</a></b>(float <i>playbackRate</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywallpaper.html#playbackRate-prop">setPlaybackRate</a></b>(float <i>playbackRate</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywallpaper.html#previewImage-prop">setPreviewImage</a></b>(QString <i>previewImage</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywallpaper.html#previewImage-prop">setPreviewImage</a></b>(QString <i>previewImage</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywallpaper.html#screenNumber-prop">setScreenNumber</a></b>(QVector&lt;int&gt; <i>screenNumber</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywallpaper.html#screenNumber-prop">setScreenNumber</a></b>(QVector&lt;int&gt; <i>screenNumber</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywallpaper.html#type-prop">setType</a></b>(InstalledType::InstalledType <i>type</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywallpaper.html#type-prop">setType</a></b>(int <i>type</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywallpaper.html#volume-prop">setVolume</a></b>(float <i>volume</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywallpaper.html#volume-prop">setVolume</a></b>(float <i>volume</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywallpaper.html#setWallpaperValue">setWallpaperValue</a></b>(const QString &amp;<i>key</i>, const QString &amp;<i>value</i>, const bool <i>save</i> = false)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywallpaper.html#setWallpaperValue">setWallpaperValue</a></b>(const QString &amp;<i>key</i>, const QString &amp;<i>value</i>, const bool <i>save</i> = false)</td></tr>
</table></div> </table></div>
<a name="signals"></a> <a name="signals"></a>
<h2 id="signals">Signals</h2> <h2 id="signals">Signals</h2>
@ -71,12 +70,12 @@
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywallpaper.html#absolutePath-prop">absolutePathChanged</a></b>(QString <i>absolutePath</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywallpaper.html#absolutePath-prop">absolutePathChanged</a></b>(QString <i>absolutePath</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywallpaper.html#appID-prop">appIDChanged</a></b>(QString <i>appID</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywallpaper.html#appID-prop">appIDChanged</a></b>(QString <i>appID</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywallpaper.html#file-prop">fileChanged</a></b>(QString <i>file</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywallpaper.html#file-prop">fileChanged</a></b>(QString <i>file</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywallpaper.html#fillMode-prop">fillModeChanged</a></b>(FillMode::FillMode <i>fillMode</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywallpaper.html#fillMode-prop">fillModeChanged</a></b>(int <i>fillMode</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywallpaper.html#isLooping-prop">isLoopingChanged</a></b>(bool <i>isLooping</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywallpaper.html#isLooping-prop">isLoopingChanged</a></b>(bool <i>isLooping</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywallpaper.html#playbackRate-prop">playbackRateChanged</a></b>(float <i>playbackRate</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywallpaper.html#playbackRate-prop">playbackRateChanged</a></b>(float <i>playbackRate</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywallpaper.html#previewImage-prop">previewImageChanged</a></b>(QString <i>previewImage</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywallpaper.html#previewImage-prop">previewImageChanged</a></b>(QString <i>previewImage</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywallpaper.html#screenNumber-prop">screenNumberChanged</a></b>(QVector&lt;int&gt; <i>screenNumber</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywallpaper.html#screenNumber-prop">screenNumberChanged</a></b>(QVector&lt;int&gt; <i>screenNumber</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywallpaper.html#type-prop">typeChanged</a></b>(InstalledType::InstalledType <i>type</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywallpaper.html#type-prop">typeChanged</a></b>(int <i>type</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywallpaper.html#volume-prop">volumeChanged</a></b>(float <i>volume</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywallpaper.html#volume-prop">volumeChanged</a></b>(float <i>volume</i>)</td></tr>
</table></div> </table></div>
<a name="details"></a> <a name="details"></a>
@ -88,10 +87,6 @@
<!-- @@@ScreenPlayWallpaper --> <!-- @@@ScreenPlayWallpaper -->
<div class="func"> <div class="func">
<h2>Member Function Documentation</h2> <h2>Member Function Documentation</h2>
<!-- $$$ScreenPlayWallpaper$$$ScreenPlayWallpaperconstQVector<int>&conststd::shared_ptr<GlobalVariables>&constQString&constQString&constQString&constQString&constfloatconstfloatconstFillMode::FillModeconstInstalledType::InstalledTypeconstQJsonObject&constboolQObject* -->
<h3 class="fn" id="ScreenPlayWallpaper-1"><a name="ScreenPlayWallpaper-1"></a>ScreenPlayWallpaper::<span class="name">ScreenPlayWallpaper</span>(const <span class="type">QVector</span>&lt;<span class="type">int</span>&gt; &amp;<i>screenNumber</i>, const <span class="type">std::shared_ptr</span>&lt;<span class="type"><a href="screenplay-globalvariables.html">GlobalVariables</a></span>&gt; &amp;<i>globalVariables</i>, const <span class="type">QString</span> &amp;<i>appID</i>, const <span class="type">QString</span> &amp;<i>absolutePath</i>, const <span class="type">QString</span> &amp;<i>previewImage</i>, const <span class="type">QString</span> &amp;<i>file</i>, const <span class="type">float</span> <i>volume</i>, const <span class="type">float</span> <i>playbackRate</i>, const <span class="type">FillMode::FillMode</span> <i>fillMode</i>, const <span class="type">InstalledType::InstalledType</span> <i>type</i>, const <span class="type">QJsonObject</span> &amp;<i>properties</i>, const <span class="type">bool</span> <i>checkWallpaperVisible</i>, <span class="type">QObject</span> *<i>parent</i> = nullptr)</h3>
<p>Constructor for ScreenPlayWallpaper.</p>
<!-- @@@ScreenPlayWallpaper -->
<!-- $$$processError[overload1]$$$processErrorQProcess::ProcessError --> <!-- $$$processError[overload1]$$$processErrorQProcess::ProcessError -->
<h3 class="fn" id="processError"><a name="processError"></a><code>[slot] </code><span class="type">void</span> ScreenPlayWallpaper::<span class="name">processError</span>(<span class="type">QProcess::ProcessError</span> <i>error</i>)</h3> <h3 class="fn" id="processError"><a name="processError"></a><code>[slot] </code><span class="type">void</span> ScreenPlayWallpaper::<span class="name">processError</span>(<span class="type">QProcess::ProcessError</span> <i>error</i>)</h3>
<p>Prints the exit code error.</p> <p>Prints the exit code error.</p>
@ -101,20 +96,20 @@
<p>Prints the exit code if != 0.</p> <p>Prints the exit code if != 0.</p>
<!-- @@@processExit --> <!-- @@@processExit -->
<!-- $$$setWallpaperValue[overload1]$$$setWallpaperValueconstQString&constQString&constbool --> <!-- $$$setWallpaperValue[overload1]$$$setWallpaperValueconstQString&constQString&constbool -->
<h3 class="fn" id="setWallpaperValue"><a name="setWallpaperValue"></a><code>[slot] </code><span class="type">void</span> ScreenPlayWallpaper::<span class="name">setWallpaperValue</span>(const <span class="type">QString</span> &amp;<i>key</i>, const <span class="type">QString</span> &amp;<i>value</i>, const <span class="type">bool</span> <i>save</i> = false)</h3> <h3 class="fn" id="setWallpaperValue"><a name="setWallpaperValue"></a><code>[slot] </code><span class="type">bool</span> ScreenPlayWallpaper::<span class="name">setWallpaperValue</span>(const <span class="type">QString</span> &amp;<i>key</i>, const <span class="type">QString</span> &amp;<i>value</i>, const <span class="type">bool</span> <i>save</i> = false)</h3>
<p>Sets a wallpaper value. We directly set the property if it is either volume, <a href="screenplay-screenplaywallpaper.html#playbackRate-prop">playbackRate</a> or <a href="screenplay-screenplaywallpaper.html#fillMode-prop">fillMode</a>. Otherwise it is a simple key, value json pair.</p> <p>Sets a wallpaper value. We directly set the property if it is either volume, <a href="screenplay-screenplaywallpaper.html#playbackRate-prop">playbackRate</a> or <a href="screenplay-screenplaywallpaper.html#fillMode-prop">fillMode</a>. Otherwise it is a simple key, value json pair.</p>
<!-- @@@setWallpaperValue --> <!-- @@@setWallpaperValue -->
<!-- $$$~ScreenPlayWallpaper[overload1]$$$~ScreenPlayWallpaper -->
<h3 class="fn" id="dtor.ScreenPlayWallpaper"><a name="dtor.ScreenPlayWallpaper"></a><code>[virtual] </code>ScreenPlayWallpaper::<span class="name">~ScreenPlayWallpaper</span>()</h3>
<p>Destructor for <a href="screenplay-screenplaywallpaper.html">ScreenPlayWallpaper</a>.</p>
<!-- @@@~ScreenPlayWallpaper -->
<!-- $$$getActiveSettingsJson[overload1]$$$getActiveSettingsJson --> <!-- $$$getActiveSettingsJson[overload1]$$$getActiveSettingsJson -->
<h3 class="fn" id="getActiveSettingsJson"><a name="getActiveSettingsJson"></a><span class="type">QJsonObject</span> ScreenPlayWallpaper::<span class="name">getActiveSettingsJson</span>()</h3> <h3 class="fn" id="getActiveSettingsJson"><a name="getActiveSettingsJson"></a><span class="type">QJsonObject</span> ScreenPlayWallpaper::<span class="name">getActiveSettingsJson</span>()</h3>
<p>Loads the project.json that contains all settings to display the wallpaper.</p> <p>Loads the project.json that contains all settings to display the wallpaper.</p>
<!-- @@@getActiveSettingsJson --> <!-- @@@getActiveSettingsJson -->
<!-- $$$replace[overload1]$$$replaceconstQString&constQString&constQString&constfloatconstFillMode::FillModeconstInstalledType::InstalledTypeconstbool --> <!-- $$$setSDKConnection[overload1]$$$setSDKConnectionstd::unique_ptr<SDKConnection> -->
<h3 class="fn" id="replace"><a name="replace"></a><span class="type">void</span> ScreenPlayWallpaper::<span class="name">replace</span>(const <span class="type">QString</span> &amp;<i>absolutePath</i>, const <span class="type">QString</span> &amp;<i>previewImage</i>, const <span class="type">QString</span> &amp;<i>file</i>, const <span class="type">float</span> <i>volume</i>, const <span class="type">FillMode::FillMode</span> <i>fillMode</i>, const <span class="type">InstalledType::InstalledType</span> <i>type</i>, const <span class="type">bool</span> <i>checkWallpaperVisible</i>)</h3> <h3 class="fn" id="setSDKConnection"><a name="setSDKConnection"></a><span class="type">void</span> ScreenPlayWallpaper::<span class="name">setSDKConnection</span>(<span class="type">std::unique_ptr</span>&lt;<span class="type"><a href="screenplay-sdkconnection.html">SDKConnection</a></span>&gt; <i>connection</i>)</h3>
<p>Replaces the current wallpaper with the given one.</p> <p>Connects to <a href="screenplay-module.html">ScreenPlay</a>. Start a alive ping check for every GlobalVariables::contentPingAliveIntervalMS seconds.</p>
<!-- @@@replace -->
<!-- $$$setSDKConnection[overload1]$$$setSDKConnectionconststd::shared_ptr<SDKConnection>& -->
<h3 class="fn" id="setSDKConnection"><a name="setSDKConnection"></a><span class="type">void</span> ScreenPlayWallpaper::<span class="name">setSDKConnection</span>(const <span class="type">std::shared_ptr</span>&lt;<span class="type"><a href="screenplay-sdkconnection.html">SDKConnection</a></span>&gt; &amp;<i>connection</i>)</h3>
<p>Connects to <a href="screenplay.html">ScreenPlay</a>. Start a alive ping check for every 16 seconds.</p>
<!-- @@@setSDKConnection --> <!-- @@@setSDKConnection -->
</div> </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/bootstrap.bundle.min.js"></script> <script src="../js/mermaid.min.js"></script> <script>var config = {startOnLoad:true,flowchart:{useMaxWidth:true,htmlLabels:true}};mermaid.initialize(config);</script></body> <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/bootstrap.bundle.min.js"></script> <script src="../js/mermaid.min.js"></script> <script>var config = {startOnLoad:true,flowchart:{useMaxWidth:true,htmlLabels:true}};mermaid.initialize(config);</script></body>

View File

@ -14,7 +14,6 @@
<p>This is the complete list of members for <a href="screenplay-screenplaywidget.html">ScreenPlay::ScreenPlayWidget</a>, including inherited members.</p> <p>This is the complete list of members for <a href="screenplay-screenplaywidget.html">ScreenPlay::ScreenPlayWidget</a>, including inherited members.</p>
<div class="table"><table class="propsummary"> <div class="table"><table class="propsummary">
<tr><td class="topAlign"><ul> <tr><td class="topAlign"><ul>
<li class="fn"><span class="name"><b><a href="screenplay-screenplaywidget.html#ScreenPlayWidget">ScreenPlayWidget</a></b></span>(const QString &amp;, const std::shared_ptr&lt;GlobalVariables&gt; &amp;, const QPoint &amp;, const QString &amp;, const QString &amp;, const QJsonObject &amp;, const InstalledType::InstalledType)</li>
<li class="fn"><span class="name"><b><a href="screenplay-screenplaywidget.html#absolutePath-prop">absolutePathChanged</a></b></span>(QString)</li> <li class="fn"><span class="name"><b><a href="screenplay-screenplaywidget.html#absolutePath-prop">absolutePathChanged</a></b></span>(QString)</li>
<li class="fn"><span class="name"><b><a href="screenplay-screenplaywidget.html#appID-prop">appIDChanged</a></b></span>(QString)</li> <li class="fn"><span class="name"><b><a href="screenplay-screenplaywidget.html#appID-prop">appIDChanged</a></b></span>(QString)</li>
<li class="fn"><span class="name"><b><a href="screenplay-screenplaywidget.html#getActiveSettingsJson">getActiveSettingsJson</a></b></span>() : QJsonObject</li> <li class="fn"><span class="name"><b><a href="screenplay-screenplaywidget.html#getActiveSettingsJson">getActiveSettingsJson</a></b></span>() : QJsonObject</li>
@ -23,16 +22,16 @@
<li class="fn"><span class="name"><b><a href="screenplay-screenplaywidget.html#absolutePath-prop">setAbsolutePath</a></b></span>(QString)</li> <li class="fn"><span class="name"><b><a href="screenplay-screenplaywidget.html#absolutePath-prop">setAbsolutePath</a></b></span>(QString)</li>
<li class="fn"><span class="name"><b><a href="screenplay-screenplaywidget.html#appID-prop">setAppID</a></b></span>(QString)</li> <li class="fn"><span class="name"><b><a href="screenplay-screenplaywidget.html#appID-prop">setAppID</a></b></span>(QString)</li>
<li class="fn"><span class="name"><b><a href="screenplay-screenplaywidget.html#position-prop">setPosition</a></b></span>(QPoint)</li> <li class="fn"><span class="name"><b><a href="screenplay-screenplaywidget.html#position-prop">setPosition</a></b></span>(QPoint)</li>
</ul></td><td class="topAlign"><ul>
<li class="fn"><span class="name"><b><a href="screenplay-screenplaywidget.html#previewImage-prop">setPreviewImage</a></b></span>(QString)</li> <li class="fn"><span class="name"><b><a href="screenplay-screenplaywidget.html#previewImage-prop">setPreviewImage</a></b></span>(QString)</li>
<li class="fn"><span class="name"><b><a href="screenplay-screenplaywidget.html#type-prop">setType</a></b></span>(InstalledType::InstalledType)</li> </ul></td><td class="topAlign"><ul>
<li class="fn"><span class="name"><b><a href="screenplay-screenplaywidget.html#type-prop">typeChanged</a></b></span>(InstalledType::InstalledType)</li> <li class="fn"><span class="name"><b><a href="screenplay-screenplaywidget.html#type-prop">setType</a></b></span>(int)</li>
<li class="fn"><span class="name"><b><a href="screenplay-screenplaywidget.html#type-prop">typeChanged</a></b></span>(int)</li>
<li class="fn"><span class="name"><b><a href="screenplay-screenplaywidget.html#absolutePath-prop">absolutePath</a></b></span>() const : QString</li> <li class="fn"><span class="name"><b><a href="screenplay-screenplaywidget.html#absolutePath-prop">absolutePath</a></b></span>() const : QString</li>
<li class="fn"><span class="name"><b><a href="screenplay-screenplaywidget.html#appID-prop">appID</a></b></span>() const : QString</li> <li class="fn"><span class="name"><b><a href="screenplay-screenplaywidget.html#appID-prop">appID</a></b></span>() const : QString</li>
<li class="fn"><span class="name"><b><a href="screenplay-screenplaywidget.html#position-prop">position</a></b></span>() const : QPoint</li> <li class="fn"><span class="name"><b><a href="screenplay-screenplaywidget.html#position-prop">position</a></b></span>() const : QPoint</li>
<li class="fn"><span class="name"><b><a href="screenplay-screenplaywidget.html#previewImage-prop">previewImage</a></b></span>() const : QString</li> <li class="fn"><span class="name"><b><a href="screenplay-screenplaywidget.html#previewImage-prop">previewImage</a></b></span>() const : QString</li>
<li class="fn"><span class="name"><b><a href="screenplay-screenplaywidget.html#setSDKConnection">setSDKConnection</a></b></span>(const std::shared_ptr&lt;SDKConnection&gt; &amp;)</li> <li class="fn"><span class="name"><b><a href="screenplay-screenplaywidget.html#setSDKConnection">setSDKConnection</a></b></span>(std::unique_ptr&lt;SDKConnection&gt;)</li>
<li class="fn"><span class="name"><b><a href="screenplay-screenplaywidget.html#type-prop">type</a></b></span>() const : InstalledType::InstalledType</li> <li class="fn"><span class="name"><b><a href="screenplay-screenplaywidget.html#type-prop">type</a></b></span>() const : int</li>
</ul> </ul>
</td></tr> </td></tr>
</table></div> </table></div>

View File

@ -21,7 +21,7 @@
</div> </div>
<div class="sidebar-content" id="sidebar-content"></div></div> <div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">ScreenPlayWidget Class</h1> <h1 class="title">ScreenPlayWidget Class</h1>
<span class="small-subtitle">class <a href="screenplay.html">ScreenPlay</a>::ScreenPlayWidget</span> <span class="small-subtitle">class <a href="screenplay-module.html">ScreenPlay</a>::ScreenPlayWidget</span>
<!-- $$$ScreenPlayWidget-brief --> <!-- $$$ScreenPlayWidget-brief -->
<p>A Single Object to manage a Widget. <a href="#details">More...</a></p> <p>A Single Object to manage a Widget. <a href="#details">More...</a></p>
<!-- @@@ScreenPlayWidget --> <!-- @@@ScreenPlayWidget -->
@ -33,13 +33,12 @@
<a name="public-functions"></a> <a name="public-functions"></a>
<h2 id="public-functions">Public Functions</h2> <h2 id="public-functions">Public Functions</h2>
<div class="table"><table class="alignedsummary"> <div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywidget.html#ScreenPlayWidget">ScreenPlayWidget</a></b>(const QString &amp;<i>appID</i>, const std::shared_ptr&lt;GlobalVariables&gt; &amp;<i>globalVariables</i>, const QPoint &amp;<i>position</i>, const QString &amp;<i>absolutePath</i>, const QString &amp;<i>previewImage</i>, const QJsonObject &amp;<i>properties</i>, const InstalledType::InstalledType <i>type</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywidget.html#absolutePath-prop">absolutePath</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywidget.html#absolutePath-prop">absolutePath</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywidget.html#appID-prop">appID</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywidget.html#appID-prop">appID</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QPoint </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywidget.html#position-prop">position</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> QPoint </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywidget.html#position-prop">position</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywidget.html#previewImage-prop">previewImage</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywidget.html#previewImage-prop">previewImage</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywidget.html#setSDKConnection">setSDKConnection</a></b>(const std::shared_ptr&lt;SDKConnection&gt; &amp;<i>connection</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywidget.html#setSDKConnection">setSDKConnection</a></b>(std::unique_ptr&lt;SDKConnection&gt; <i>connection</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> InstalledType::InstalledType </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywidget.html#type-prop">type</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywidget.html#type-prop">type</a></b>() const</td></tr>
</table></div> </table></div>
<a name="public-slots"></a> <a name="public-slots"></a>
<h2 id="public-slots">Public Slots</h2> <h2 id="public-slots">Public Slots</h2>
@ -49,7 +48,7 @@
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywidget.html#appID-prop">setAppID</a></b>(QString <i>appID</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywidget.html#appID-prop">setAppID</a></b>(QString <i>appID</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywidget.html#position-prop">setPosition</a></b>(QPoint <i>position</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywidget.html#position-prop">setPosition</a></b>(QPoint <i>position</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywidget.html#previewImage-prop">setPreviewImage</a></b>(QString <i>previewImage</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywidget.html#previewImage-prop">setPreviewImage</a></b>(QString <i>previewImage</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywidget.html#type-prop">setType</a></b>(InstalledType::InstalledType <i>type</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywidget.html#type-prop">setType</a></b>(int <i>type</i>)</td></tr>
</table></div> </table></div>
<a name="signals"></a> <a name="signals"></a>
<h2 id="signals">Signals</h2> <h2 id="signals">Signals</h2>
@ -58,7 +57,7 @@
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywidget.html#appID-prop">appIDChanged</a></b>(QString <i>appID</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywidget.html#appID-prop">appIDChanged</a></b>(QString <i>appID</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywidget.html#position-prop">positionChanged</a></b>(QPoint <i>position</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywidget.html#position-prop">positionChanged</a></b>(QPoint <i>position</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywidget.html#previewImage-prop">previewImageChanged</a></b>(QString <i>previewImage</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywidget.html#previewImage-prop">previewImageChanged</a></b>(QString <i>previewImage</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywidget.html#type-prop">typeChanged</a></b>(InstalledType::InstalledType <i>type</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-screenplaywidget.html#type-prop">typeChanged</a></b>(int <i>type</i>)</td></tr>
</table></div> </table></div>
<a name="details"></a> <a name="details"></a>
<!-- $$$ScreenPlayWidget-description --> <!-- $$$ScreenPlayWidget-description -->
@ -69,17 +68,13 @@
<!-- @@@ScreenPlayWidget --> <!-- @@@ScreenPlayWidget -->
<div class="func"> <div class="func">
<h2>Member Function Documentation</h2> <h2>Member Function Documentation</h2>
<!-- $$$ScreenPlayWidget[overload1]$$$ScreenPlayWidgetconstQString&conststd::shared_ptr<GlobalVariables>&constQPoint&constQString&constQString&constQJsonObject&constInstalledType::InstalledType -->
<h3 class="fn" id="ScreenPlayWidget"><a name="ScreenPlayWidget"></a>ScreenPlayWidget::<span class="name">ScreenPlayWidget</span>(const <span class="type">QString</span> &amp;<i>appID</i>, const <span class="type">std::shared_ptr</span>&lt;<span class="type"><a href="screenplay-globalvariables.html">GlobalVariables</a></span>&gt; &amp;<i>globalVariables</i>, const <span class="type">QPoint</span> &amp;<i>position</i>, const <span class="type">QString</span> &amp;<i>absolutePath</i>, const <span class="type">QString</span> &amp;<i>previewImage</i>, const <span class="type">QJsonObject</span> &amp;<i>properties</i>, const <span class="type">InstalledType::InstalledType</span> <i>type</i>)</h3>
<p>Constructs a ScreenPlayWidget</p>
<!-- @@@ScreenPlayWidget -->
<!-- $$$getActiveSettingsJson[overload1]$$$getActiveSettingsJson --> <!-- $$$getActiveSettingsJson[overload1]$$$getActiveSettingsJson -->
<h3 class="fn" id="getActiveSettingsJson"><a name="getActiveSettingsJson"></a><code>[slot] </code><span class="type">QJsonObject</span> ScreenPlayWidget::<span class="name">getActiveSettingsJson</span>()</h3> <h3 class="fn" id="getActiveSettingsJson"><a name="getActiveSettingsJson"></a><code>[slot] </code><span class="type">QJsonObject</span> ScreenPlayWidget::<span class="name">getActiveSettingsJson</span>()</h3>
<p>Loads the project.json content.</p> <p>Loads the project.json content.</p>
<!-- @@@getActiveSettingsJson --> <!-- @@@getActiveSettingsJson -->
<!-- $$$setSDKConnection[overload1]$$$setSDKConnectionconststd::shared_ptr<SDKConnection>& --> <!-- $$$setSDKConnection[overload1]$$$setSDKConnectionstd::unique_ptr<SDKConnection> -->
<h3 class="fn" id="setSDKConnection"><a name="setSDKConnection"></a><span class="type">void</span> ScreenPlayWidget::<span class="name">setSDKConnection</span>(const <span class="type">std::shared_ptr</span>&lt;<span class="type"><a href="screenplay-sdkconnection.html">SDKConnection</a></span>&gt; &amp;<i>connection</i>)</h3> <h3 class="fn" id="setSDKConnection"><a name="setSDKConnection"></a><span class="type">void</span> ScreenPlayWidget::<span class="name">setSDKConnection</span>(<span class="type">std::unique_ptr</span>&lt;<span class="type"><a href="screenplay-sdkconnection.html">SDKConnection</a></span>&gt; <i>connection</i>)</h3>
<p>Connects to <a href="screenplay.html">ScreenPlay</a>. Start a alive ping check for every 16 seconds.</p> <p>Connects to <a href="screenplay-module.html">ScreenPlay</a>. Start a alive ping check for every GlobalVariables::contentPingAliveIntervalMS seconds.</p>
<!-- @@@setSDKConnection --> <!-- @@@setSDKConnection -->
</div> </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/bootstrap.bundle.min.js"></script> <script src="../js/mermaid.min.js"></script> <script>var config = {startOnLoad:true,flowchart:{useMaxWidth:true,htmlLabels:true}};mermaid.initialize(config);</script></body> <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/bootstrap.bundle.min.js"></script> <script src="../js/mermaid.min.js"></script> <script>var config = {startOnLoad:true,flowchart:{useMaxWidth:true,htmlLabels:true}};mermaid.initialize(config);</script></body>

View File

@ -15,10 +15,10 @@
<ul> <ul>
<li class="fn"><span class="name"><b><a href="screenplay-sdkconnection.html#SDKConnection">SDKConnection</a></b></span>(QLocalSocket *, QObject *)</li> <li class="fn"><span class="name"><b><a href="screenplay-sdkconnection.html#SDKConnection">SDKConnection</a></b></span>(QLocalSocket *, QObject *)</li>
<li class="fn"><span class="name"><b><a href="screenplay-sdkconnection.html#appID-prop">appIDChanged</a></b></span>(QString)</li> <li class="fn"><span class="name"><b><a href="screenplay-sdkconnection.html#appID-prop">appIDChanged</a></b></span>(QString)</li>
<li class="fn"><span class="name"><b><a href="screenplay-sdkconnection.html#close">close</a></b></span>()</li> <li class="fn"><span class="name"><b><a href="screenplay-sdkconnection.html#close">close</a></b></span>() : bool</li>
<li class="fn"><span class="name"><b><a href="screenplay-sdkconnection.html#monitor-prop">monitorChanged</a></b></span>(QVector&lt;int&gt;)</li> <li class="fn"><span class="name"><b><a href="screenplay-sdkconnection.html#monitor-prop">monitorChanged</a></b></span>(QVector&lt;int&gt;)</li>
<li class="fn"><span class="name"><b><a href="screenplay-sdkconnection.html#readyRead">readyRead</a></b></span>()</li> <li class="fn"><span class="name"><b><a href="screenplay-sdkconnection.html#readyRead">readyRead</a></b></span>()</li>
<li class="fn"><span class="name"><b><a href="screenplay-sdkconnection.html#sendMessage">sendMessage</a></b></span>(const QByteArray &amp;)</li> <li class="fn"><span class="name"><b><a href="screenplay-sdkconnection.html#sendMessage">sendMessage</a></b></span>(const QByteArray &amp;) : bool</li>
<li class="fn"><span class="name"><b><a href="screenplay-sdkconnection.html#appID-prop">setAppID</a></b></span>(QString)</li> <li class="fn"><span class="name"><b><a href="screenplay-sdkconnection.html#appID-prop">setAppID</a></b></span>(QString)</li>
<li class="fn"><span class="name"><b><a href="screenplay-sdkconnection.html#monitor-prop">setMonitor</a></b></span>(QVector&lt;int&gt;)</li> <li class="fn"><span class="name"><b><a href="screenplay-sdkconnection.html#monitor-prop">setMonitor</a></b></span>(QVector&lt;int&gt;)</li>
<li class="fn"><span class="name"><b><a href="screenplay-sdkconnection.html#type-prop">setType</a></b></span>(QString)</li> <li class="fn"><span class="name"><b><a href="screenplay-sdkconnection.html#type-prop">setType</a></b></span>(QString)</li>

View File

@ -21,7 +21,7 @@
</div> </div>
<div class="sidebar-content" id="sidebar-content"></div></div> <div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">SDKConnection Class</h1> <h1 class="title">SDKConnection Class</h1>
<span class="small-subtitle">class <a href="screenplay.html">ScreenPlay</a>::SDKConnection</span> <span class="small-subtitle">class <a href="screenplay-module.html">ScreenPlay</a>::SDKConnection</span>
<!-- $$$SDKConnection-brief --> <!-- $$$SDKConnection-brief -->
<p>Contains all connections to Wallpaper and Widgets. <a href="#details">More...</a></p> <p>Contains all connections to Wallpaper and Widgets. <a href="#details">More...</a></p>
<!-- @@@SDKConnection --> <!-- @@@SDKConnection -->
@ -41,9 +41,9 @@
<a name="public-slots"></a> <a name="public-slots"></a>
<h2 id="public-slots">Public Slots</h2> <h2 id="public-slots">Public Slots</h2>
<div class="table"><table class="alignedsummary"> <div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-sdkconnection.html#close">close</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="screenplay-sdkconnection.html#close">close</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-sdkconnection.html#readyRead">readyRead</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-sdkconnection.html#readyRead">readyRead</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-sdkconnection.html#sendMessage">sendMessage</a></b>(const QByteArray &amp;<i>message</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="screenplay-sdkconnection.html#sendMessage">sendMessage</a></b>(const QByteArray &amp;<i>message</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-sdkconnection.html#appID-prop">setAppID</a></b>(QString <i>appID</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-sdkconnection.html#appID-prop">setAppID</a></b>(QString <i>appID</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-sdkconnection.html#monitor-prop">setMonitor</a></b>(QVector&lt;int&gt; <i>monitor</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-sdkconnection.html#monitor-prop">setMonitor</a></b>(QVector&lt;int&gt; <i>monitor</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-sdkconnection.html#type-prop">setType</a></b>(QString <i>type</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-sdkconnection.html#type-prop">setType</a></b>(QString <i>type</i>)</td></tr>
@ -68,7 +68,7 @@
<p>Constructor.</p> <p>Constructor.</p>
<!-- @@@SDKConnection --> <!-- @@@SDKConnection -->
<!-- $$$close[overload1]$$$close --> <!-- $$$close[overload1]$$$close -->
<h3 class="fn" id="close"><a name="close"></a><code>[slot] </code><span class="type">void</span> SDKConnection::<span class="name">close</span>()</h3> <h3 class="fn" id="close"><a name="close"></a><code>[slot] </code><span class="type">bool</span> SDKConnection::<span class="name">close</span>()</h3>
<p>Closes the socket connection. Before it explicitly sends a quit command to make sure the wallpaper closes (fast). This also requestDecreaseWidgetCount() because Widgets.</p> <p>Closes the socket connection. Before it explicitly sends a quit command to make sure the wallpaper closes (fast). This also requestDecreaseWidgetCount() because Widgets.</p>
<!-- @@@close --> <!-- @@@close -->
<!-- $$$readyRead[overload1]$$$readyRead --> <!-- $$$readyRead[overload1]$$$readyRead -->
@ -76,12 +76,12 @@
<p>Read incomming messages. Checks for types like:</p> <p>Read incomming messages. Checks for types like:</p>
<ol class="1" type="1"><li>ping: Used to check if wallpaper is still alive</li> <ol class="1" type="1"><li>ping: Used to check if wallpaper is still alive</li>
<li><a href="screenplay-sdkconnection.html#appID-prop">appID</a>: First message of an app must contain the ID to match it to our list of running apps</li> <li><a href="screenplay-sdkconnection.html#appID-prop">appID</a>: First message of an app must contain the ID to match it to our list of running apps</li>
<li>command: Used mainly for requestRaise. This will get fired if the user tries to open a second <a href="screenplay.html">ScreenPlay</a> instance</li> <li>command: Used mainly for requestRaise. This will get fired if the user tries to open a second <a href="screenplay-module.html">ScreenPlay</a> instance</li>
<li>general Json object</li> <li>general Json object</li>
</ol> </ol>
<!-- @@@readyRead --> <!-- @@@readyRead -->
<!-- $$$sendMessage[overload1]$$$sendMessageconstQByteArray& --> <!-- $$$sendMessage[overload1]$$$sendMessageconstQByteArray& -->
<h3 class="fn" id="sendMessage"><a name="sendMessage"></a><code>[slot] </code><span class="type">void</span> SDKConnection::<span class="name">sendMessage</span>(const <span class="type">QByteArray</span> &amp;<i>message</i>)</h3> <h3 class="fn" id="sendMessage"><a name="sendMessage"></a><code>[slot] </code><span class="type">bool</span> SDKConnection::<span class="name">sendMessage</span>(const <span class="type">QByteArray</span> &amp;<i>message</i>)</h3>
<p>Sends a message to the connected socket.</p> <p>Sends a message to the connected socket.</p>
<!-- @@@sendMessage --> <!-- @@@sendMessage -->
</div> </div>

View File

@ -40,12 +40,12 @@
<li class="fn"><span class="name"><b><a href="screenplay-settings.html#steamVersion-prop">setSteamVersion</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> </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#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#videoFillMode-prop">setVideoFillMode</a></b></span>(int)</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#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#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#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#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#videoFillMode-prop">videoFillModeChanged</a></b></span>(int)</li>
<li class="fn"><span class="name"><b><a href="screenplay-settings.html#writeJsonFileFromResource">writeJsonFileFromResource</a></b></span>(const QString &amp;)</li> <li class="fn"><span class="name"><b><a href="screenplay-settings.html#writeJsonFileFromResource">writeJsonFileFromResource</a></b></span>(const QString &amp;)</li>
<li class="fn"><span class="name"><b><a href="screenplay-settings.html#anonymousTelemetry-prop">anonymousTelemetry</a></b></span>() const : bool</li> <li class="fn"><span class="name"><b><a href="screenplay-settings.html#anonymousTelemetry-prop">anonymousTelemetry</a></b></span>() const : bool</li>
<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#autostart-prop">autostart</a></b></span>() const : bool</li>
@ -61,7 +61,7 @@
<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#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#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#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> <li class="fn"><span class="name"><b><a href="screenplay-settings.html#videoFillMode-prop">videoFillMode</a></b></span>() const : int</li>
</ul> </ul>
</td></tr> </td></tr>
</table></div> </table></div>

View File

@ -21,7 +21,7 @@
</div> </div>
<div class="sidebar-content" id="sidebar-content"></div></div> <div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">Settings Class</h1> <h1 class="title">Settings Class</h1>
<span class="small-subtitle">class <a href="screenplay.html">ScreenPlay</a>::Settings</span> <span class="small-subtitle">class <a href="screenplay-module.html">ScreenPlay</a>::Settings</span>
<!-- $$$Settings-brief --> <!-- $$$Settings-brief -->
<p>Global settings class for reading and writing settings. <a href="#details">More...</a></p> <p>Global settings class for reading and writing settings. <a href="#details">More...</a></p>
<!-- @@@Settings --> <!-- @@@Settings -->
@ -48,7 +48,7 @@
<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#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"> 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::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> <tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="screenplay-settings.html#videoFillMode-prop">videoFillMode</a></b>() const</td></tr>
</table></div> </table></div>
<a name="public-slots"></a> <a name="public-slots"></a>
<h2 id="public-slots">Public Slots</h2> <h2 id="public-slots">Public Slots</h2>
@ -67,7 +67,7 @@
<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#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#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#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#videoFillMode-prop">setVideoFillMode</a></b>(int <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> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-settings.html#setupWidgetAndWindowPaths">setupWidgetAndWindowPaths</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-settings.html#writeJsonFileFromResource">writeJsonFileFromResource</a></b>(const QString &amp;<i>filename</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-settings.html#writeJsonFileFromResource">writeJsonFileFromResource</a></b>(const QString &amp;<i>filename</i>)</td></tr>
</table></div> </table></div>
@ -87,7 +87,7 @@
<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#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#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#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> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-settings.html#videoFillMode-prop">videoFillModeChanged</a></b>(int <i>videoFillMode</i>)</td></tr>
</table></div> </table></div>
<a name="details"></a> <a name="details"></a>
<!-- $$$Settings-description --> <!-- $$$Settings-description -->
@ -97,7 +97,7 @@
<ul> <ul>
<li>User configuration via AppData<b class="redFont"><code>\Local</code></b>ScreenPlayScreenPlay<ul> <li>User configuration via AppData<b class="redFont"><code>\Local</code></b>ScreenPlayScreenPlay<ul>
<li>profiles.json - saved wallpaper and widgets config</li> <li>profiles.json - saved wallpaper and widgets config</li>
<li>Computer\HKEY_CURRENT_USER\Software\<a href="screenplay.html">ScreenPlay</a>\<a href="screenplay.html">ScreenPlay</a> - ScreenPlayContentPath for steam plugin</li> <li>Computer\HKEY_CURRENT_USER\Software\<a href="screenplay-module.html">ScreenPlay</a>\<a href="screenplay-module.html">ScreenPlay</a> - ScreenPlayContentPath for steam plugin</li>
</ul> </ul>
</li> </li>
<li>Communication via the SDK Connector</li> <li>Communication via the SDK Connector</li>
@ -110,7 +110,7 @@
<!-- $$$Settings[overload1]$$$Settingsconststd::shared_ptr<GlobalVariables>&QObject* --> <!-- $$$Settings[overload1]$$$Settingsconststd::shared_ptr<GlobalVariables>&QObject* -->
<h3 class="fn" id="Settings"><a name="Settings"></a>Settings::<span class="name">Settings</span>(const <span class="type">std::shared_ptr</span>&lt;<span class="type"><a href="screenplay-globalvariables.html">GlobalVariables</a></span>&gt; &amp;<i>globalVariables</i>, <span class="type">QObject</span> *<i>parent</i> = nullptr)</h3> <h3 class="fn" id="Settings"><a name="Settings"></a>Settings::<span class="name">Settings</span>(const <span class="type">std::shared_ptr</span>&lt;<span class="type"><a href="screenplay-globalvariables.html">GlobalVariables</a></span>&gt; &amp;<i>globalVariables</i>, <span class="type">QObject</span> *<i>parent</i> = nullptr)</h3>
<p>Constructor and sets up:</p> <p>Constructor and sets up:</p>
<ol class="1" type="1"><li>Sets the git build hash via <a href="screenplay.html">ScreenPlay</a>.pro c++ define</li> <ol class="1" type="1"><li>Sets the git build hash via <a href="screenplay-module.html">ScreenPlay</a>.pro c++ define</li>
<li>Checks the langauge via settings or system and available ones and installes a translator.</li> <li>Checks the langauge via settings or system and available ones and installes a translator.</li>
<li>Checks the AbsoluteStoragePath.</li> <li>Checks the AbsoluteStoragePath.</li>
<li>Checks regisitry for steam plugin settings</li> <li>Checks regisitry for steam plugin settings</li>

View File

@ -12,34 +12,20 @@
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div> <div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">List of All Members for Util</h1> <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> <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"> <ul>
<tr><td class="topAlign"><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#Util">Util</a></b></span>(QNetworkAccessManager *, QObject *)</li>
<li class="fn"><span class="name"><b><a href="screenplay-util.html#copyPreviewThumbnail">copyPreviewThumbnail</a></b></span>(QJsonObject &amp;, const QString &amp;, const QString &amp;) : bool</li> <li class="fn"><span class="name"><b><a href="screenplay-util.html#copyPreviewThumbnail">copyPreviewThumbnail</a></b></span>(QJsonObject &amp;, const QString &amp;, const QString &amp;) : bool</li>
<li class="fn"><span class="name"><b><a href="screenplay-util.html#copyToClipboard">copyToClipboard</a></b></span>(const QString &amp;) const</li> <li class="fn"><span class="name"><b><a href="screenplay-util.html#copyToClipboard">copyToClipboard</a></b></span>(const QString &amp;) 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#debugMessages-prop">debugMessagesChanged</a></b></span>(QString)</li>
<li class="fn"><span class="name"><b><a href="screenplay-util.html#fillArray">fillArray</a></b></span>(const QVector&lt;QString&gt; &amp;) : QJsonArray</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#getInstalledTypeFromString">getInstalledTypeFromString</a></b></span>(const QString &amp;) : std::optional&lt;InstalledType::InstalledType&gt;</li>
<li class="fn"><span class="name"><b><a href="screenplay-util.html#getSearchTypeFromInstalledType">getSearchTypeFromInstalledType</a></b></span>(const InstalledType::InstalledType) : SearchType::SearchType</li>
<li class="fn"><span class="name"><b><a href="screenplay-util.html#getVersionNumberFromString">getVersionNumberFromString</a></b></span>(const QString &amp;) : std::optional&lt;QVersionNumber&gt;</li>
<li class="fn"><span class="name"><b><a href="screenplay-util.html#logToGui">logToGui</a></b></span>(QtMsgType, const QMessageLogContext &amp;, const QString &amp;)</li> <li class="fn"><span class="name"><b><a href="screenplay-util.html#logToGui">logToGui</a></b></span>(QtMsgType, const QMessageLogContext &amp;, const QString &amp;)</li>
<li class="fn"><span class="name"><b><a href="screenplay-util.html#openFolderInExplorer">openFolderInExplorer</a></b></span>(const QString &amp;) const</li> <li class="fn"><span class="name"><b><a href="screenplay-util.html#openFolderInExplorer">openFolderInExplorer</a></b></span>(const QString &amp;) const</li>
<li class="fn"><span class="name"><b><a href="screenplay-util.html#openJsonFileToObject">openJsonFileToObject</a></b></span>(const QString &amp;) : std::optional&lt;QJsonObject&gt;</li>
</ul></td><td class="topAlign"><ul>
<li class="fn"><span class="name"><b><a href="screenplay-util.html#openJsonFileToString">openJsonFileToString</a></b></span>(const QString &amp;) : std::optional&lt;QString&gt;</li>
<li class="fn"><span class="name"><b><a href="screenplay-util.html#parseQByteArrayToQJsonObject">parseQByteArrayToQJsonObject</a></b></span>(const QByteArray &amp;) : std::optional&lt;QJsonObject&gt;</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#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#requestDataProtection">requestDataProtection</a></b></span>()</li>
<li class="fn"><span class="name"><b><a href="screenplay-util.html#toLocal">toLocal</a></b></span>(const QString &amp;) : QString</li>
<li class="fn"><span class="name"><b><a href="screenplay-util.html#toString">toString</a></b></span>(const QStringList &amp;) : QString</li>
<li class="fn"><span class="name"><b><a href="screenplay-util.html#writeFile">writeFile</a></b></span>(const QString &amp;, const QString &amp;) : bool</li> <li class="fn"><span class="name"><b><a href="screenplay-util.html#writeFile">writeFile</a></b></span>(const QString &amp;, const QString &amp;) : bool</li>
<li class="fn"><span class="name"><b><a href="screenplay-util.html#writeFileFromQrc">writeFileFromQrc</a></b></span>(const QString &amp;, const QString &amp;) : bool</li> <li class="fn"><span class="name"><b><a href="screenplay-util.html#writeFileFromQrc">writeFileFromQrc</a></b></span>(const QString &amp;, const QString &amp;) : bool</li>
<li class="fn"><span class="name"><b><a href="screenplay-util.html#writeJsonObjectToFile">writeJsonObjectToFile</a></b></span>(const QString &amp;, const QJsonObject &amp;, bool) : bool</li> <li class="fn"><span class="name"><b><a href="screenplay-util.html#writeJsonObjectToFile">writeJsonObjectToFile</a></b></span>(const QString &amp;, const QJsonObject &amp;, bool) : bool</li>
<li class="fn"><span class="name"><b><a href="screenplay-util.html#writeSettings">writeSettings</a></b></span>(const QJsonObject &amp;, const QString &amp;) : bool</li> <li class="fn"><span class="name"><b><a href="screenplay-util.html#writeSettings">writeSettings</a></b></span>(const QJsonObject &amp;, const QString &amp;) : bool</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#debugMessages-prop">debugMessages</a></b></span>() const : QString</li>
</ul> </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/bootstrap.bundle.min.js"></script> <script src="../js/mermaid.min.js"></script> <script>var config = {startOnLoad:true,flowchart:{useMaxWidth:true,htmlLabels:true}};mermaid.initialize(config);</script></body> <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/bootstrap.bundle.min.js"></script> <script src="../js/mermaid.min.js"></script> <script>var config = {startOnLoad:true,flowchart:{useMaxWidth:true,htmlLabels:true}};mermaid.initialize(config);</script></body>
</html> </html>

View File

@ -21,7 +21,7 @@
</div> </div>
<div class="sidebar-content" id="sidebar-content"></div></div> <div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">Util Class</h1> <h1 class="title">Util Class</h1>
<span class="small-subtitle">class <a href="screenplay.html">ScreenPlay</a>::Util</span> <span class="small-subtitle">class <a href="screenplay-module.html">ScreenPlay</a>::Util</span>
<!-- $$$Util-brief --> <!-- $$$Util-brief -->
<p>Easy to use global object to use when certain functionality is not available in QML. <a href="#details">More...</a></p> <p>Easy to use global object to use when certain functionality is not available in QML. <a href="#details">More...</a></p>
<!-- @@@Util --> <!-- @@@Util -->
@ -39,22 +39,12 @@
<a name="public-slots"></a> <a name="public-slots"></a>
<h2 id="public-slots">Public Slots</h2> <h2 id="public-slots">Public Slots</h2>
<div class="table"><table class="alignedsummary"> <div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="screenplay-util.html#copyPreviewThumbnail">copyPreviewThumbnail</a></b>(QJsonObject &amp;<i>obj</i>, const QString &amp;<i>name</i>, const QString &amp;<i>destination</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="screenplay-util.html#copyPreviewThumbnail">copyPreviewThumbnail</a></b>(QJsonObject &amp;<i>obj</i>, const QString &amp;<i>previewThumbnail</i>, const QString &amp;<i>destination</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-util.html#copyToClipboard">copyToClipboard</a></b>(const QString &amp;<i>text</i>) const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-util.html#copyToClipboard">copyToClipboard</a></b>(const QString &amp;<i>text</i>) const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QJsonArray </td><td class="memItemRight bottomAlign"><b><a href="screenplay-util.html#fillArray">fillArray</a></b>(const QVector&lt;QString&gt; &amp;<i>items</i>)</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"> std::optional&lt;InstalledType::InstalledType&gt; </td><td class="memItemRight bottomAlign"><b><a href="screenplay-util.html#getInstalledTypeFromString">getInstalledTypeFromString</a></b>(const QString &amp;<i>type</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> SearchType::SearchType </td><td class="memItemRight bottomAlign"><b><a href="screenplay-util.html#getSearchTypeFromInstalledType">getSearchTypeFromInstalledType</a></b>(const InstalledType::InstalledType <i>type</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> std::optional&lt;QVersionNumber&gt; </td><td class="memItemRight bottomAlign"><b><a href="screenplay-util.html#getVersionNumberFromString">getVersionNumberFromString</a></b>(const QString &amp;<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 &amp;<i>context</i>, const QString &amp;<i>msg</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 &amp;<i>context</i>, const QString &amp;<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 &amp;<i>url</i>) const</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 &amp;<i>url</i>) const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> std::optional&lt;QJsonObject&gt; </td><td class="memItemRight bottomAlign"><b><a href="screenplay-util.html#openJsonFileToObject">openJsonFileToObject</a></b>(const QString &amp;<i>path</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> std::optional&lt;QString&gt; </td><td class="memItemRight bottomAlign"><b><a href="screenplay-util.html#openJsonFileToString">openJsonFileToString</a></b>(const QString &amp;<i>path</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> std::optional&lt;QJsonObject&gt; </td><td class="memItemRight bottomAlign"><b><a href="screenplay-util.html#parseQByteArrayToQJsonObject">parseQByteArrayToQJsonObject</a></b>(const QByteArray &amp;<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#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"> 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#toLocal">toLocal</a></b>(const QString &amp;<i>url</i>)</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 &amp;<i>list</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="screenplay-util.html#writeFile">writeFile</a></b>(const QString &amp;<i>text</i>, const QString &amp;<i>absolutePath</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="screenplay-util.html#writeFile">writeFile</a></b>(const QString &amp;<i>text</i>, const QString &amp;<i>absolutePath</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="screenplay-util.html#writeFileFromQrc">writeFileFromQrc</a></b>(const QString &amp;<i>qrcPath</i>, const QString &amp;<i>absolutePath</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="screenplay-util.html#writeFileFromQrc">writeFileFromQrc</a></b>(const QString &amp;<i>qrcPath</i>, const QString &amp;<i>absolutePath</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="screenplay-util.html#writeJsonObjectToFile">writeJsonObjectToFile</a></b>(const QString &amp;<i>absoluteFilePath</i>, const QJsonObject &amp;<i>object</i>, bool <i>truncate</i> = true)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="screenplay-util.html#writeJsonObjectToFile">writeJsonObjectToFile</a></b>(const QString &amp;<i>absoluteFilePath</i>, const QJsonObject &amp;<i>object</i>, bool <i>truncate</i> = true)</td></tr>
@ -78,38 +68,13 @@
<p>Constructor.</p> <p>Constructor.</p>
<!-- @@@Util --> <!-- @@@Util -->
<!-- $$$copyPreviewThumbnail[overload1]$$$copyPreviewThumbnailQJsonObject&constQString&constQString& --> <!-- $$$copyPreviewThumbnail[overload1]$$$copyPreviewThumbnailQJsonObject&constQString&constQString& -->
<h3 class="fn" id="copyPreviewThumbnail"><a name="copyPreviewThumbnail"></a><code>[static slot] </code><span class="type">bool</span> Util::<span class="name">copyPreviewThumbnail</span>(<span class="type">QJsonObject</span> &amp;<i>obj</i>, const <span class="type">QString</span> &amp;<i>name</i>, const <span class="type">QString</span> &amp;<i>destination</i>)</h3> <h3 class="fn" id="copyPreviewThumbnail"><a name="copyPreviewThumbnail"></a><code>[static slot] </code><span class="type">bool</span> Util::<span class="name">copyPreviewThumbnail</span>(<span class="type">QJsonObject</span> &amp;<i>obj</i>, const <span class="type">QString</span> &amp;<i>previewThumbnail</i>, const <span class="type">QString</span> &amp;<i>destination</i>)</h3>
<p>Takes reference to <i>obj</i>. If the copy of the thumbnail is successful, it adds the corresponding settings entry to the json object reference.</p> <p>Takes reference to <i>obj</i>. If the copy of the thumbnail is successful, it adds the corresponding settings entry to the json object reference.</p>
<!-- @@@copyPreviewThumbnail --> <!-- @@@copyPreviewThumbnail -->
<!-- $$$copyToClipboard[overload1]$$$copyToClipboardconstQString& --> <!-- $$$copyToClipboard[overload1]$$$copyToClipboardconstQString& -->
<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> &amp;<i>text</i>) const</h3> <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> &amp;<i>text</i>) const</h3>
<p>Copies the given string to the clipboard.</p> <p>Copies the given string to the clipboard.</p>
<!-- @@@copyToClipboard --> <!-- @@@copyToClipboard -->
<!-- $$$fillArray[overload1]$$$fillArrayconstQVector<QString>& -->
<h3 class="fn" id="fillArray"><a name="fillArray"></a><code>[static slot] </code><span class="type">QJsonArray</span> Util::<span class="name">fillArray</span>(const <span class="type">QVector</span>&lt;<span class="type">QString</span>&gt; &amp;<i>items</i>)</h3>
<p>Util function that converts a QVector of Strings into a QJsonArray.</p>
<!-- @@@fillArray -->
<!-- $$$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>
<ul>
<li>A-Z</li>
<li>a-z</li>
<li>0-9</li>
</ul>
<!-- @@@generateRandomString -->
<!-- $$$getInstalledTypeFromString[overload1]$$$getInstalledTypeFromStringconstQString& -->
<h3 class="fn" id="getInstalledTypeFromString"><a name="getInstalledTypeFromString"></a><code>[static slot] </code><span class="type">std::optional</span>&lt;<span class="type">InstalledType::InstalledType</span>&gt; Util::<span class="name">getInstalledTypeFromString</span>(const <span class="type">QString</span> &amp;<i>type</i>)</h3>
<p>Maps the installed type from a QString to an enum. Used for parsing the project.json.</p>
<!-- @@@getInstalledTypeFromString -->
<!-- $$$getSearchTypeFromInstalledType[overload1]$$$getSearchTypeFromInstalledTypeconstInstalledType::InstalledType -->
<h3 class="fn" id="getSearchTypeFromInstalledType"><a name="getSearchTypeFromInstalledType"></a><code>[static slot] </code><span class="type">SearchType::SearchType</span> Util::<span class="name">getSearchTypeFromInstalledType</span>(const <span class="type">InstalledType::InstalledType</span> <i>type</i>)</h3>
<p>Maps the Search type to an installed type. Used for filtering the installed content.</p>
<!-- @@@getSearchTypeFromInstalledType -->
<!-- $$$getVersionNumberFromString[overload1]$$$getVersionNumberFromStringconstQString& -->
<h3 class="fn" id="getVersionNumberFromString"><a name="getVersionNumberFromString"></a><code>[static slot] </code><span class="type">std::optional</span>&lt;<span class="type">QVersionNumber</span>&gt; Util::<span class="name">getVersionNumberFromString</span>(const <span class="type">QString</span> &amp;<i>str</i>)</h3>
<p>Parses a version from a given QString. The QString must be looke like this: 1.0&#x2e;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& --> <!-- $$$logToGui[overload1]$$$logToGuiQtMsgTypeconstQMessageLogContext&constQString& -->
<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> &amp;<i>context</i>, const <span class="type">QString</span> &amp;<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> &amp;<i>context</i>, const <span class="type">QString</span> &amp;<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> <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>
@ -118,18 +83,6 @@
<h3 class="fn" id="openFolderInExplorer"><a name="openFolderInExplorer"></a><code>[slot] </code><span class="type">void</span> Util::<span class="name">openFolderInExplorer</span>(const <span class="type">QString</span> &amp;<i>url</i>) const</h3> <h3 class="fn" id="openFolderInExplorer"><a name="openFolderInExplorer"></a><code>[slot] </code><span class="type">void</span> Util::<span class="name">openFolderInExplorer</span>(const <span class="type">QString</span> &amp;<i>url</i>) const</h3>
<p>Opens a native folder window on the given path. Windows and Mac only for now!</p> <p>Opens a native folder window on the given path. Windows and Mac only for now!</p>
<!-- @@@openFolderInExplorer --> <!-- @@@openFolderInExplorer -->
<!-- $$$openJsonFileToObject[overload1]$$$openJsonFileToObjectconstQString& -->
<h3 class="fn" id="openJsonFileToObject"><a name="openJsonFileToObject"></a><code>[static slot] </code><span class="type">std::optional</span>&lt;<span class="type">QJsonObject</span>&gt; Util::<span class="name">openJsonFileToObject</span>(const <span class="type">QString</span> &amp;<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">std::optional</span>&lt;<span class="type">QString</span>&gt; Util::<span class="name">openJsonFileToString</span>(const <span class="type">QString</span> &amp;<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">std::optional</span>&lt;<span class="type">QJsonObject</span>&gt; Util::<span class="name">parseQByteArrayToQJsonObject</span>(const <span class="type">QByteArray</span> &amp;<i>byteArray</i>)</h3>
<p>Parses a QByteArray to a QJsonObject. If returns and std::nullopt on failure.</p>
<!-- @@@parseQByteArrayToQJsonObject -->
<!-- $$$requestAllLicenses[overload1]$$$requestAllLicenses --> <!-- $$$requestAllLicenses[overload1]$$$requestAllLicenses -->
<h3 class="fn" id="requestAllLicenses"><a name="requestAllLicenses"></a><code>[slot] </code><span class="type">void</span> Util::<span class="name">requestAllLicenses</span>()</h3> <h3 class="fn" id="requestAllLicenses"><a name="requestAllLicenses"></a><code>[slot] </code><span class="type">void</span> Util::<span class="name">requestAllLicenses</span>()</h3>
<p>Loads all content of the legal folder in the qrc into a property string of this class. allLicenseLoaded is emited when loading is finished.</p> <p>Loads all content of the legal folder in the qrc into a property string of this class. allLicenseLoaded is emited when loading is finished.</p>
@ -138,14 +91,6 @@
<h3 class="fn" id="requestDataProtection"><a name="requestDataProtection"></a><code>[slot] </code><span class="type">void</span> Util::<span class="name">requestDataProtection</span>()</h3> <h3 class="fn" id="requestDataProtection"><a name="requestDataProtection"></a><code>[slot] </code><span class="type">void</span> Util::<span class="name">requestDataProtection</span>()</h3>
<p>Loads all dataprotection of the legal folder in the qrc into a property string of this class. allDataProtectionLoaded is emited when loading is finished.</p> <p>Loads all dataprotection of the legal folder in the qrc into a property string of this class. allDataProtectionLoaded is emited when loading is finished.</p>
<!-- @@@requestDataProtection --> <!-- @@@requestDataProtection -->
<!-- $$$toLocal[overload1]$$$toLocalconstQString& -->
<h3 class="fn" id="toLocal"><a name="toLocal"></a><code>[static slot] </code><span class="type">QString</span> Util::<span class="name">toLocal</span>(const <span class="type">QString</span> &amp;<i>url</i>)</h3>
<p>Converts the given <i>url</i> string to a local file path.</p>
<!-- @@@toLocal -->
<!-- $$$toString[overload1]$$$toStringconstQStringList& -->
<h3 class="fn" id="toString"><a name="toString"></a><code>[static slot] </code><span class="type">QString</span> Util::<span class="name">toString</span>(const <span class="type">QStringList</span> &amp;<i>list</i>)</h3>
<p>Helper function to append a QStringList into a QString with a space between the items.</p>
<!-- @@@toString -->
<!-- $$$writeFile[overload1]$$$writeFileconstQString&constQString& --> <!-- $$$writeFile[overload1]$$$writeFileconstQString&constQString& -->
<h3 class="fn" id="writeFile"><a name="writeFile"></a><code>[static slot] </code><span class="type">bool</span> Util::<span class="name">writeFile</span>(const <span class="type">QString</span> &amp;<i>text</i>, const <span class="type">QString</span> &amp;<i>absolutePath</i>)</h3> <h3 class="fn" id="writeFile"><a name="writeFile"></a><code>[static slot] </code><span class="type">bool</span> Util::<span class="name">writeFile</span>(const <span class="type">QString</span> &amp;<i>text</i>, const <span class="type">QString</span> &amp;<i>absolutePath</i>)</h3>
<p>Tries to save into a text file with absolute path.</p> <p>Tries to save into a text file with absolute path.</p>

View File

@ -20,7 +20,7 @@
</div> </div>
<div class="sidebar-content" id="sidebar-content"></div></div> <div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">Wizards Class</h1> <h1 class="title">Wizards Class</h1>
<span class="small-subtitle">class <a href="screenplay.html">ScreenPlay</a>::Wizards</span> <span class="small-subtitle">class <a href="screenplay-module.html">ScreenPlay</a>::Wizards</span>
<!-- $$$Wizards-brief --> <!-- $$$Wizards-brief -->
<p>Baseclass for all wizards. Mostly for copying and creating project files. <a href="#details">More...</a></p> <p>Baseclass for all wizards. Mostly for copying and creating project files. <a href="#details">More...</a></p>
<!-- @@@Wizards --> <!-- @@@Wizards -->
@ -38,9 +38,9 @@
<h2 id="public-slots">Public Slots</h2> <h2 id="public-slots">Public Slots</h2>
<div class="table"><table class="alignedsummary"> <div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-wizards.html#createHTMLWallpaper">createHTMLWallpaper</a></b>(const QString &amp;<i>title</i>, const QString &amp;<i>licenseName</i>, const QString &amp;<i>licenseFile</i>, const QString &amp;<i>createdBy</i>, const QString &amp;<i>previewThumbnail</i>, const QVector&lt;QString&gt; &amp;<i>tags</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-wizards.html#createHTMLWallpaper">createHTMLWallpaper</a></b>(const QString &amp;<i>title</i>, const QString &amp;<i>licenseName</i>, const QString &amp;<i>licenseFile</i>, const QString &amp;<i>createdBy</i>, const QString &amp;<i>previewThumbnail</i>, const QVector&lt;QString&gt; &amp;<i>tags</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-wizards.html#createHTMLWidget">createHTMLWidget</a></b>(const QString &amp;<i>title</i>, const QString &amp;<i>licenseName</i>, const QString &amp;<i>licenseFile</i>, const QString &amp;<i>previewThumbnail</i>, const QString &amp;<i>createdBy</i>, const QVector&lt;QString&gt; &amp;<i>tags</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-wizards.html#createHTMLWidget">createHTMLWidget</a></b>(const QString &amp;<i>title</i>, const QString &amp;<i>licenseName</i>, const QString &amp;<i>licenseFile</i>, const QString &amp;<i>createdBy</i>, const QString &amp;<i>previewThumbnail</i>, const QVector&lt;QString&gt; &amp;<i>tags</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-wizards.html#createQMLWallpaper">createQMLWallpaper</a></b>(const QString &amp;<i>title</i>, const QString &amp;<i>licenseName</i>, const QString &amp;<i>licenseFile</i>, const QString &amp;<i>createdBy</i>, const QString &amp;<i>previewThumbnail</i>, const QVector&lt;QString&gt; &amp;<i>tags</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-wizards.html#createQMLWallpaper">createQMLWallpaper</a></b>(const QString &amp;<i>title</i>, const QString &amp;<i>licenseName</i>, const QString &amp;<i>licenseFile</i>, const QString &amp;<i>createdBy</i>, const QString &amp;<i>previewThumbnail</i>, const QVector&lt;QString&gt; &amp;<i>tags</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-wizards.html#createQMLWidget">createQMLWidget</a></b>(const QString &amp;<i>title</i>, const QString &amp;<i>licenseName</i>, const QString &amp;<i>licenseFile</i>, const QString &amp;<i>previewThumbnail</i>, const QString &amp;<i>createdBy</i>, const QVector&lt;QString&gt; &amp;<i>tags</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-wizards.html#createQMLWidget">createQMLWidget</a></b>(const QString &amp;<i>title</i>, const QString &amp;<i>licenseName</i>, const QString &amp;<i>licenseFile</i>, const QString &amp;<i>createdBy</i>, const QString &amp;<i>previewThumbnail</i>, const QVector&lt;QString&gt; &amp;<i>tags</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-wizards.html#createWebsiteWallpaper">createWebsiteWallpaper</a></b>(const QString &amp;<i>title</i>, const QString &amp;<i>previewThumbnail</i>, const QUrl &amp;<i>url</i>, const QVector&lt;QString&gt; &amp;<i>tags</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplay-wizards.html#createWebsiteWallpaper">createWebsiteWallpaper</a></b>(const QString &amp;<i>title</i>, const QString &amp;<i>previewThumbnail</i>, const QUrl &amp;<i>url</i>, const QVector&lt;QString&gt; &amp;<i>tags</i>)</td></tr>
</table></div> </table></div>
<a name="details"></a> <a name="details"></a>
@ -60,7 +60,7 @@
<p>Creates a HTML wallpaper.</p> <p>Creates a HTML wallpaper.</p>
<!-- @@@createHTMLWallpaper --> <!-- @@@createHTMLWallpaper -->
<!-- $$$createHTMLWidget[overload1]$$$createHTMLWidgetconstQString&constQString&constQString&constQString&constQString&constQVector<QString>& --> <!-- $$$createHTMLWidget[overload1]$$$createHTMLWidgetconstQString&constQString&constQString&constQString&constQString&constQVector<QString>& -->
<h3 class="fn" id="createHTMLWidget"><a name="createHTMLWidget"></a><code>[slot] </code><span class="type">void</span> Wizards::<span class="name">createHTMLWidget</span>(const <span class="type">QString</span> &amp;<i>title</i>, const <span class="type">QString</span> &amp;<i>licenseName</i>, const <span class="type">QString</span> &amp;<i>licenseFile</i>, const <span class="type">QString</span> &amp;<i>previewThumbnail</i>, const <span class="type">QString</span> &amp;<i>createdBy</i>, const <span class="type">QVector</span>&lt;<span class="type">QString</span>&gt; &amp;<i>tags</i>)</h3> <h3 class="fn" id="createHTMLWidget"><a name="createHTMLWidget"></a><code>[slot] </code><span class="type">void</span> Wizards::<span class="name">createHTMLWidget</span>(const <span class="type">QString</span> &amp;<i>title</i>, const <span class="type">QString</span> &amp;<i>licenseName</i>, const <span class="type">QString</span> &amp;<i>licenseFile</i>, const <span class="type">QString</span> &amp;<i>createdBy</i>, const <span class="type">QString</span> &amp;<i>previewThumbnail</i>, const <span class="type">QVector</span>&lt;<span class="type">QString</span>&gt; &amp;<i>tags</i>)</h3>
<p>Creates a new widget.</p> <p>Creates a new widget.</p>
<!-- @@@createHTMLWidget --> <!-- @@@createHTMLWidget -->
<!-- $$$createQMLWallpaper[overload1]$$$createQMLWallpaperconstQString&constQString&constQString&constQString&constQString&constQVector<QString>& --> <!-- $$$createQMLWallpaper[overload1]$$$createQMLWallpaperconstQString&constQString&constQString&constQString&constQString&constQVector<QString>& -->
@ -68,7 +68,7 @@
<p>.</p> <p>.</p>
<!-- @@@createQMLWallpaper --> <!-- @@@createQMLWallpaper -->
<!-- $$$createQMLWidget[overload1]$$$createQMLWidgetconstQString&constQString&constQString&constQString&constQString&constQVector<QString>& --> <!-- $$$createQMLWidget[overload1]$$$createQMLWidgetconstQString&constQString&constQString&constQString&constQString&constQVector<QString>& -->
<h3 class="fn" id="createQMLWidget"><a name="createQMLWidget"></a><code>[slot] </code><span class="type">void</span> Wizards::<span class="name">createQMLWidget</span>(const <span class="type">QString</span> &amp;<i>title</i>, const <span class="type">QString</span> &amp;<i>licenseName</i>, const <span class="type">QString</span> &amp;<i>licenseFile</i>, const <span class="type">QString</span> &amp;<i>previewThumbnail</i>, const <span class="type">QString</span> &amp;<i>createdBy</i>, const <span class="type">QVector</span>&lt;<span class="type">QString</span>&gt; &amp;<i>tags</i>)</h3> <h3 class="fn" id="createQMLWidget"><a name="createQMLWidget"></a><code>[slot] </code><span class="type">void</span> Wizards::<span class="name">createQMLWidget</span>(const <span class="type">QString</span> &amp;<i>title</i>, const <span class="type">QString</span> &amp;<i>licenseName</i>, const <span class="type">QString</span> &amp;<i>licenseFile</i>, const <span class="type">QString</span> &amp;<i>createdBy</i>, const <span class="type">QString</span> &amp;<i>previewThumbnail</i>, const <span class="type">QVector</span>&lt;<span class="type">QString</span>&gt; &amp;<i>tags</i>)</h3>
<p>Creates a new widget.</p> <p>Creates a new widget.</p>
<!-- @@@createQMLWidget --> <!-- @@@createQMLWidget -->
<!-- $$$createWebsiteWallpaper[overload1]$$$createWebsiteWallpaperconstQString&constQString&constQUrl&constQVector<QString>& --> <!-- $$$createWebsiteWallpaper[overload1]$$$createWebsiteWallpaperconstQString&constQString&constQUrl&constQVector<QString>& -->

View File

@ -54,7 +54,7 @@
<div class="classes"> <div class="classes">
<h2>Classes</h2> <h2>Classes</h2>
<h3> class <a href="screenplay-app.html">App</a></h3><!-- $$$App-brief --> <h3> class <a href="screenplay-app.html">App</a></h3><!-- $$$App-brief -->
<p>The App class contains all members for <a href="screenplay.html">ScreenPlay</a>. <a href="screenplay-app.html#details">More...</a></p> <p>The App class contains all members for <a href="screenplay-module.html">ScreenPlay</a>. <a href="screenplay-app.html#details">More...</a></p>
<!-- @@@App --> <!-- @@@App -->
<h3> class <a href="screenplay-create.html">Create</a></h3><!-- $$$Create-brief --> <h3> class <a href="screenplay-create.html">Create</a></h3><!-- $$$Create-brief -->
<p>Baseclass for creating wallapers, widgets and the corresponding wizards. <a href="screenplay-create.html#details">More...</a></p> <p>Baseclass for creating wallapers, widgets and the corresponding wizards. <a href="screenplay-create.html#details">More...</a></p>

View File

@ -0,0 +1,27 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<!-- screenplaysdk.cpp -->
<title>List of All Members for ScreenPlaySDK | ScreenPlay</title>
<link rel="stylesheet" type="text/css" href="../css/style.css"/> <link rel="stylesheet" type="text/css" href="../css/bootstrap.min.css"/>
</head>
<body>
<div class="container-fullwidth nav sticky-top"><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 ">
<li>ScreenPlaySDK</li>
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">List of All Members for ScreenPlaySDK</h1>
<p>This is the complete list of members for <a href="screenplaysdk.html">ScreenPlaySDK</a>, including inherited members.</p>
<ul>
<li class="fn"><span class="name"><b><a href="screenplaysdk.html#appID-prop">appIDChanged</a></b></span>(QString)</li>
<li class="fn"><span class="name"><b><a href="screenplaysdk.html#isConnected-prop">isConnectedChanged</a></b></span>(bool)</li>
<li class="fn"><span class="name"><b><a href="screenplaysdk.html#appID-prop">setAppID</a></b></span>(QString)</li>
<li class="fn"><span class="name"><b><a href="screenplaysdk.html#isConnected-prop">setIsConnected</a></b></span>(bool)</li>
<li class="fn"><span class="name"><b><a href="screenplaysdk.html#type-prop">setType</a></b></span>(QString)</li>
<li class="fn"><span class="name"><b><a href="screenplaysdk.html#type-prop">typeChanged</a></b></span>(QString)</li>
<li class="fn"><span class="name"><b><a href="screenplaysdk.html#appID-prop">appID</a></b></span>() const : QString</li>
<li class="fn"><span class="name"><b><a href="screenplaysdk.html#isConnected-prop">isConnected</a></b></span>() const : bool</li>
<li class="fn"><span class="name"><b><a href="screenplaysdk.html#type-prop">type</a></b></span>() const : QString</li>
</ul>
<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/bootstrap.bundle.min.js"></script> <script src="../js/mermaid.min.js"></script> <script>var config = {startOnLoad:true,flowchart:{useMaxWidth:true,htmlLabels:true}};mermaid.initialize(config);</script></body>
</html>

View File

@ -0,0 +1,37 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<!-- screenplaysdk.cpp -->
<title>ScreenPlaySDK | ScreenPlay</title>
<link rel="stylesheet" type="text/css" href="../css/style.css"/> <link rel="stylesheet" type="text/css" href="../css/bootstrap.min.css"/>
</head>
<body>
<div class="container-fullwidth nav sticky-top"><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 ">
<div class="sidebar">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#classes">Classes</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">ScreenPlaySDK</h1>
<span class="subtitle"></span>
<!-- $$$ScreenPlaySDK-brief -->
<p>Namespace for ScreenPlaySDK. <a href="#details">More...</a></p>
<!-- @@@ScreenPlaySDK -->
<a name="classes"></a>
<h2 id="classes">Classes</h2>
<div class="table"><table class="annotated">
<tr class="odd topAlign"><td class="tblName"><p><a href="screenplaysdk.html">ScreenPlaySDK</a></p></td><td class="tblDescr"><p></p></td></tr>
</table></div>
<!-- $$$ScreenPlaySDK-description -->
<a name="details"></a>
<div class="descr">
<h2 id="details">Detailed Description</h2>
</div>
<!-- @@@ScreenPlaySDK -->
<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/bootstrap.bundle.min.js"></script> <script src="../js/mermaid.min.js"></script> <script>var config = {startOnLoad:true,flowchart:{useMaxWidth:true,htmlLabels:true}};mermaid.initialize(config);</script></body>
</html>

View File

@ -0,0 +1,60 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<!-- screenplaysdk.cpp -->
<title>ScreenPlaySDK Class | ScreenPlay</title>
<link rel="stylesheet" type="text/css" href="../css/style.css"/> <link rel="stylesheet" type="text/css" href="../css/bootstrap.min.css"/>
</head>
<body>
<div class="container-fullwidth nav sticky-top"><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 ">
<li>ScreenPlaySDK</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">ScreenPlaySDK Class</h1>
<!-- $$$ScreenPlaySDK-brief -->
<p>. <a href="#details">More...</a></p>
<!-- @@@ScreenPlaySDK -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign"> <span class="preprocessor">#include &lt;ScreenPlaySDK&gt;</span>
</td></tr></table></div><ul>
<li><a href="screenplaysdk-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">
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="screenplaysdk.html#appID-prop">appID</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="screenplaysdk.html#isConnected-prop">isConnected</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="screenplaysdk.html#type-prop">type</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="screenplaysdk.html#appID-prop">setAppID</a></b>(QString <i>appID</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplaysdk.html#isConnected-prop">setIsConnected</a></b>(bool <i>isConnected</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplaysdk.html#type-prop">setType</a></b>(QString <i>type</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="screenplaysdk.html#appID-prop">appIDChanged</a></b>(QString <i>appID</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplaysdk.html#isConnected-prop">isConnectedChanged</a></b>(bool <i>isConnected</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="screenplaysdk.html#type-prop">typeChanged</a></b>(QString <i>type</i>)</td></tr>
</table></div>
<a name="details"></a>
<!-- $$$ScreenPlaySDK-description -->
<div class="descr">
<h2 id="details">Detailed Description</h2>
</div>
<!-- @@@ScreenPlaySDK -->
<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/bootstrap.bundle.min.js"></script> <script src="../js/mermaid.min.js"></script> <script>var config = {startOnLoad:true,flowchart:{useMaxWidth:true,htmlLabels:true}};mermaid.initialize(config);</script></body>
</html>

View File

@ -0,0 +1,37 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<!-- shaderlibrary.cpp -->
<title>ScreenPlayShader | ScreenPlay</title>
<link rel="stylesheet" type="text/css" href="../css/style.css"/> <link rel="stylesheet" type="text/css" href="../css/bootstrap.min.css"/>
</head>
<body>
<div class="container-fullwidth nav sticky-top"><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 ">
<div class="sidebar">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#classes">Classes</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">ScreenPlayShader</h1>
<span class="subtitle"></span>
<!-- $$$ScreenPlayShader-brief -->
<p>Module for ScreenPlayShader. <a href="#details">More...</a></p>
<!-- @@@ScreenPlayShader -->
<a name="classes"></a>
<h2 id="classes">Classes</h2>
<div class="table"><table class="annotated">
<tr class="odd topAlign"><td class="tblName"><p><a href="shaderlibrary.html">ShaderLibrary</a></p></td><td class="tblDescr"><p></p></td></tr>
</table></div>
<!-- $$$ScreenPlayShader-description -->
<a name="details"></a>
<div class="descr">
<h2 id="details">Detailed Description</h2>
</div>
<!-- @@@ScreenPlayShader -->
<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/bootstrap.bundle.min.js"></script> <script src="../js/mermaid.min.js"></script> <script>var config = {startOnLoad:true,flowchart:{useMaxWidth:true,htmlLabels:true}};mermaid.initialize(config);</script></body>
</html>

View File

@ -0,0 +1,42 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<!-- sysinfo.cpp -->
<title>ScreenPlaySysInfo | ScreenPlay</title>
<link rel="stylesheet" type="text/css" href="../css/style.css"/> <link rel="stylesheet" type="text/css" href="../css/bootstrap.min.css"/>
</head>
<body>
<div class="container-fullwidth nav sticky-top"><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 ">
<div class="sidebar">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#classes">Classes</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">ScreenPlaySysInfo</h1>
<span class="subtitle"></span>
<!-- $$$ScreenPlaySysInfo-brief -->
<p>Module for ScreenPlaySysInfo. <a href="#details">More...</a></p>
<!-- @@@ScreenPlaySysInfo -->
<a name="classes"></a>
<h2 id="classes">Classes</h2>
<div class="table"><table class="annotated">
<tr class="odd topAlign"><td class="tblName"><p><a href="cpu.html">CPU</a></p></td><td class="tblDescr"><p></p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="gpu.html">GPU</a></p></td><td class="tblDescr"><p></p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="ram.html">RAM</a></p></td><td class="tblDescr"><p></p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="storage.html">Storage</a></p></td><td class="tblDescr"><p></p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="sysinfo.html">SysInfo</a></p></td><td class="tblDescr"><p></p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="uptime.html">Uptime</a></p></td><td class="tblDescr"><p></p></td></tr>
</table></div>
<!-- $$$ScreenPlaySysInfo-description -->
<a name="details"></a>
<div class="descr">
<h2 id="details">Detailed Description</h2>
</div>
<!-- @@@ScreenPlaySysInfo -->
<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/bootstrap.bundle.min.js"></script> <script src="../js/mermaid.min.js"></script> <script>var config = {startOnLoad:true,flowchart:{useMaxWidth:true,htmlLabels:true}};mermaid.initialize(config);</script></body>
</html>

View File

@ -0,0 +1,37 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<!-- util.cpp -->
<title>ScreenPlayUtil | ScreenPlay</title>
<link rel="stylesheet" type="text/css" href="../css/style.css"/> <link rel="stylesheet" type="text/css" href="../css/bootstrap.min.css"/>
</head>
<body>
<div class="container-fullwidth nav sticky-top"><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 ">
<div class="sidebar">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#namespaces">Namespaces</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">ScreenPlayUtil</h1>
<span class="subtitle"></span>
<!-- $$$ScreenPlayUtil-brief -->
<p>Module for ScreenPlayUtil. <a href="#details">More...</a></p>
<!-- @@@ScreenPlayUtil -->
<a name="namespaces"></a>
<h2 id="namespaces">Namespaces</h2>
<div class="table"><table class="annotated">
<tr class="odd topAlign"><td class="tblName"><p><a href="screenplayutil.html">ScreenPlayUtil</a></p></td><td class="tblDescr"><p>Namespace for ScreenPlayUtil</p></td></tr>
</table></div>
<!-- $$$ScreenPlayUtil-description -->
<a name="details"></a>
<div class="descr">
<h2 id="details">Detailed Description</h2>
</div>
<!-- @@@ScreenPlayUtil -->
<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/bootstrap.bundle.min.js"></script> <script src="../js/mermaid.min.js"></script> <script>var config = {startOnLoad:true,flowchart:{useMaxWidth:true,htmlLabels:true}};mermaid.initialize(config);</script></body>
</html>

View File

@ -0,0 +1,142 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<!-- util.cpp -->
<title>ScreenPlayUtil Namespace | ScreenPlay</title>
<link rel="stylesheet" type="text/css" href="../css/style.css"/> <link rel="stylesheet" type="text/css" href="../css/bootstrap.min.css"/>
</head>
<body>
<div class="container-fullwidth nav sticky-top"><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 ">
<div class="sidebar">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#functions">Functions</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">ScreenPlayUtil Namespace</h1>
<!-- $$$ScreenPlayUtil-brief -->
<p>Namespace for ScreenPlayUtil. <a href="#details">More...</a></p>
<!-- @@@ScreenPlayUtil -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign"> <span class="preprocessor">#include &lt;ScreenPlayUtil&gt;</span>
</td></tr></table></div><ul>
</ul>
<a name="functions"></a>
<h2 id="functions">Functions</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="screenplayutil.html#executableEnding">executableEnding</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QJsonArray </td><td class="memItemRight bottomAlign"><b><a href="screenplayutil.html#fillArray">fillArray</a></b>(const QVector&lt;QString&gt; &amp;<i>items</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="screenplayutil.html#generateRandomString">generateRandomString</a></b>(quint32 <i>length</i> = 32)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QStringList </td><td class="memItemRight bottomAlign"><b><a href="screenplayutil.html#getAvailableFillModes">getAvailableFillModes</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QStringList </td><td class="memItemRight bottomAlign"><b><a href="screenplayutil.html#getAvailableTypes">getAvailableTypes</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QStringList </td><td class="memItemRight bottomAlign"><b><a href="screenplayutil.html#getAvailableWallpaper">getAvailableWallpaper</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QStringList </td><td class="memItemRight bottomAlign"><b><a href="screenplayutil.html#getAvailableWidgets">getAvailableWidgets</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> std::optional&lt;ScreenPlay::InstalledType::InstalledType&gt; </td><td class="memItemRight bottomAlign"><b><a href="screenplayutil.html#getInstalledTypeFromString">getInstalledTypeFromString</a></b>(const QString &amp;<i>type</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> ScreenPlay::SearchType::SearchType </td><td class="memItemRight bottomAlign"><b><a href="screenplayutil.html#getSearchTypeFromInstalledType">getSearchTypeFromInstalledType</a></b>(const ScreenPlay::InstalledType::InstalledType <i>type</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> std::optional&lt;QVersionNumber&gt; </td><td class="memItemRight bottomAlign"><b><a href="screenplayutil.html#getVersionNumberFromString">getVersionNumberFromString</a></b>(const QString &amp;<i>str</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="screenplayutil.html#isWallpaper">isWallpaper</a></b>(const ScreenPlay::InstalledType::InstalledType <i>type</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="screenplayutil.html#isWidget">isWidget</a></b>(const ScreenPlay::InstalledType::InstalledType <i>type</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> std::optional&lt;QJsonObject&gt; </td><td class="memItemRight bottomAlign"><b><a href="screenplayutil.html#openJsonFileToObject">openJsonFileToObject</a></b>(const QString &amp;<i>path</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> std::optional&lt;QString&gt; </td><td class="memItemRight bottomAlign"><b><a href="screenplayutil.html#openJsonFileToString">openJsonFileToString</a></b>(const QString &amp;<i>path</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> std::optional&lt;QJsonObject&gt; </td><td class="memItemRight bottomAlign"><b><a href="screenplayutil.html#parseQByteArrayToQJsonObject">parseQByteArrayToQJsonObject</a></b>(const QByteArray &amp;<i>byteArray</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> std::optional&lt;QVector&lt;int&gt;&gt; </td><td class="memItemRight bottomAlign"><b><a href="screenplayutil.html#parseStringToIntegerList">parseStringToIntegerList</a></b>(const QString <i>string</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="screenplayutil.html#toLocal">toLocal</a></b>(const QString &amp;<i>url</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="screenplayutil.html#toString">toString</a></b>(const QStringList &amp;<i>list</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="screenplayutil.html#writeJsonObjectToFile">writeJsonObjectToFile</a></b>(const QString &amp;<i>absoluteFilePath</i>, const QJsonObject &amp;<i>object</i>, bool <i>truncate</i> = true)</td></tr>
</table></div>
<a name="details"></a>
<!-- $$$ScreenPlayUtil-description -->
<div class="descr">
<h2 id="details">Detailed Description</h2>
</div>
<!-- @@@ScreenPlayUtil -->
<div class="func">
<h2>Function Documentation</h2>
<!-- $$$executableEnding[overload1]$$$executableEnding -->
<h3 class="fn" id="executableEnding"><a name="executableEnding"></a><span class="type">QString</span> ScreenPlayUtil::<span class="name">executableEnding</span>()</h3>
<p>Return .exe in windows otherwise empty string.</p>
<!-- @@@executableEnding -->
<!-- $$$fillArray[overload1]$$$fillArrayconstQVector<QString>& -->
<h3 class="fn" id="fillArray"><a name="fillArray"></a><span class="type">QJsonArray</span> ScreenPlayUtil::<span class="name">fillArray</span>(const <span class="type">QVector</span>&lt;<span class="type">QString</span>&gt; &amp;<i>items</i>)</h3>
<p>Util function that converts a QVector of Strings into a QJsonArray.</p>
<!-- @@@fillArray -->
<!-- $$$generateRandomString[overload1]$$$generateRandomStringquint32 -->
<h3 class="fn" id="generateRandomString"><a name="generateRandomString"></a><span class="type">QString</span> ScreenPlayUtil::<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>
<ul>
<li>A-Z</li>
<li>a-z</li>
<li>0-9</li>
</ul>
<!-- @@@generateRandomString -->
<!-- $$$getAvailableFillModes[overload1]$$$getAvailableFillModes -->
<h3 class="fn" id="getAvailableFillModes"><a name="getAvailableFillModes"></a><span class="type">QStringList</span> ScreenPlayUtil::<span class="name">getAvailableFillModes</span>()</h3>
<p>See https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit</p>
<!-- @@@getAvailableFillModes -->
<!-- $$$getAvailableTypes[overload1]$$$getAvailableTypes -->
<h3 class="fn" id="getAvailableTypes"><a name="getAvailableTypes"></a><span class="type">QStringList</span> ScreenPlayUtil::<span class="name">getAvailableTypes</span>()</h3>
<p>.</p>
<!-- @@@getAvailableTypes -->
<!-- $$$getAvailableWallpaper[overload1]$$$getAvailableWallpaper -->
<h3 class="fn" id="getAvailableWallpaper"><a name="getAvailableWallpaper"></a><span class="type">QStringList</span> ScreenPlayUtil::<span class="name">getAvailableWallpaper</span>()</h3>
<p>.</p>
<!-- @@@getAvailableWallpaper -->
<!-- $$$getAvailableWidgets[overload1]$$$getAvailableWidgets -->
<h3 class="fn" id="getAvailableWidgets"><a name="getAvailableWidgets"></a><span class="type">QStringList</span> ScreenPlayUtil::<span class="name">getAvailableWidgets</span>()</h3>
<p>.</p>
<!-- @@@getAvailableWidgets -->
<!-- $$$getInstalledTypeFromString[overload1]$$$getInstalledTypeFromStringconstQString& -->
<h3 class="fn" id="getInstalledTypeFromString"><a name="getInstalledTypeFromString"></a><span class="type">std::optional</span>&lt;<span class="type">ScreenPlay::InstalledType::InstalledType</span>&gt; ScreenPlayUtil::<span class="name">getInstalledTypeFromString</span>(const <span class="type">QString</span> &amp;<i>type</i>)</h3>
<p>Maps the installed type from a QString to an enum. Used for parsing the project.json.</p>
<!-- @@@getInstalledTypeFromString -->
<!-- $$$getSearchTypeFromInstalledType[overload1]$$$getSearchTypeFromInstalledTypeconstScreenPlay::InstalledType::InstalledType -->
<h3 class="fn" id="getSearchTypeFromInstalledType"><a name="getSearchTypeFromInstalledType"></a><span class="type">ScreenPlay::SearchType::SearchType</span> ScreenPlayUtil::<span class="name">getSearchTypeFromInstalledType</span>(const <span class="type">ScreenPlay::InstalledType::InstalledType</span> <i>type</i>)</h3>
<p>Maps the Search type to an installed type. Used for filtering the installed content.</p>
<!-- @@@getSearchTypeFromInstalledType -->
<!-- $$$getVersionNumberFromString[overload1]$$$getVersionNumberFromStringconstQString& -->
<h3 class="fn" id="getVersionNumberFromString"><a name="getVersionNumberFromString"></a><span class="type">std::optional</span>&lt;<span class="type">QVersionNumber</span>&gt; ScreenPlayUtil::<span class="name">getVersionNumberFromString</span>(const <span class="type">QString</span> &amp;<i>str</i>)</h3>
<p>Parses a version from a given QString. The QString must be looke like this: 1.0&#x2e;0 - Major.Minor.Patch. A fixed position is used for parsing (at 0,2,4). Return std::nullopt when not successful.</p>
<!-- @@@getVersionNumberFromString -->
<!-- $$$isWallpaper[overload1]$$$isWallpaperconstScreenPlay::InstalledType::InstalledType -->
<h3 class="fn" id="isWallpaper"><a name="isWallpaper"></a><span class="type">bool</span> ScreenPlayUtil::<span class="name">isWallpaper</span>(const <span class="type">ScreenPlay::InstalledType::InstalledType</span> <i>type</i>)</h3>
<p>.</p>
<!-- @@@isWallpaper -->
<!-- $$$isWidget[overload1]$$$isWidgetconstScreenPlay::InstalledType::InstalledType -->
<h3 class="fn" id="isWidget"><a name="isWidget"></a><span class="type">bool</span> ScreenPlayUtil::<span class="name">isWidget</span>(const <span class="type">ScreenPlay::InstalledType::InstalledType</span> <i>type</i>)</h3>
<p>.</p>
<!-- @@@isWidget -->
<!-- $$$openJsonFileToObject[overload1]$$$openJsonFileToObjectconstQString& -->
<h3 class="fn" id="openJsonFileToObject"><a name="openJsonFileToObject"></a><span class="type">std::optional</span>&lt;<span class="type">QJsonObject</span>&gt; ScreenPlayUtil::<span class="name">openJsonFileToObject</span>(const <span class="type">QString</span> &amp;<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><span class="type">std::optional</span>&lt;<span class="type">QString</span>&gt; ScreenPlayUtil::<span class="name">openJsonFileToString</span>(const <span class="type">QString</span> &amp;<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><span class="type">std::optional</span>&lt;<span class="type">QJsonObject</span>&gt; ScreenPlayUtil::<span class="name">parseQByteArrayToQJsonObject</span>(const <span class="type">QByteArray</span> &amp;<i>byteArray</i>)</h3>
<p>Parses a QByteArray to a QJsonObject. If returns and std::nullopt on failure.</p>
<!-- @@@parseQByteArrayToQJsonObject -->
<!-- $$$parseStringToIntegerList[overload1]$$$parseStringToIntegerListconstQString -->
<h3 class="fn" id="parseStringToIntegerList"><a name="parseStringToIntegerList"></a><span class="type">std::optional</span>&lt;<span class="type">QVector</span>&lt;<span class="type">int</span>&gt;&gt; ScreenPlayUtil::<span class="name">parseStringToIntegerList</span>(const <span class="type">QString</span> <i>string</i>)</h3>
<p>parseIntList parses a list of string separated with a comma &quot;1,2,3&quot;. IMPORTANT: No trailing comma!</p>
<!-- @@@parseStringToIntegerList -->
<!-- $$$toLocal[overload1]$$$toLocalconstQString& -->
<h3 class="fn" id="toLocal"><a name="toLocal"></a><span class="type">QString</span> ScreenPlayUtil::<span class="name">toLocal</span>(const <span class="type">QString</span> &amp;<i>url</i>)</h3>
<p>Converts the given <i>url</i> string to a local file path.</p>
<!-- @@@toLocal -->
<!-- $$$toString[overload1]$$$toStringconstQStringList& -->
<h3 class="fn" id="toString"><a name="toString"></a><span class="type">QString</span> ScreenPlayUtil::<span class="name">toString</span>(const <span class="type">QStringList</span> &amp;<i>list</i>)</h3>
<p>Helper function to append a QStringList into a QString with a space between the items.</p>
<!-- @@@toString -->
<!-- $$$writeJsonObjectToFile[overload1]$$$writeJsonObjectToFileconstQString&constQJsonObject&bool -->
<h3 class="fn" id="writeJsonObjectToFile"><a name="writeJsonObjectToFile"></a><span class="type">bool</span> ScreenPlayUtil::<span class="name">writeJsonObjectToFile</span>(const <span class="type">QString</span> &amp;<i>absoluteFilePath</i>, const <span class="type">QJsonObject</span> &amp;<i>object</i>, <span class="type">bool</span> <i>truncate</i> = true)</h3>
<p>.</p>
<!-- @@@writeJsonObjectToFile -->
</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/bootstrap.bundle.min.js"></script> <script src="../js/mermaid.min.js"></script> <script>var config = {startOnLoad:true,flowchart:{useMaxWidth:true,htmlLabels:true}};mermaid.initialize(config);</script></body>
</html>

View File

@ -0,0 +1,39 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<!-- basewindow.cpp -->
<title>ScreenPlayWallpaper | ScreenPlay</title>
<link rel="stylesheet" type="text/css" href="../css/style.css"/> <link rel="stylesheet" type="text/css" href="../css/bootstrap.min.css"/>
</head>
<body>
<div class="container-fullwidth nav sticky-top"><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 ">
<div class="sidebar">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#classes">Classes</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">ScreenPlayWallpaper</h1>
<span class="subtitle"></span>
<!-- $$$ScreenPlayWallpaper-brief -->
<p>Module for ScreenPlayWallpaper. <a href="#details">More...</a></p>
<!-- @@@ScreenPlayWallpaper -->
<a name="classes"></a>
<h2 id="classes">Classes</h2>
<div class="table"><table class="annotated">
<tr class="odd topAlign"><td class="tblName"><p><a href="basewindow.html">BaseWindow</a></p></td><td class="tblDescr"><p></p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="winwindow.html">WinWindow</a></p></td><td class="tblDescr"><p></p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="windowsdesktopproperties.html">WindowsDesktopProperties</a></p></td><td class="tblDescr"><p></p></td></tr>
</table></div>
<!-- $$$ScreenPlayWallpaper-description -->
<a name="details"></a>
<div class="descr">
<h2 id="details">Detailed Description</h2>
</div>
<!-- @@@ScreenPlayWallpaper -->
<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/bootstrap.bundle.min.js"></script> <script src="../js/mermaid.min.js"></script> <script>var config = {startOnLoad:true,flowchart:{useMaxWidth:true,htmlLabels:true}};mermaid.initialize(config);</script></body>
</html>

View File

@ -0,0 +1,37 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<!-- widgetwindow.cpp -->
<title>ScreenPlayWidget | ScreenPlay</title>
<link rel="stylesheet" type="text/css" href="../css/style.css"/> <link rel="stylesheet" type="text/css" href="../css/bootstrap.min.css"/>
</head>
<body>
<div class="container-fullwidth nav sticky-top"><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 ">
<div class="sidebar">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#classes">Classes</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">ScreenPlayWidget</h1>
<span class="subtitle"></span>
<!-- $$$ScreenPlayWidget-brief -->
<p>Module for ScreenPlayWidget. <a href="#details">More...</a></p>
<!-- @@@ScreenPlayWidget -->
<a name="classes"></a>
<h2 id="classes">Classes</h2>
<div class="table"><table class="annotated">
<tr class="odd topAlign"><td class="tblName"><p><a href="widgetwindow.html">WidgetWindow</a></p></td><td class="tblDescr"><p></p></td></tr>
</table></div>
<!-- $$$ScreenPlayWidget-description -->
<a name="details"></a>
<div class="descr">
<h2 id="details">Detailed Description</h2>
</div>
<!-- @@@ScreenPlayWidget -->
<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/bootstrap.bundle.min.js"></script> <script src="../js/mermaid.min.js"></script> <script>var config = {startOnLoad:true,flowchart:{useMaxWidth:true,htmlLabels:true}};mermaid.initialize(config);</script></body>
</html>

View File

@ -0,0 +1,24 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<!-- shaderlibrary.cpp -->
<title>List of All Members for ShaderLibrary | ScreenPlay</title>
<link rel="stylesheet" type="text/css" href="../css/style.css"/> <link rel="stylesheet" type="text/css" href="../css/bootstrap.min.css"/>
</head>
<body>
<div class="container-fullwidth nav sticky-top"><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 ">
<li>ShaderLibrary</li>
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">List of All Members for ShaderLibrary</h1>
<p>This is the complete list of members for <a href="shaderlibrary.html">ShaderLibrary</a>, including inherited members.</p>
<ul>
<li class="fn"><span class="name"><b><a href="shaderlibrary.html#lightning-prop">lightningChanged</a></b></span>(Shader *)</li>
<li class="fn"><span class="name"><b><a href="shaderlibrary.html#lightning-prop">setLightning</a></b></span>(Shader *)</li>
<li class="fn"><span class="name"><b><a href="shaderlibrary.html#water-prop">setWater</a></b></span>(Shader *)</li>
<li class="fn"><span class="name"><b><a href="shaderlibrary.html#water-prop">waterChanged</a></b></span>(Shader *)</li>
<li class="fn"><span class="name"><b><a href="shaderlibrary.html#lightning-prop">lightning</a></b></span>() const : Shader *</li>
<li class="fn"><span class="name"><b><a href="shaderlibrary.html#water-prop">water</a></b></span>() const : Shader *</li>
</ul>
<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/bootstrap.bundle.min.js"></script> <script src="../js/mermaid.min.js"></script> <script>var config = {startOnLoad:true,flowchart:{useMaxWidth:true,htmlLabels:true}};mermaid.initialize(config);</script></body>
</html>

View File

@ -0,0 +1,57 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<!-- shaderlibrary.cpp -->
<title>ShaderLibrary Class | ScreenPlay</title>
<link rel="stylesheet" type="text/css" href="../css/style.css"/> <link rel="stylesheet" type="text/css" href="../css/bootstrap.min.css"/>
</head>
<body>
<div class="container-fullwidth nav sticky-top"><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 ">
<li>ShaderLibrary</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">ShaderLibrary Class</h1>
<!-- $$$ShaderLibrary-brief -->
<p>. <a href="#details">More...</a></p>
<!-- @@@ShaderLibrary -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign"> <span class="preprocessor">#include &lt;ShaderLibrary&gt;</span>
</td></tr></table></div><ul>
<li><a href="shaderlibrary-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">
<tr><td class="memItemLeft rightAlign topAlign"> Shader *</td><td class="memItemRight bottomAlign"><b><a href="shaderlibrary.html#lightning-prop">lightning</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> Shader *</td><td class="memItemRight bottomAlign"><b><a href="shaderlibrary.html#water-prop">water</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="shaderlibrary.html#lightning-prop">setLightning</a></b>(Shader *<i>lightning</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="shaderlibrary.html#water-prop">setWater</a></b>(Shader *<i>water</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="shaderlibrary.html#lightning-prop">lightningChanged</a></b>(Shader *<i>lightning</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="shaderlibrary.html#water-prop">waterChanged</a></b>(Shader *<i>water</i>)</td></tr>
</table></div>
<a name="details"></a>
<!-- $$$ShaderLibrary-description -->
<div class="descr">
<h2 id="details">Detailed Description</h2>
</div>
<!-- @@@ShaderLibrary -->
<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/bootstrap.bundle.min.js"></script> <script src="../js/mermaid.min.js"></script> <script>var config = {startOnLoad:true,flowchart:{useMaxWidth:true,htmlLabels:true}};mermaid.initialize(config);</script></body>
</html>

35
Docs/html/storage.html Normal file
View File

@ -0,0 +1,35 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<!-- storage.cpp -->
<title>Storage Class | ScreenPlay</title>
<link rel="stylesheet" type="text/css" href="../css/style.css"/> <link rel="stylesheet" type="text/css" href="../css/bootstrap.min.css"/>
</head>
<body>
<div class="container-fullwidth nav sticky-top"><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 ">
<li>Storage</li>
<div class="sidebar">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">Storage Class</h1>
<!-- $$$Storage-brief -->
<p>. <a href="#details">More...</a></p>
<!-- @@@Storage -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign"> <span class="preprocessor">#include &lt;Storage&gt;</span>
</td></tr></table></div><ul>
</ul>
<a name="details"></a>
<!-- $$$Storage-description -->
<div class="descr">
<h2 id="details">Detailed Description</h2>
</div>
<!-- @@@Storage -->
<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/bootstrap.bundle.min.js"></script> <script src="../js/mermaid.min.js"></script> <script>var config = {startOnLoad:true,flowchart:{useMaxWidth:true,htmlLabels:true}};mermaid.initialize(config);</script></body>
</html>

View File

@ -0,0 +1,28 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<!-- sysinfo.cpp -->
<title>List of All Members for SysInfo | ScreenPlay</title>
<link rel="stylesheet" type="text/css" href="../css/style.css"/> <link rel="stylesheet" type="text/css" href="../css/bootstrap.min.css"/>
</head>
<body>
<div class="container-fullwidth nav sticky-top"><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 ">
<li>SysInfo</li>
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">List of All Members for SysInfo</h1>
<p>This is the complete list of members for <a href="sysinfo.html">SysInfo</a>, including inherited members.</p>
<ul>
<li class="fn"><span class="name"><b><a href="sysinfo.html#cpu-prop">cpuChanged</a></b></span>(CPU *)</li>
<li class="fn"><span class="name"><b><a href="sysinfo.html#gpu-prop">gpuChanged</a></b></span>(GPU *)</li>
<li class="fn"><span class="name"><b><a href="sysinfo.html#ram-prop">ramChanged</a></b></span>(RAM *)</li>
<li class="fn"><span class="name"><b><a href="sysinfo.html#storage-prop">storageChanged</a></b></span>(Storage *)</li>
<li class="fn"><span class="name"><b><a href="sysinfo.html#uptime-prop">uptimeChanged</a></b></span>(Uptime *)</li>
<li class="fn"><span class="name"><b><a href="sysinfo.html#cpu-prop">cpu</a></b></span>() const : CPU *</li>
<li class="fn"><span class="name"><b><a href="sysinfo.html#gpu-prop">gpu</a></b></span>() const : GPU *</li>
<li class="fn"><span class="name"><b><a href="sysinfo.html#ram-prop">ram</a></b></span>() const : RAM *</li>
<li class="fn"><span class="name"><b><a href="sysinfo.html#storage-prop">storage</a></b></span>() const : Storage *</li>
<li class="fn"><span class="name"><b><a href="sysinfo.html#uptime-prop">uptime</a></b></span>() const : Uptime *</li>
</ul>
<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/bootstrap.bundle.min.js"></script> <script src="../js/mermaid.min.js"></script> <script>var config = {startOnLoad:true,flowchart:{useMaxWidth:true,htmlLabels:true}};mermaid.initialize(config);</script></body>
</html>

56
Docs/html/sysinfo.html Normal file
View File

@ -0,0 +1,56 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<!-- sysinfo.cpp -->
<title>SysInfo Class | ScreenPlay</title>
<link rel="stylesheet" type="text/css" href="../css/style.css"/> <link rel="stylesheet" type="text/css" href="../css/bootstrap.min.css"/>
</head>
<body>
<div class="container-fullwidth nav sticky-top"><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 ">
<li>SysInfo</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="#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">SysInfo Class</h1>
<!-- $$$SysInfo-brief -->
<p>. <a href="#details">More...</a></p>
<!-- @@@SysInfo -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign"> <span class="preprocessor">#include &lt;SysInfo&gt;</span>
</td></tr></table></div><ul>
<li><a href="sysinfo-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">
<tr><td class="memItemLeft rightAlign topAlign"> CPU *</td><td class="memItemRight bottomAlign"><b><a href="sysinfo.html#cpu-prop">cpu</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> GPU *</td><td class="memItemRight bottomAlign"><b><a href="sysinfo.html#gpu-prop">gpu</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> RAM *</td><td class="memItemRight bottomAlign"><b><a href="sysinfo.html#ram-prop">ram</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> Storage *</td><td class="memItemRight bottomAlign"><b><a href="sysinfo.html#storage-prop">storage</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> Uptime *</td><td class="memItemRight bottomAlign"><b><a href="sysinfo.html#uptime-prop">uptime</a></b>() const</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="sysinfo.html#cpu-prop">cpuChanged</a></b>(CPU *<i>cpu</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="sysinfo.html#gpu-prop">gpuChanged</a></b>(GPU *)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="sysinfo.html#ram-prop">ramChanged</a></b>(RAM *<i>ram</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="sysinfo.html#storage-prop">storageChanged</a></b>(Storage *<i>storage</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="sysinfo.html#uptime-prop">uptimeChanged</a></b>(Uptime *<i>uptime</i>)</td></tr>
</table></div>
<a name="details"></a>
<!-- $$$SysInfo-description -->
<div class="descr">
<h2 id="details">Detailed Description</h2>
</div>
<!-- @@@SysInfo -->
<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/bootstrap.bundle.min.js"></script> <script src="../js/mermaid.min.js"></script> <script>var config = {startOnLoad:true,flowchart:{useMaxWidth:true,htmlLabels:true}};mermaid.initialize(config);</script></body>
</html>

View File

@ -0,0 +1,33 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<!-- uptime.cpp -->
<title>List of All Members for Uptime | ScreenPlay</title>
<link rel="stylesheet" type="text/css" href="../css/style.css"/> <link rel="stylesheet" type="text/css" href="../css/bootstrap.min.css"/>
</head>
<body>
<div class="container-fullwidth nav sticky-top"><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 ">
<li>Uptime</li>
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">List of All Members for Uptime</h1>
<p>This is the complete list of members for <a href="uptime.html">Uptime</a>, including inherited members.</p>
<ul>
<li class="fn"><span class="name"><b><a href="uptime.html#days-prop">daysChanged</a></b></span>(int)</li>
<li class="fn"><span class="name"><b><a href="uptime.html#hours-prop">hoursChanged</a></b></span>(int)</li>
<li class="fn"><span class="name"><b><a href="uptime.html#minutes-prop">minutesChanged</a></b></span>(int)</li>
<li class="fn"><span class="name"><b><a href="uptime.html#seconds-prop">secondsChanged</a></b></span>(int)</li>
<li class="fn"><span class="name"><b><a href="uptime.html#days-prop">setDays</a></b></span>(int)</li>
<li class="fn"><span class="name"><b><a href="uptime.html#hours-prop">setHours</a></b></span>(int)</li>
<li class="fn"><span class="name"><b><a href="uptime.html#minutes-prop">setMinutes</a></b></span>(int)</li>
<li class="fn"><span class="name"><b><a href="uptime.html#seconds-prop">setSeconds</a></b></span>(int)</li>
<li class="fn"><span class="name"><b><a href="uptime.html#years-prop">setYears</a></b></span>(int)</li>
<li class="fn"><span class="name"><b><a href="uptime.html#years-prop">yearsChanged</a></b></span>(int)</li>
<li class="fn"><span class="name"><b><a href="uptime.html#days-prop">days</a></b></span>() const : int</li>
<li class="fn"><span class="name"><b><a href="uptime.html#hours-prop">hours</a></b></span>() const : int</li>
<li class="fn"><span class="name"><b><a href="uptime.html#minutes-prop">minutes</a></b></span>() const : int</li>
<li class="fn"><span class="name"><b><a href="uptime.html#seconds-prop">seconds</a></b></span>() const : int</li>
<li class="fn"><span class="name"><b><a href="uptime.html#years-prop">years</a></b></span>() const : int</li>
</ul>
<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/bootstrap.bundle.min.js"></script> <script src="../js/mermaid.min.js"></script> <script>var config = {startOnLoad:true,flowchart:{useMaxWidth:true,htmlLabels:true}};mermaid.initialize(config);</script></body>
</html>

66
Docs/html/uptime.html Normal file
View File

@ -0,0 +1,66 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<!-- uptime.cpp -->
<title>Uptime Class | ScreenPlay</title>
<link rel="stylesheet" type="text/css" href="../css/style.css"/> <link rel="stylesheet" type="text/css" href="../css/bootstrap.min.css"/>
</head>
<body>
<div class="container-fullwidth nav sticky-top"><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 ">
<li>Uptime</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">Uptime Class</h1>
<!-- $$$Uptime-brief -->
<p>. <a href="#details">More...</a></p>
<!-- @@@Uptime -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign"> <span class="preprocessor">#include &lt;Uptime&gt;</span>
</td></tr></table></div><ul>
<li><a href="uptime-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">
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="uptime.html#days-prop">days</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="uptime.html#hours-prop">hours</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="uptime.html#minutes-prop">minutes</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="uptime.html#seconds-prop">seconds</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="uptime.html#years-prop">years</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="uptime.html#days-prop">setDays</a></b>(int <i>days</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="uptime.html#hours-prop">setHours</a></b>(int <i>hours</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="uptime.html#minutes-prop">setMinutes</a></b>(int <i>minutes</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="uptime.html#seconds-prop">setSeconds</a></b>(int <i>seconds</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="uptime.html#years-prop">setYears</a></b>(int <i>years</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="uptime.html#days-prop">daysChanged</a></b>(int <i>days</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="uptime.html#hours-prop">hoursChanged</a></b>(int <i>hours</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="uptime.html#minutes-prop">minutesChanged</a></b>(int <i>minutes</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="uptime.html#seconds-prop">secondsChanged</a></b>(int <i>seconds</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="uptime.html#years-prop">yearsChanged</a></b>(int <i>years</i>)</td></tr>
</table></div>
<a name="details"></a>
<!-- $$$Uptime-description -->
<div class="descr">
<h2 id="details">Detailed Description</h2>
</div>
<!-- @@@Uptime -->
<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/bootstrap.bundle.min.js"></script> <script src="../js/mermaid.min.js"></script> <script>var config = {startOnLoad:true,flowchart:{useMaxWidth:true,htmlLabels:true}};mermaid.initialize(config);</script></body>
</html>

View File

@ -0,0 +1,33 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<!-- widgetwindow.cpp -->
<title>List of All Members for WidgetWindow | ScreenPlay</title>
<link rel="stylesheet" type="text/css" href="../css/style.css"/> <link rel="stylesheet" type="text/css" href="../css/bootstrap.min.css"/>
</head>
<body>
<div class="container-fullwidth nav sticky-top"><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 ">
<li>WidgetWindow</li>
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">List of All Members for WidgetWindow</h1>
<p>This is the complete list of members for <a href="widgetwindow.html">WidgetWindow</a>, including inherited members.</p>
<ul>
<li class="fn"><span class="name"><b><a href="widgetwindow.html#appID-prop">appIDChanged</a></b></span>(QString)</li>
<li class="fn"><span class="name"><b><a href="widgetwindow.html#position-prop">positionChanged</a></b></span>(QPoint)</li>
<li class="fn"><span class="name"><b><a href="widgetwindow.html#projectConfig-prop">projectConfigChanged</a></b></span>(QString)</li>
<li class="fn"><span class="name"><b><a href="widgetwindow.html#appID-prop">setAppID</a></b></span>(QString)</li>
<li class="fn"><span class="name"><b><a href="widgetwindow.html#position-prop">setPosition</a></b></span>(QPoint)</li>
<li class="fn"><span class="name"><b><a href="widgetwindow.html#projectConfig-prop">setProjectConfig</a></b></span>(QString)</li>
<li class="fn"><span class="name"><b><a href="widgetwindow.html#sourcePath-prop">setSourcePath</a></b></span>(QString)</li>
<li class="fn"><span class="name"><b><a href="widgetwindow.html#type-prop">setType</a></b></span>(QString)</li>
<li class="fn"><span class="name"><b><a href="widgetwindow.html#sourcePath-prop">sourcePathChanged</a></b></span>(QString)</li>
<li class="fn"><span class="name"><b><a href="widgetwindow.html#type-prop">typeChanged</a></b></span>(QString)</li>
<li class="fn"><span class="name"><b><a href="widgetwindow.html#appID-prop">appID</a></b></span>() const : QString</li>
<li class="fn"><span class="name"><b><a href="widgetwindow.html#position-prop">position</a></b></span>() const : QPoint</li>
<li class="fn"><span class="name"><b><a href="widgetwindow.html#projectConfig-prop">projectConfig</a></b></span>() const : QString</li>
<li class="fn"><span class="name"><b><a href="widgetwindow.html#sourcePath-prop">sourcePath</a></b></span>() const : QString</li>
<li class="fn"><span class="name"><b><a href="widgetwindow.html#type-prop">type</a></b></span>() const : QString</li>
</ul>
<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/bootstrap.bundle.min.js"></script> <script src="../js/mermaid.min.js"></script> <script>var config = {startOnLoad:true,flowchart:{useMaxWidth:true,htmlLabels:true}};mermaid.initialize(config);</script></body>
</html>

View File

@ -0,0 +1,66 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<!-- widgetwindow.cpp -->
<title>WidgetWindow Class | ScreenPlay</title>
<link rel="stylesheet" type="text/css" href="../css/style.css"/> <link rel="stylesheet" type="text/css" href="../css/bootstrap.min.css"/>
</head>
<body>
<div class="container-fullwidth nav sticky-top"><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 ">
<li>WidgetWindow</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">WidgetWindow Class</h1>
<!-- $$$WidgetWindow-brief -->
<p>. <a href="#details">More...</a></p>
<!-- @@@WidgetWindow -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign"> <span class="preprocessor">#include &lt;WidgetWindow&gt;</span>
</td></tr></table></div><ul>
<li><a href="widgetwindow-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">
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="widgetwindow.html#appID-prop">appID</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QPoint </td><td class="memItemRight bottomAlign"><b><a href="widgetwindow.html#position-prop">position</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="widgetwindow.html#projectConfig-prop">projectConfig</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="widgetwindow.html#sourcePath-prop">sourcePath</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="widgetwindow.html#type-prop">type</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="widgetwindow.html#appID-prop">setAppID</a></b>(QString <i>appID</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="widgetwindow.html#position-prop">setPosition</a></b>(QPoint <i>position</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="widgetwindow.html#projectConfig-prop">setProjectConfig</a></b>(QString <i>projectConfig</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="widgetwindow.html#sourcePath-prop">setSourcePath</a></b>(QString <i>sourcePath</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="widgetwindow.html#type-prop">setType</a></b>(QString <i>type</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="widgetwindow.html#appID-prop">appIDChanged</a></b>(QString <i>appID</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="widgetwindow.html#position-prop">positionChanged</a></b>(QPoint <i>position</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="widgetwindow.html#projectConfig-prop">projectConfigChanged</a></b>(QString <i>projectConfig</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="widgetwindow.html#sourcePath-prop">sourcePathChanged</a></b>(QString <i>sourcePath</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="widgetwindow.html#type-prop">typeChanged</a></b>(QString <i>type</i>)</td></tr>
</table></div>
<a name="details"></a>
<!-- $$$WidgetWindow-description -->
<div class="descr">
<h2 id="details">Detailed Description</h2>
</div>
<!-- @@@WidgetWindow -->
<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/bootstrap.bundle.min.js"></script> <script src="../js/mermaid.min.js"></script> <script>var config = {startOnLoad:true,flowchart:{useMaxWidth:true,htmlLabels:true}};mermaid.initialize(config);</script></body>
</html>

View File

@ -0,0 +1,40 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<!-- windowsdesktopproperties.cpp -->
<title>List of All Members for WindowsDesktopProperties | ScreenPlay</title>
<link rel="stylesheet" type="text/css" href="../css/style.css"/> <link rel="stylesheet" type="text/css" href="../css/bootstrap.min.css"/>
</head>
<body>
<div class="container-fullwidth nav sticky-top"><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 ">
<li>WindowsDesktopProperties</li>
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">List of All Members for WindowsDesktopProperties</h1>
<p>This is the complete list of members for <a href="windowsdesktopproperties.html">WindowsDesktopProperties</a>, including inherited members.</p>
<div class="table"><table class="propsummary">
<tr><td class="topAlign"><ul>
<li class="fn"><span class="name"><b><a href="windowsdesktopproperties.html#color-prop">colorChanged</a></b></span>(QColor)</li>
<li class="fn"><span class="name"><b><a href="windowsdesktopproperties.html#isTiled-prop">isTiledChanged</a></b></span>(bool)</li>
<li class="fn"><span class="name"><b><a href="windowsdesktopproperties.html#position-prop">positionChanged</a></b></span>(QPoint)</li>
<li class="fn"><span class="name"><b><a href="windowsdesktopproperties.html#color-prop">setColor</a></b></span>(QColor)</li>
<li class="fn"><span class="name"><b><a href="windowsdesktopproperties.html#isTiled-prop">setIsTiled</a></b></span>(bool)</li>
<li class="fn"><span class="name"><b><a href="windowsdesktopproperties.html#position-prop">setPosition</a></b></span>(QPoint)</li>
<li class="fn"><span class="name"><b><a href="windowsdesktopproperties.html#wallpaperPath-prop">setWallpaperPath</a></b></span>(QString)</li>
<li class="fn"><span class="name"><b><a href="windowsdesktopproperties.html#wallpaperStyle-prop">setWallpaperStyle</a></b></span>(int)</li>
<li class="fn"><span class="name"><b><a href="windowsdesktopproperties.html#windowsVersion-prop">setWindowsVersion</a></b></span>(int)</li>
</ul></td><td class="topAlign"><ul>
<li class="fn"><span class="name"><b><a href="windowsdesktopproperties.html#wallpaperPath-prop">wallpaperPathChanged</a></b></span>(QString)</li>
<li class="fn"><span class="name"><b><a href="windowsdesktopproperties.html#wallpaperStyle-prop">wallpaperStyleChanged</a></b></span>(int)</li>
<li class="fn"><span class="name"><b><a href="windowsdesktopproperties.html#windowsVersion-prop">windowsVersionChanged</a></b></span>(int)</li>
<li class="fn"><span class="name"><b><a href="windowsdesktopproperties.html#color-prop">color</a></b></span>() const : QColor</li>
<li class="fn"><span class="name"><b><a href="windowsdesktopproperties.html#isTiled-prop">isTiled</a></b></span>() const : bool</li>
<li class="fn"><span class="name"><b><a href="windowsdesktopproperties.html#position-prop">position</a></b></span>() const : QPoint</li>
<li class="fn"><span class="name"><b><a href="windowsdesktopproperties.html#wallpaperPath-prop">wallpaperPath</a></b></span>() const : QString</li>
<li class="fn"><span class="name"><b><a href="windowsdesktopproperties.html#wallpaperStyle-prop">wallpaperStyle</a></b></span>() const : int</li>
<li class="fn"><span class="name"><b><a href="windowsdesktopproperties.html#windowsVersion-prop">windowsVersion</a></b></span>() const : int</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/bootstrap.bundle.min.js"></script> <script src="../js/mermaid.min.js"></script> <script>var config = {startOnLoad:true,flowchart:{useMaxWidth:true,htmlLabels:true}};mermaid.initialize(config);</script></body>
</html>

View File

@ -0,0 +1,69 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<!-- windowsdesktopproperties.cpp -->
<title>WindowsDesktopProperties Class | ScreenPlay</title>
<link rel="stylesheet" type="text/css" href="../css/style.css"/> <link rel="stylesheet" type="text/css" href="../css/bootstrap.min.css"/>
</head>
<body>
<div class="container-fullwidth nav sticky-top"><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 ">
<li>WindowsDesktopProperties</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">WindowsDesktopProperties Class</h1>
<!-- $$$WindowsDesktopProperties-brief -->
<p>. <a href="#details">More...</a></p>
<!-- @@@WindowsDesktopProperties -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign"> <span class="preprocessor">#include &lt;WindowsDesktopProperties&gt;</span>
</td></tr></table></div><ul>
<li><a href="windowsdesktopproperties-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">
<tr><td class="memItemLeft rightAlign topAlign"> QColor </td><td class="memItemRight bottomAlign"><b><a href="windowsdesktopproperties.html#color-prop">color</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="windowsdesktopproperties.html#isTiled-prop">isTiled</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QPoint </td><td class="memItemRight bottomAlign"><b><a href="windowsdesktopproperties.html#position-prop">position</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="windowsdesktopproperties.html#wallpaperPath-prop">wallpaperPath</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="windowsdesktopproperties.html#wallpaperStyle-prop">wallpaperStyle</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="windowsdesktopproperties.html#windowsVersion-prop">windowsVersion</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="windowsdesktopproperties.html#color-prop">setColor</a></b>(QColor <i>color</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="windowsdesktopproperties.html#isTiled-prop">setIsTiled</a></b>(bool <i>isTiled</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="windowsdesktopproperties.html#position-prop">setPosition</a></b>(QPoint <i>position</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="windowsdesktopproperties.html#wallpaperPath-prop">setWallpaperPath</a></b>(QString <i>wallpaperPath</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="windowsdesktopproperties.html#wallpaperStyle-prop">setWallpaperStyle</a></b>(int <i>wallpaperStyle</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="windowsdesktopproperties.html#windowsVersion-prop">setWindowsVersion</a></b>(int <i>windowsVersion</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="windowsdesktopproperties.html#color-prop">colorChanged</a></b>(QColor <i>color</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="windowsdesktopproperties.html#isTiled-prop">isTiledChanged</a></b>(bool <i>isTiled</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="windowsdesktopproperties.html#position-prop">positionChanged</a></b>(QPoint <i>position</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="windowsdesktopproperties.html#wallpaperPath-prop">wallpaperPathChanged</a></b>(QString <i>wallpaperPath</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="windowsdesktopproperties.html#wallpaperStyle-prop">wallpaperStyleChanged</a></b>(int <i>wallpaperStyle</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="windowsdesktopproperties.html#windowsVersion-prop">windowsVersionChanged</a></b>(int <i>windowsVersion</i>)</td></tr>
</table></div>
<a name="details"></a>
<!-- $$$WindowsDesktopProperties-description -->
<div class="descr">
<h2 id="details">Detailed Description</h2>
</div>
<!-- @@@WindowsDesktopProperties -->
<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/bootstrap.bundle.min.js"></script> <script src="../js/mermaid.min.js"></script> <script>var config = {startOnLoad:true,flowchart:{useMaxWidth:true,htmlLabels:true}};mermaid.initialize(config);</script></body>
</html>

View File

@ -0,0 +1,92 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<!-- winwindow.cpp -->
<title>List of All Members for WinWindow | ScreenPlay</title>
<link rel="stylesheet" type="text/css" href="../css/style.css"/> <link rel="stylesheet" type="text/css" href="../css/bootstrap.min.css"/>
</head>
<body>
<div class="container-fullwidth nav sticky-top"><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 ">
<li>WinWindow</li>
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">List of All Members for WinWindow</h1>
<p>This is the complete list of members for <a href="winwindow.html">WinWindow</a>, including inherited members.</p>
<div class="table"><table class="propsummary">
<tr><td class="topAlign"><ul>
<li class="fn"><span class="name"><b><a href="basewindow.html#OSVersion-prop">OSVersionChanged</a></b></span>(QString)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#activeScreensList-prop">activeScreensListChanged</a></b></span>(QVector&lt;int&gt;)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#appID-prop">appIDChanged</a></b></span>(QString)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#basePath-prop">basePathChanged</a></b></span>(QString)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#canFade-prop">canFadeChanged</a></b></span>(bool)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#checkWallpaperVisible-prop">checkWallpaperVisibleChanged</a></b></span>(bool)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#contentBasePath-prop">contentBasePathChanged</a></b></span>(const QString &amp;)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#currentTime-prop">currentTimeChanged</a></b></span>(float)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#debugMode-prop">debugModeChanged</a></b></span>(bool)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#fillMode-prop">fillModeChanged</a></b></span>(QString)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#fullContentPath-prop">fullContentPathChanged</a></b></span>(QString)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#getApplicationPath">getApplicationPath</a></b></span>() : QString</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#height-prop">heightChanged</a></b></span>(int)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#isPlaying-prop">isPlayingChanged</a></b></span>(bool)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#loadFromFile">loadFromFile</a></b></span>(const QString &amp;) : QString</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#loops-prop">loopsChanged</a></b></span>(bool)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#messageReceived">messageReceived</a></b></span>(QString, QString)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#muted-prop">mutedChanged</a></b></span>(bool)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#playbackRate-prop">playbackRateChanged</a></b></span>(float)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#replaceWallpaper">replaceWallpaper</a></b></span>(const QString, const QString, const float, const QString, const QString, const bool)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#sdk-prop">sdkChanged</a></b></span>(int *)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#activeScreensList-prop">setActiveScreensList</a></b></span>(QVector&lt;int&gt;)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#appID-prop">setAppID</a></b></span>(QString)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#basePath-prop">setBasePath</a></b></span>(QString)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#canFade-prop">setCanFade</a></b></span>(bool)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#checkWallpaperVisible-prop">setCheckWallpaperVisible</a></b></span>(bool)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#contentBasePath-prop">setContentBasePath</a></b></span>(const QString &amp;)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#currentTime-prop">setCurrentTime</a></b></span>(float)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#debugMode-prop">setDebugMode</a></b></span>(bool)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#fillMode-prop">setFillMode</a></b></span>(QString)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#fullContentPath-prop">setFullContentPath</a></b></span>(QString)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#height-prop">setHeight</a></b></span>(int)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#isPlaying-prop">setIsPlaying</a></b></span>(bool)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#loops-prop">setLoops</a></b></span>(bool)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#muted-prop">setMuted</a></b></span>(bool)</li>
</ul></td><td class="topAlign"><ul>
<li class="fn"><span class="name"><b><a href="basewindow.html#OSVersion-prop">setOSVersion</a></b></span>(QString)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#playbackRate-prop">setPlaybackRate</a></b></span>(float)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#sdk-prop">setSdk</a></b></span>(int *)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#type-prop">setType</a></b></span>(int)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#visualsPaused-prop">setVisualsPaused</a></b></span>(bool)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#volume-prop">setVolume</a></b></span>(float)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#width-prop">setWidth</a></b></span>(int)</li>
<li class="fn"><span class="name"><b><a href="winwindow.html#windowsDesktopProperties-prop">setWindowsDesktopProperties</a></b></span>(WindowsDesktopProperties *)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#type-prop">typeChanged</a></b></span>(int)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#visualsPaused-prop">visualsPausedChanged</a></b></span>(bool)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#volume-prop">volumeChanged</a></b></span>(float)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#width-prop">widthChanged</a></b></span>(int)</li>
<li class="fn"><span class="name"><b><a href="winwindow.html#windowsDesktopProperties-prop">windowsDesktopPropertiesChanged</a></b></span>(WindowsDesktopProperties *)</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#OSVersion-prop">OSVersion</a></b></span>() const : QString</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#activeScreensList-prop">activeScreensList</a></b></span>() const : QVector&lt;int&gt;</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#appID-prop">appID</a></b></span>() const : QString</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#basePath-prop">basePath</a></b></span>() const : QString</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#canFade-prop">canFade</a></b></span>() const : bool</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#checkWallpaperVisible-prop">checkWallpaperVisible</a></b></span>() const : bool</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#contentBasePath-prop">contentBasePath</a></b></span>() const : const QString &amp;</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#currentTime-prop">currentTime</a></b></span>() const : float</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#debugMode-prop">debugMode</a></b></span>() const : bool</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#fillMode-prop">fillMode</a></b></span>() const : QString</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#fullContentPath-prop">fullContentPath</a></b></span>() const : QString</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#height-prop">height</a></b></span>() const : int</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#isPlaying-prop">isPlaying</a></b></span>() const : bool</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#loops-prop">loops</a></b></span>() const : bool</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#muted-prop">muted</a></b></span>() const : bool</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#playbackRate-prop">playbackRate</a></b></span>() const : float</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#sdk-prop">sdk</a></b></span>() const : int *</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#type-prop">type</a></b></span>() const : int</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#visualsPaused-prop">visualsPaused</a></b></span>() const : bool</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#volume-prop">volume</a></b></span>() const : float</li>
<li class="fn"><span class="name"><b><a href="basewindow.html#width-prop">width</a></b></span>() const : int</li>
<li class="fn"><span class="name"><b><a href="winwindow.html#windowsDesktopProperties-prop">windowsDesktopProperties</a></b></span>() const : WindowsDesktopProperties *</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/bootstrap.bundle.min.js"></script> <script src="../js/mermaid.min.js"></script> <script>var config = {startOnLoad:true,flowchart:{useMaxWidth:true,htmlLabels:true}};mermaid.initialize(config);</script></body>
</html>

54
Docs/html/winwindow.html Normal file
View File

@ -0,0 +1,54 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<!-- winwindow.cpp -->
<title>WinWindow Class | ScreenPlay</title>
<link rel="stylesheet" type="text/css" href="../css/style.css"/> <link rel="stylesheet" type="text/css" href="../css/bootstrap.min.css"/>
</head>
<body>
<div class="container-fullwidth nav sticky-top"><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 ">
<li>WinWindow</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">WinWindow Class</h1>
<!-- $$$WinWindow-brief -->
<p>. <a href="#details">More...</a></p>
<!-- @@@WinWindow -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign"> <span class="preprocessor">#include &lt;WinWindow&gt;</span>
</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <a href="basewindow.html">BaseWindow</a></td></tr></table></div><ul>
<li><a href="winwindow-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">
<tr><td class="memItemLeft rightAlign topAlign"> WindowsDesktopProperties *</td><td class="memItemRight bottomAlign"><b><a href="winwindow.html#windowsDesktopProperties-prop">windowsDesktopProperties</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="winwindow.html#windowsDesktopProperties-prop">setWindowsDesktopProperties</a></b>(WindowsDesktopProperties *<i>windowsDesktopProperties</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="winwindow.html#windowsDesktopProperties-prop">windowsDesktopPropertiesChanged</a></b>(WindowsDesktopProperties *<i>windowsDesktopProperties</i>)</td></tr>
</table></div>
<a name="details"></a>
<!-- $$$WinWindow-description -->
<div class="descr">
<h2 id="details">Detailed Description</h2>
</div>
<!-- @@@WinWindow -->
<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/bootstrap.bundle.min.js"></script> <script src="../js/mermaid.min.js"></script> <script>var config = {startOnLoad:true,flowchart:{useMaxWidth:true,htmlLabels:true}};mermaid.initialize(config);</script></body>
</html>

View File

@ -1,117 +1,98 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Screen Play Developer Documentation</title>
<link rel="stylesheet" type="text/css" href="css/style.css" />
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" />
</head>
<body>
<div class="container-fullwidth nav sticky-top">
<div class="container navWrapper"><span class="logo">ScreenPlay Generated Docs </span></div>
</div>
<div class="wrapper container">
<h1 class="display-4 text-center">ScreenPlay Documentation</h1>
<br />
<p class="text-justify">
This is the ScreenPlay Code documentation. Every file gets generated via <kbd>qdoc.exe config.qdocconf</kbd>, except this index.html file. This docs is <b>automatically generated</b> via our ScreenPlayDeveloperDocs
<a href="https://gitlab.com/kelteseth/ScreenPlayDeveloperDocs">GitLab repository</a>. If you want to help documenting ScreenPlay, you can do that in the <a href="https://gitlab.com/kelteseth/ScreenPlay">main repository</a>.
</p>
<h2>Getting started</h2>
<hr />
<ul>
<li><a href="html/screenplay.html">ScreenPlay Namespace. This contains all classes and descriptions.</a></li>
<li><a href="https://gitlab.com/kelteseth/ScreenPlay/-/blob/master/Docs/DeveloperSetup.md">Developer Setup</a></li>
<li><a href="https://gitlab.com/kelteseth/ScreenPlay/-/blob/master/Docs/ProjectOverview.md">Developer Overview</a></li>
</ul>
<h2>ScreenPlay consists of 6 projects:</h2>
<hr />
<ul>
<li>
<strong>ScreenPlay</strong>
<ul>
<li>The main ScreenPlay App UI with Create, Installed, Community and Settings.</li>
</ul>
</li>
<li>
<strong>ScreenPlayUtil</strong>
<ul>
<li>Contains functions like json project file loading/saving and enums like FillMode and ContentType that is needed by all projects.</li>
</ul>
</li>
<li>
<strong>ScreenPlaySDK</strong>
<ul>
<li>A SDK used internally in the ScreenPlayWallpaper and ScreenPlayWidget to talk to the main ScreenPlay app via QLocalsockets (Windows Pipes and Unix sockets).</li>
</ul>
</li>
<li>
<strong>ScreenPlayShader</strong>
<ul>
<li>A list of ready to use shader in Wallpaper and Widgets.</li>
</ul>
</li>
<li>
<strong>ScreenPlaySysInfo</strong>
<ul>
<li>A qml plugin to read CPU, GPU, Network and all sort of statistics.</li>
</ul>
</li>
<li>
<strong>ScreenPlayWallpaper</strong>
<ul>
<li>The Wallpaper executable that is used for displaying a single wallpaper. This uses ScreenPlaySDK to talk via QLocalsockets with the main ScreenPlayApp.</li>
</ul>
</li>
<li>
<strong>ScreenPlayWidget</strong>
<ul>
<li>The Widget executable that is used for displaying a single widget. This uses ScreenPlaySDK to talk via QLocalsockets with the main ScreenPlayApp .</li>
</ul>
</li>
</ul>
<h2>C++ Namespace And Classes</h2> <head>
<hr /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Screen Play Developer Documentation</title>
<link rel="stylesheet" type="text/css" href="css/style.css" />
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" />
</head>
<div class="container"> <body>
<div class="row"> <div class="container-fullwidth nav sticky-top">
<div class="col"> <div class="container navWrapper"><span class="logo">ScreenPlay Generated Docs </span></div>
<ul> </div>
<li><a href="html/screenplay-create.html">Create</a></li> <div class="wrapper container">
<li><a href="html/screenplay-createimportvideo.html">CreateImport</a></li> <h1 class="display-4 text-center">ScreenPlay Documentation</h1>
<li><a href="html/screenplay-globalvariables.html">GlobalVariables</a></li> <br />
<li><a href="html/screenplay-installedlistfilter.html">InstalledListFilter</a></li> <p class="text-justify">
<li><a href="html/screenplay-installedlistmodel.html">InstalledListModel</a></li> This is the ScreenPlay Code documentation. Every file gets generated via <kbd>qdoc.exe
<li><a href="html/screenplay-monitorlistmodel.html">MonitorListModel</a></li> config.qdocconf</kbd>, except this index.html file. This docs is <b>automatically generated</b> via our
<li><a href="html/screenplay-profilelistmodel.html">ProfileListModel</a></li> ScreenPlayDeveloperDocs
<li><a href="html/screenplay-projectsettingslistmodel.html">ProjectSettingsListModel</a></li> <a href="https://gitlab.com/kelteseth/ScreenPlayDeveloperDocs">GitLab repository</a>. If you want to help
</ul> documenting ScreenPlay, you can do that in the <a href="https://gitlab.com/kelteseth/ScreenPlay">main
</div> repository</a>.
<div class="col"> </p>
<ul> <h2>Getting started</h2>
<li><a href="html/screenplay-screenplaymanager.html">ScreenPlayManager</a></li> <hr />
<li><a href="html/screenplay-screenplaywallpaper.html">ScreenPlayWallpaper</a></li> <ul>
<li><a href="html/screenplay-screenplaywidget.html">ScreenPlayWidget</a></li> <li><a href="html/screenplay.html">ScreenPlay Namespace. This contains all classes and descriptions.</a>
<li><a href="html/screenplay-sdkconnection.html">SDKConnection</a></li> </li>
<li><a href="html/screenplay-settings.html">Settings</a></li> <li><a href="https://gitlab.com/kelteseth/ScreenPlay/-/blob/master/Docs/DeveloperSetup.md">Developer
<li><a href="html/screenplay-util.html">Util</a></li> Setup</a></li>
<li><a href="html/screenplay-app.html">App</a></li> <li><a href="https://gitlab.com/kelteseth/ScreenPlay/-/blob/master/Docs/ProjectOverview.md">Developer
</ul> Overview</a></li>
</div> </ul>
</div> <h2>ScreenPlay consists of 7 projects:</h2>
</div> <hr />
<ul>
<li>
<strong><a href="html/screenplay-module.html">ScreenPlay App</a></strong>
<ul>
<li>The main ScreenPlay module. This contains things like <a href="html/screenplay-app.html">ScreenPlayApp</a> UI with Create, Installed, Community and Settings.</li>
</ul>
</li>
<li>
<strong><a href="html/screenplaywallpaper-module.html">ScreenPlayWallpaper App</a></strong>
<ul>
<li>The Wallpaper executable that is used for displaying a single wallpaper. This uses ScreenPlaySDK
to talk via QLocalsockets with the main ScreenPlayApp.</li>
</ul>
</li>
<li>
<strong><a href="html/screenplaywidget-module.html">ScreenPlayWidget App</a></strong>
<ul>
<li>The Widget executable that is used for displaying a single widget. This uses ScreenPlaySDK to
talk via QLocalsockets with the main ScreenPlayApp .</li>
</ul>
</li>
<br>
<li>
<strong><a href="html/screenplayutil.html">ScreenPlayUtil Library</a></strong>
<ul>
<li>Contains functions like json project file loading/saving and enums like FillMode and ContentType
that is needed by all projects.</li>
</ul>
</li>
<li>
<strong><a href="html/screenplaysdk-module.html">ScreenPlaySDK Library</a></strong>
<ul>
<li>A SDK used internally in the ScreenPlayWallpaper and ScreenPlayWidget to talk to the main
ScreenPlay app via QLocalsockets (Windows Pipes and Unix sockets).</li>
</ul>
</li>
<li>
<strong><a href="html/shaderlibrary.html">ScreenPlayShader Library</a></strong>
<ul>
<li>A list of ready to use shader in Wallpaper and Widgets.</li>
</ul>
</li>
<li>
<strong><a href="html/screenplaysysinfo-module.html">ScreenPlaySysInfo Library</a></strong>
<ul>
<li>A qml plugin to read CPU, GPU, Network and all sort of statistics.</li>
</ul>
</li>
<h2>QML Common Components</h2> </ul>
<hr /> </div>
<ul> <div id="license" class="footer center">
<li><a href="html/qml-imageselector.html">ImageSelector</a></li> <p>This documentation is licensed under a <a rel="license"
</ul> href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International
</div> License</a>.</p>
<div id="license" class="footer center"> </div>
<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> <script src="js/bootstrap.bundle.min.js"></script>
</div> </body>
<script src="js/bootstrap.bundle.min.js"></script>
</body> </html>
</html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -24,8 +24,8 @@ Developer Chat [![Gitter](https://badges.gitter.im/ScreenPlayApp/community.svg)]
ScreenPlay is an open source cross platform app for displaying Video Wallpaper, Widgets and AppDrawer. It is written in modern C++20/Qt5/QML. Binaries with workshop support are available for Windows and soon Linux & MacOSX via <a href="https://store.steampowered.com/app/672870/ScreenPlay/">Steam</a>. Join our community: <a href="https://screen-play.app/">Homepage</a> - <a href="https://forum.screen-play.app/">Forum</a> ScreenPlay is an open source cross platform app for displaying Video Wallpaper, Widgets and AppDrawer. It is written in modern C++20/Qt5/QML. Binaries with workshop support are available for Windows and soon Linux & MacOSX via <a href="https://store.steampowered.com/app/672870/ScreenPlay/">Steam</a>. Join our community: <a href="https://screen-play.app/">Homepage</a> - <a href="https://forum.screen-play.app/">Forum</a>
<br> <br>
<h3><a href="https://store.steampowered.com/app/672870/ScreenPlay/">✨Download ScreenPlay via Steam</a> - <a href="https://steamcommunity.com/app/672870/workshop/">Steam Workshop for Wallpaper and Widgets✨</a></h3> <h3><a href="https://store.steampowered.com/app/672870/ScreenPlay/">✨Download ScreenPlay</a> <br> <br> <a href="https://www.patreon.com/ScreenPlayApp">🚀Support ScreenPlay On Patreon🚀</a></h3>
Windows only, Linux and MacOS (soon™) Windows only, Linux and MacOS next.
<br> <br>
<br> <br>
@ -38,7 +38,6 @@ Windows only, Linux and MacOS (soon™)
</div> </div>
# Important Issues # Important Issues
* [Support for Windows monitor scaling is currently buggy. All monitors must be set to 100%!](https://gitlab.com/kelteseth/ScreenPlay/-/issues/125)
* [Implement KDE Support](https://gitlab.com/kelteseth/ScreenPlay/-/issues/111) * [Implement KDE Support](https://gitlab.com/kelteseth/ScreenPlay/-/issues/111)
* [Implement MacOS Support](https://gitlab.com/kelteseth/ScreenPlay/-/issues/130) * [Implement MacOS Support](https://gitlab.com/kelteseth/ScreenPlay/-/issues/130)

View File

@ -19,10 +19,6 @@
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>1.0</string> <string>1.0</string>
<key>CFBundleDisplayName</key> <key>CFBundleDisplayName</key>
<string>ScreenPlayWallpaper</string> <string>ScreenPlay</string>
<key>NSUIElement</key>
<string>1</string>
<key>LSUIElement</key>
<string>1</string>
</dict> </dict>
</plist> </plist>

View File

@ -1,7 +1,11 @@
#include "app.h" #include "app.h"
namespace ScreenPlay { namespace ScreenPlay {
/*!
\module ScreenPlay
\title ScreenPlay
\brief Module for ScreenPlay.
*/
/*! /*!
\namespace ScreenPlay \namespace ScreenPlay
\inmodule ScreenPlay \inmodule ScreenPlay

View File

@ -4,10 +4,8 @@ import QtQuick.Controls 2.3
import QtQuick.Controls.Material 2.12 import QtQuick.Controls.Material 2.12
import QtQuick.Layouts 1.3 import QtQuick.Layouts 1.3
import QtGraphicalEffects 1.0 import QtGraphicalEffects 1.0
import ScreenPlay 1.0 import ScreenPlay 1.0
import Settings 1.0 import Settings 1.0
import "qml/Monitors" as Monitors import "qml/Monitors" as Monitors
import "qml/Common" as Common import "qml/Common" as Common
import "qml/Common/Dialogs" as Dialogs import "qml/Common/Dialogs" as Dialogs
@ -18,112 +16,113 @@ import "qml/Community" as Community
ApplicationWindow { ApplicationWindow {
id: window id: window
color: Material.theme === Material.Dark ? Qt.darker(
Material.background) : Material.background
// Set visible if the -silent parameter was not set (see app.cpp end of constructor).
visible: false
width: 1400
height: 788
title: "ScreenPlay Alpha - " + ScreenPlay.version();
minimumHeight: 450
minimumWidth: 1050
onVisibilityChanged: {
if (window.visibility === 2) {
ScreenPlay.installedListModel.reset()
}
}
// Partial workaround for
// https://bugreports.qt.io/browse/QTBUG-86047
Material.accent: Material.color(Material.Orange)
Component.onCompleted: {
setTheme(ScreenPlay.settings.theme)
switchPage("Installed")
if (!ScreenPlay.settings.silentStart) {
window.show()
}
}
Connections {
target: ScreenPlay.settings
function onThemeChanged(theme) {
setTheme(theme)
}
}
Connections {
target: ScreenPlay.util
function onRequestNavigation(nav) {
switchPage(nav)
}
}
Connections {
target: ScreenPlay.screenPlayManager
function onRequestRaise() {
window.show()
}
}
function setTheme(theme) { function setTheme(theme) {
switch (theme) { switch (theme) {
case Settings.System: case Settings.System:
window.Material.theme = Material.System window.Material.theme = Material.System;
break break;
case Settings.Dark: case Settings.Dark:
window.Material.theme = Material.Dark window.Material.theme = Material.Dark;
break break;
case Settings.Light: case Settings.Light:
window.Material.theme = Material.Light window.Material.theme = Material.Light;
break break;
} }
} }
function switchPage(name) { function switchPage(name) {
const unloadSteamPlugin = nav.currentNavigationName === "Workshop" const unloadSteamPlugin = nav.currentNavigationName === "Workshop";
if (nav.currentNavigationName === name) { if (nav.currentNavigationName === name) {
if (name === "Installed") if (name === "Installed")
ScreenPlay.installedListModel.reset() ScreenPlay.installedListModel.reset();
return
}
return ;
}
if (name === "Workshop") { if (name === "Workshop") {
if (!ScreenPlay.settings.steamVersion) { if (!ScreenPlay.settings.steamVersion) {
const steamAvialable = ScreenPlay.loadSteamPlugin() const steamAvialable = ScreenPlay.loadSteamPlugin();
if (!steamAvialable) { if (!steamAvialable) {
dialogSteam.open() dialogSteam.open();
switchPage("Installed") switchPage("Installed");
return return ;
} }
} }
} }
stackView.replace("qrc:/qml/" + name + "/" + name + ".qml");
if (unloadSteamPlugin)
ScreenPlay.unloadSteamPlugin();
stackView.replace("qrc:/qml/" + name + "/" + name + ".qml") sidebar.state = "inactive";
}
if (unloadSteamPlugin) { color: Material.theme === Material.Dark ? Qt.darker(Material.background) : Material.background
ScreenPlay.unloadSteamPlugin() // Set visible if the -silent parameter was not set (see app.cpp end of constructor).
visible: false
width: 1400
height: 788
title: "ScreenPlay Alpha - " + ScreenPlay.version()
minimumHeight: 450
minimumWidth: 1050
// Partial workaround for
// https://bugreports.qt.io/browse/QTBUG-86047
Material.accent: Material.color(Material.Orange)
onVisibilityChanged: {
if (window.visibility === 2)
ScreenPlay.installedListModel.reset();
}
Component.onCompleted: {
setTheme(ScreenPlay.settings.theme);
switchPage("Installed");
if (!ScreenPlay.settings.silentStart)
window.show();
}
Connections {
function onThemeChanged(theme) {
setTheme(theme);
} }
sidebar.state = "inactive" target: ScreenPlay.settings
}
Connections {
function onRequestNavigation(nav) {
switchPage(nav);
}
target: ScreenPlay.util
}
Connections {
function onRequestRaise() {
window.show();
}
target: ScreenPlay.screenPlayManager
} }
Dialogs.SteamNotAvailable { Dialogs.SteamNotAvailable {
id: dialogSteam id: dialogSteam
} }
Dialogs.MonitorConfiguration {} Dialogs.MonitorConfiguration {
}
Dialogs.CriticalError { Dialogs.CriticalError {
mainWindow: window mainWindow: window
} }
Common.TrayIcon {} Common.TrayIcon {
}
StackView { StackView {
id: stackView id: stackView
property int duration: 300
anchors { anchors {
top: nav.bottom top: nav.bottom
right: parent.right right: parent.right
@ -131,8 +130,6 @@ ApplicationWindow {
left: parent.left left: parent.left
} }
property int duration: 300
replaceEnter: Transition { replaceEnter: Transition {
OpacityAnimator { OpacityAnimator {
from: 0 from: 0
@ -140,13 +137,16 @@ ApplicationWindow {
duration: stackView.duration duration: stackView.duration
easing.type: Easing.InOutQuart easing.type: Easing.InOutQuart
} }
ScaleAnimator { ScaleAnimator {
from: 0.8 from: 0.8
to: 1 to: 1
duration: stackView.duration duration: stackView.duration
easing.type: Easing.InOutQuart easing.type: Easing.InOutQuart
} }
} }
replaceExit: Transition { replaceExit: Transition {
OpacityAnimator { OpacityAnimator {
from: 1 from: 1
@ -154,61 +154,68 @@ ApplicationWindow {
duration: stackView.duration duration: stackView.duration
easing.type: Easing.InOutQuart easing.type: Easing.InOutQuart
} }
ScaleAnimator { ScaleAnimator {
from: 1 from: 1
to: 0.8 to: 0.8
duration: stackView.duration duration: stackView.duration
easing.type: Easing.InOutQuart easing.type: Easing.InOutQuart
} }
} }
} }
Connections { Connections {
target: stackView.currentItem
ignoreUnknownSignals: true
function onSetSidebarActive(active) { function onSetSidebarActive(active) {
if (active) { if (active)
sidebar.state = "active" sidebar.state = "active";
} else { else
sidebar.state = "inactive" sidebar.state = "inactive";
}
} }
function onSetNavigationItem(pos) { function onSetNavigationItem(pos) {
if (pos === 0) { if (pos === 0)
nav.onPageChanged("Create") nav.onPageChanged("Create");
} else { else
nav.onPageChanged("Workshop") nav.onPageChanged("Workshop");
}
} }
target: stackView.currentItem
ignoreUnknownSignals: true
} }
Installed.Sidebar { Installed.Sidebar {
id: sidebar id: sidebar
navHeight: nav.height navHeight: nav.height
anchors { anchors {
top: parent.top top: parent.top
right: parent.right right: parent.right
bottom: parent.bottom bottom: parent.bottom
} }
} }
Navigation.Navigation { Navigation.Navigation {
id: nav id: nav
onChangePage: {
monitors.close();
switchPage(name);
}
anchors { anchors {
top: parent.top top: parent.top
right: parent.right right: parent.right
left: parent.left left: parent.left
} }
onChangePage: {
monitors.close()
switchPage(name)
}
} }
Monitors.Monitors { Monitors.Monitors {
id: monitors id: monitors
} }
} }

View File

@ -5,17 +5,20 @@ import QtQuick.Particles 2.0
Rectangle { Rectangle {
id: element id: element
anchors.fill: parent anchors.fill: parent
color: Material.theme === Material.Light ? "white" : Qt.darker( color: Material.theme === Material.Light ? "white" : Qt.darker(Material.background)
Material.background)
state: "init" state: "init"
Rectangle { Rectangle {
id: bgCommunity id: bgCommunity
anchors.fill: parent anchors.fill: parent
} }
Rectangle { Rectangle {
id: bgWorkshop id: bgWorkshop
color: "#161C1D" color: "#161C1D"
anchors.fill: parent anchors.fill: parent
} }
@ -23,52 +26,62 @@ Rectangle {
states: [ states: [
State { State {
name: "init" name: "init"
PropertyChanges { PropertyChanges {
target: bgCommunity target: bgCommunity
opacity: 0 opacity: 0
} }
PropertyChanges { PropertyChanges {
target: bgWorkshop target: bgWorkshop
opacity: 0 opacity: 0
} }
}, },
State { State {
name: "create" name: "create"
PropertyChanges { PropertyChanges {
target: bgCommunity target: bgCommunity
opacity: 0 opacity: 0
} }
PropertyChanges { PropertyChanges {
target: bgWorkshop target: bgWorkshop
opacity: 0 opacity: 0
} }
}, },
State { State {
name: "community" name: "community"
PropertyChanges { PropertyChanges {
target: bgCommunity target: bgCommunity
opacity: 1 opacity: 1
} }
PropertyChanges { PropertyChanges {
target: bgWorkshop target: bgWorkshop
opacity: 0 opacity: 0
} }
}, },
State { State {
name: "workshop" name: "workshop"
PropertyChanges { PropertyChanges {
target: bgCommunity target: bgCommunity
opacity: 0 opacity: 0
} }
PropertyChanges { PropertyChanges {
target: bgWorkshop target: bgWorkshop
opacity: 1 opacity: 1
} }
} }
] ]
transitions: [ transitions: [
Transition { Transition {
from: "*" from: "*"
to: "*" to: "*"
@ -79,6 +92,7 @@ Rectangle {
duration: 400 duration: 400
easing.type: Easing.InOutQuart easing.type: Easing.InOutQuart
} }
} }
] ]
} }

View File

@ -9,19 +9,6 @@ import QtQuick.Controls.Material 2.3
*/ */
MouseArea { MouseArea {
id: root id: root
width: 32
height: width
cursorShape: Qt.PointingHandCursor
onEntered: root.state = "hover"
onExited: root.state = ""
hoverEnabled: true
anchors {
top: parent.top
right: parent.right
margins: 10
}
/*! /*!
\qmlproperty color BackButtonIcon::color \qmlproperty color BackButtonIcon::color
@ -29,8 +16,6 @@ MouseArea {
Color if the icon. Color if the icon.
*/ */
property color color: Material.iconColor property color color: Material.iconColor
/*! /*!
\qmlproperty string BackButtonIcon::icon \qmlproperty string BackButtonIcon::icon
@ -38,8 +23,22 @@ MouseArea {
*/ */
property string icon: "qrc:/assets/icons/icon_close.svg" property string icon: "qrc:/assets/icons/icon_close.svg"
width: 32
height: width
cursorShape: Qt.PointingHandCursor
onEntered: root.state = "hover"
onExited: root.state = ""
hoverEnabled: true
anchors {
top: parent.top
right: parent.right
margins: 10
}
Image { Image {
id: imgClose id: imgClose
source: root.icon source: root.icon
visible: false visible: false
width: 14 width: 14
@ -51,10 +50,12 @@ MouseArea {
ColorOverlay { ColorOverlay {
id: iconColorOverlay id: iconColorOverlay
anchors.fill: imgClose anchors.fill: imgClose
source: imgClose source: imgClose
color: root.color color: root.color
} }
states: [ states: [
State { State {
name: "hover" name: "hover"
@ -63,9 +64,9 @@ MouseArea {
target: iconColorOverlay target: iconColorOverlay
color: Material.color(Material.Orange) color: Material.color(Material.Orange)
} }
} }
] ]
transitions: [ transitions: [
Transition { Transition {
from: "" from: ""
@ -77,6 +78,7 @@ MouseArea {
duration: 200 duration: 200
easing.type: Easing.InOutQuad easing.type: Easing.InOutQuad
} }
} }
] ]
} }

View File

@ -30,22 +30,122 @@ import QtQuick.Controls 2.12
import QtQuick.Shapes 1.12 import QtQuick.Shapes 1.12
Pane { Pane {
width: 500
height: 300
property color hueColor: "blue" property color hueColor: "blue"
property int colorHandleRadius: 10 property int colorHandleRadius: 10
property int marginsValue: 10 property int marginsValue: 10
property int chekerSide: 5 property int chekerSide: 5
property color currentColor: "black" property color currentColor: "black"
property var commonColors: ['#FFFFFF', '#C0C0C0', '#808080', '#000000', '#FF0000', '#800000', '#FFFF00', '#808000', '#00FF00', '#008000', '#00FFFF', '#008080', '#0000FF', '#000080', '#FF00FF', '#800080'] property var commonColors: ['#FFFFFF', '#C0C0C0', '#808080', '#000000', '#FF0000', '#800000', '#FFFF00', '#808000', '#00FF00', '#008000', '#00FFFF', '#008080', '#0000FF', '#000080', '#FF00FF', '#800080']
property bool updatingControls: false property bool updatingControls: false
function initColor(acolor) { function initColor(acolor) {
initColorRGB(acolor.r * 255, acolor.g * 255, acolor.b * 255, initColorRGB(acolor.r * 255, acolor.g * 255, acolor.b * 255, acolor.a * 255);
acolor.a * 255) }
function setHueColor(hueValue) {
var v = 1 - hueValue;
if (0 <= v && v < 0.16) {
return Qt.rgba(1, 0, v / 0.16, 1);
} else if (0.16 <= v && v < 0.33) {
return Qt.rgba(1 - (v - 0.16) / 0.17, 0, 1, 1);
} else if (0.33 <= v && v < 0.5) {
return Qt.rgba(0, ((v - 0.33) / 0.17), 1, 1);
} else if (0.5 <= v && v < 0.76) {
return Qt.rgba(0, 1, 1 - (v - 0.5) / 0.26, 1);
} else if (0.76 <= v && v < 0.85) {
return Qt.rgba((v - 0.76) / 0.09, 1, 0, 1);
} else if (0.85 <= v && v <= 1) {
return Qt.rgba(1, 1 - (v - 0.85) / 0.15, 0, 1);
} else {
console.log("Invalid hueValue [0, 1]", hueValue);
return "white";
}
}
function hexToRgb(hex) {
// Expand shorthand form (e.g. "03F") to full form (e.g. "0033FF")
var shorthandRegex = /^#?([a-f\d])([a-f\d])([a-f\d])$/i;
hex = hex.replace(shorthandRegex, function(m, r, g, b) {
return r + r + g + g + b + b;
});
var result = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(hex);
return result ? {
"r": parseInt(result[1], 16),
"g": parseInt(result[2], 16),
"b": parseInt(result[3], 16)
} : null;
}
function rgbToHex(r, g, b) {
return ((1 << 24) + (r << 16) + (g << 8) + b).toString(16).slice(1);
}
function drawChecker(ctx, width, height) {
ctx.lineWidth = 0;
//ctx.strokeStyle = 'blue'
var numRows = Math.ceil(height / chekerSide);
var numCols = Math.ceil(width / chekerSide);
var lastWhite = false;
var lastColWhite = false;
for (var icol = 0; icol < numCols; icol++) {
lastColWhite = lastWhite;
for (var irow = 0; irow < numRows; irow++) {
if (lastWhite)
ctx.fillStyle = 'gray';
else
ctx.fillStyle = 'white';
ctx.fillRect(icol * chekerSide, irow * chekerSide, chekerSide, chekerSide);
lastWhite = !lastWhite;
}
lastWhite = !lastColWhite;
}
}
function handleMouseVertSlider(mouse, ctrlCursor, ctrlHeight) {
if (mouse.buttons & Qt.LeftButton) {
ctrlCursor.y = Math.max(0, Math.min(ctrlHeight, mouse.y));
setCurrentColor();
}
}
function setCurrentColor() {
var alphaFactor = 1 - (shpAlpha.y / shpAlpha.parent.height);
if (optHsv.checked) {
var hueFactor = 1 - (shpHue.y / shpHue.parent.height);
hueColor = setHueColor(hueFactor);
var saturation = (pickerCursor.x + colorHandleRadius) / pickerCursor.parent.width;
var colorValue = 1 - ((pickerCursor.y + colorHandleRadius) / pickerCursor.parent.height);
currentColor = Qt.hsva(hueFactor, saturation, colorValue, alphaFactor);
} else {
currentColor = Qt.rgba(sliderRed.value / 255, sliderGreen.value / 255, sliderBlue.value / 255, alphaFactor);
}
hexColor.text = rgbToHex(currentColor.r * 255, currentColor.g * 255, currentColor.b * 255);
optHsv.focus = true;
}
function initColorRGB(ared, agreen, ablue, aalpha) {
updatingControls = true;
var acolor = Qt.rgba(ared / 255, agreen / 255, ablue / 255, aalpha / 255);
var valHue = acolor.hsvHue;
if (valHue < 0)
valHue = 0;
//console.log("toset", acolor.r * 255, acolor.g * 255, acolor.b * 255, acolor.a * 255)
shpHue.y = ((1 - valHue) * shpHue.parent.height);
shpAlpha.y = ((1 - acolor.a) * shpAlpha.parent.height);
pickerCursor.x = (acolor.hsvSaturation * pickerCursor.parent.width) - colorHandleRadius;
pickerCursor.y = ((1 - acolor.hsvValue) * pickerCursor.parent.height) - colorHandleRadius;
sliderRed.value = ared;
sliderGreen.value = agreen;
sliderBlue.value = ablue;
setCurrentColor();
updatingControls = false;
}
width: 500
height: 300
Component.onCompleted: {
initColorRGB(255, 0, 0, 255);
} }
RowLayout { RowLayout {
@ -74,19 +174,23 @@ Pane {
y: 0 y: 0
width: parent.width width: parent.width
height: parent.height height: parent.height
visible: true visible: true
gradient: Gradient { gradient: Gradient {
orientation: Gradient.Horizontal orientation: Gradient.Horizontal
GradientStop { GradientStop {
position: 0.0 position: 0
color: "#FFFFFF" color: "#FFFFFF"
} }
GradientStop { GradientStop {
position: 1.0 position: 1
color: hueColor color: hueColor
} }
} }
} }
Rectangle { Rectangle {
@ -95,28 +199,33 @@ Pane {
width: parent.width width: parent.width
height: parent.height height: parent.height
border.color: BppMetrics.accentColor border.color: BppMetrics.accentColor
visible: true visible: true
gradient: Gradient { gradient: Gradient {
GradientStop { GradientStop {
position: 1.0 position: 1
color: "#FF000000" color: "#FF000000"
} }
GradientStop { GradientStop {
position: 0.0 position: 0
color: "#00000000" color: "#00000000"
} }
} }
} }
Rectangle { Rectangle {
id: pickerCursor id: pickerCursor
width: colorHandleRadius * 2 width: colorHandleRadius * 2
height: colorHandleRadius * 2 height: colorHandleRadius * 2
radius: colorHandleRadius radius: colorHandleRadius
border.color: BppMetrics.windowBackground border.color: BppMetrics.windowBackground
border.width: 2 border.width: 2
color: "transparent" color: "transparent"
Rectangle { Rectangle {
anchors.fill: parent anchors.fill: parent
anchors.margins: 2 anchors.margins: 2
@ -125,66 +234,33 @@ Pane {
radius: width / 2 radius: width / 2
color: "transparent" color: "transparent"
} }
} }
MouseArea { MouseArea {
anchors.fill: parent
function handleMouse(mouse) { function handleMouse(mouse) {
if (mouse.buttons & Qt.LeftButton) { if (mouse.buttons & Qt.LeftButton) {
pickerCursor.x = Math.max( pickerCursor.x = Math.max(-colorHandleRadius, Math.min(width, mouse.x) - colorHandleRadius);
-colorHandleRadius, Math.min( pickerCursor.y = Math.max(-colorHandleRadius, Math.min(height, mouse.y) - colorHandleRadius);
width, setCurrentColor();
mouse.x) - colorHandleRadius)
pickerCursor.y = Math.max(
-colorHandleRadius, Math.min(
height,
mouse.y) - colorHandleRadius)
setCurrentColor()
} }
} }
anchors.fill: parent
onPositionChanged: handleMouse(mouse) onPositionChanged: handleMouse(mouse)
onPressed: handleMouse(mouse) onPressed: handleMouse(mouse)
} }
} }
Rectangle { Rectangle {
Layout.fillHeight: true Layout.fillHeight: true
Layout.preferredWidth: 30 Layout.preferredWidth: 30
border.color: BppMetrics.accentColor border.color: BppMetrics.accentColor
gradient: Gradient {
GradientStop {
position: 1.0
color: "#FF0000"
}
GradientStop {
position: 0.85
color: "#FFFF00"
}
GradientStop {
position: 0.76
color: "#00FF00"
}
GradientStop {
position: 0.5
color: "#00FFFF"
}
GradientStop {
position: 0.33
color: "#0000FF"
}
GradientStop {
position: 0.16
color: "#FF00FF"
}
GradientStop {
position: 0.0
color: "#FF0000"
}
}
Shape { Shape {
id: shpHue id: shpHue
anchors.left: parent.left anchors.left: parent.left
anchors.margins: 0 anchors.margins: 0
y: 90 y: 90
@ -192,27 +268,72 @@ Pane {
ShapePath { ShapePath {
strokeWidth: 1 strokeWidth: 1
strokeColor: "black" strokeColor: "black"
PathSvg { PathSvg {
path: "M0,0 L30,0" path: "M0,0 L30,0"
} }
} }
ShapePath { ShapePath {
strokeWidth: 2 strokeWidth: 2
strokeColor: BppMetrics.accentColor strokeColor: BppMetrics.accentColor
fillColor: "transparent" fillColor: "transparent"
PathSvg { PathSvg {
path: "M0,-5 L30,-5 L30,4 L0,4z" path: "M0,-5 L30,-5 L30,4 L0,4z"
} }
} }
} }
MouseArea { MouseArea {
anchors.fill: parent anchors.fill: parent
onPositionChanged: handleMouseVertSlider(mouse, onPositionChanged: handleMouseVertSlider(mouse, shpHue, height)
shpHue, height)
onPressed: handleMouseVertSlider(mouse, shpHue, height) onPressed: handleMouseVertSlider(mouse, shpHue, height)
} }
gradient: Gradient {
GradientStop {
position: 1
color: "#FF0000"
}
GradientStop {
position: 0.85
color: "#FFFF00"
}
GradientStop {
position: 0.76
color: "#00FF00"
}
GradientStop {
position: 0.5
color: "#00FFFF"
}
GradientStop {
position: 0.33
color: "#0000FF"
}
GradientStop {
position: 0.16
color: "#FF00FF"
}
GradientStop {
position: 0
color: "#FF0000"
}
}
} }
} }
ColumnLayout { ColumnLayout {
@ -224,50 +345,63 @@ Pane {
text: qsTr("Red") text: qsTr("Red")
color: BppMetrics.textColor color: BppMetrics.textColor
} }
Slider { Slider {
id: sliderRed id: sliderRed
Layout.fillWidth: true Layout.fillWidth: true
from: 0 from: 0
to: 255 to: 255
value: 0 value: 0
onValueChanged: { onValueChanged: {
if (!updatingControls) if (!updatingControls)
setCurrentColor() setCurrentColor();
} }
} }
Label { Label {
text: qsTr("Green") text: qsTr("Green")
color: BppMetrics.textColor color: BppMetrics.textColor
} }
Slider { Slider {
id: sliderGreen id: sliderGreen
Layout.fillWidth: true Layout.fillWidth: true
from: 0 from: 0
to: 255 to: 255
value: 0 value: 0
onValueChanged: { onValueChanged: {
if (!updatingControls) if (!updatingControls)
setCurrentColor() setCurrentColor();
} }
} }
Label { Label {
text: qsTr("Blue") text: qsTr("Blue")
color: BppMetrics.textColor color: BppMetrics.textColor
} }
Slider { Slider {
id: sliderBlue id: sliderBlue
Layout.fillWidth: true Layout.fillWidth: true
from: 0 from: 0
to: 255 to: 255
value: 0 value: 0
onValueChanged: { onValueChanged: {
if (!updatingControls) if (!updatingControls)
setCurrentColor() setCurrentColor();
} }
} }
Item { Item {
Layout.fillHeight: true Layout.fillHeight: true
} }
} }
Rectangle { Rectangle {
@ -283,65 +417,58 @@ Pane {
Repeater { Repeater {
model: commonColors model: commonColors
Rectangle { Rectangle {
Layout.fillWidth: true Layout.fillWidth: true
Layout.fillHeight: true Layout.fillHeight: true
color: modelData color: modelData
border.color: "gray" border.color: "gray"
border.width: 0 border.width: 0
MouseArea { MouseArea {
anchors.fill: parent anchors.fill: parent
hoverEnabled: true hoverEnabled: true
onPressed: { onPressed: {
initColorRGB(parent.color.r * 255, initColorRGB(parent.color.r * 255, parent.color.g * 255, parent.color.b * 255, 255);
parent.color.g * 255,
parent.color.b * 255, 255)
} }
onEntered: { onEntered: {
border.width = 1 border.width = 1;
var compColor = Qt.rgba(1, 1, 1, 1) var compColor = Qt.rgba(1, 1, 1, 1);
if (color.hsvValue > 0.5) if (color.hsvValue > 0.5)
compColor = Qt.rgba(0, 0, 0, 1) compColor = Qt.rgba(0, 0, 0, 1);
border.color = compColor
border.color = compColor;
} }
onExited: { onExited: {
border.width = 0 border.width = 0;
} }
} }
} }
} }
} }
} }
} }
Canvas { Canvas {
Layout.fillHeight: true Layout.fillHeight: true
Layout.preferredWidth: 30 Layout.preferredWidth: 30
onPaint: { onPaint: {
var ctx = getContext('2d') var ctx = getContext('2d');
drawChecker(ctx, width, height) drawChecker(ctx, width, height);
} }
Rectangle { Rectangle {
anchors.fill: parent anchors.fill: parent
border.color: BppMetrics.accentColor border.color: BppMetrics.accentColor
gradient: Gradient {
//GradientStop { position: 0.0; color: "#FF000000" }
GradientStop {
position: 0.0
color: Qt.rgba(currentColor.r, currentColor.g,
currentColor.b, 1)
}
GradientStop {
position: 1.0
color: "#00000000"
}
}
Shape { Shape {
id: shpAlpha id: shpAlpha
anchors.left: parent.left anchors.left: parent.left
anchors.margins: 0 anchors.margins: 0
y: 90 y: 90
@ -349,27 +476,48 @@ Pane {
ShapePath { ShapePath {
strokeWidth: 1 strokeWidth: 1
strokeColor: "black" strokeColor: "black"
PathSvg { PathSvg {
path: "M0,0 L30,0" path: "M0,0 L30,0"
} }
} }
ShapePath { ShapePath {
strokeWidth: 2 strokeWidth: 2
strokeColor: BppMetrics.accentColor strokeColor: BppMetrics.accentColor
fillColor: "transparent" fillColor: "transparent"
PathSvg { PathSvg {
path: "M0,-5 L30,-5 L30,4 L0,4z" path: "M0,-5 L30,-5 L30,4 L0,4z"
} }
} }
} }
MouseArea { MouseArea {
anchors.fill: parent anchors.fill: parent
onPositionChanged: handleMouseVertSlider(mouse, onPositionChanged: handleMouseVertSlider(mouse, shpAlpha, height)
shpAlpha, height)
onPressed: handleMouseVertSlider(mouse, shpAlpha, height) onPressed: handleMouseVertSlider(mouse, shpAlpha, height)
} }
gradient: Gradient {
//GradientStop { position: 0.0; color: "#FF000000" }
GradientStop {
position: 0
color: Qt.rgba(currentColor.r, currentColor.g, currentColor.b, 1)
}
GradientStop {
position: 1
color: "#00000000"
}
}
} }
} }
ColumnLayout { ColumnLayout {
@ -381,41 +529,50 @@ Pane {
Canvas { Canvas {
Layout.fillWidth: true Layout.fillWidth: true
height: 35 height: 35
onPaint: { onPaint: {
var ctx = getContext('2d') var ctx = getContext('2d');
drawChecker(ctx, width, height) drawChecker(ctx, width, height);
} }
Rectangle { Rectangle {
border.color: BppMetrics.accentColor border.color: BppMetrics.accentColor
color: "transparent" color: "transparent"
anchors.fill: parent anchors.fill: parent
RowLayout { RowLayout {
anchors.fill: parent anchors.fill: parent
anchors.margins: 1 anchors.margins: 1
spacing: 0 spacing: 0
Rectangle { Rectangle {
Layout.fillWidth: true Layout.fillWidth: true
Layout.fillHeight: true Layout.fillHeight: true
color: Qt.rgba(currentColor.r, currentColor.g, color: Qt.rgba(currentColor.r, currentColor.g, currentColor.b, 1)
currentColor.b, 1)
} }
Rectangle { Rectangle {
Layout.fillWidth: true Layout.fillWidth: true
Layout.fillHeight: true Layout.fillHeight: true
color: currentColor color: currentColor
} }
} }
} }
} }
ColumnLayout { ColumnLayout {
spacing: 0 spacing: 0
RadioButton { RadioButton {
id: optRgb id: optRgb
padding: 0 padding: 0
text: qsTr("RGB") text: qsTr("RGB")
Layout.alignment: Qt.AlignLeft Layout.alignment: Qt.AlignLeft
onCheckedChanged: initColorRGB(currentColor.r * 255, currentColor.g * 255, currentColor.b * 255, currentColor.a * 255)
contentItem: Text { contentItem: Text {
text: optRgb.text text: optRgb.text
color: BppMetrics.textColor color: BppMetrics.textColor
@ -423,18 +580,19 @@ Pane {
leftPadding: optRgb.indicator.width + optRgb.spacing leftPadding: optRgb.indicator.width + optRgb.spacing
verticalAlignment: Text.AlignVCenter verticalAlignment: Text.AlignVCenter
} }
onCheckedChanged: initColorRGB(currentColor.r * 255,
currentColor.g * 255,
currentColor.b * 255,
currentColor.a * 255)
} }
RadioButton { RadioButton {
id: optHsv id: optHsv
padding: 0 padding: 0
text: qsTr("HSV") text: qsTr("HSV")
Layout.alignment: Qt.AlignLeft Layout.alignment: Qt.AlignLeft
checked: true checked: true
focus: true focus: true
onCheckedChanged: initColorRGB(currentColor.r * 255, currentColor.g * 255, currentColor.b * 255, currentColor.a * 255)
contentItem: Text { contentItem: Text {
text: optHsv.text text: optHsv.text
color: BppMetrics.textColor color: BppMetrics.textColor
@ -442,11 +600,9 @@ Pane {
leftPadding: optHsv.indicator.width + optHsv.spacing leftPadding: optHsv.indicator.width + optHsv.spacing
verticalAlignment: Text.AlignVCenter verticalAlignment: Text.AlignVCenter
} }
onCheckedChanged: initColorRGB(currentColor.r * 255,
currentColor.g * 255,
currentColor.b * 255,
currentColor.a * 255)
} }
} }
Item { Item {
@ -456,82 +612,105 @@ Pane {
RowLayout { RowLayout {
visible: optRgb.checked visible: optRgb.checked
Layout.fillWidth: true Layout.fillWidth: true
Label { Label {
text: qsTr("R:") text: qsTr("R:")
color: BppMetrics.textColor color: BppMetrics.textColor
} }
Label { Label {
text: Math.floor(currentColor.r * 255) text: Math.floor(currentColor.r * 255)
Layout.fillWidth: true Layout.fillWidth: true
color: BppMetrics.textColor color: BppMetrics.textColor
} }
} }
RowLayout { RowLayout {
visible: optRgb.checked visible: optRgb.checked
Layout.fillWidth: true Layout.fillWidth: true
Label { Label {
text: qsTr("G:") text: qsTr("G:")
color: BppMetrics.textColor color: BppMetrics.textColor
} }
Label { Label {
text: Math.floor(currentColor.g * 255) text: Math.floor(currentColor.g * 255)
Layout.fillWidth: true Layout.fillWidth: true
color: BppMetrics.textColor color: BppMetrics.textColor
} }
} }
RowLayout { RowLayout {
visible: optRgb.checked visible: optRgb.checked
Layout.fillWidth: true Layout.fillWidth: true
Label { Label {
text: qsTr("B:") text: qsTr("B:")
color: BppMetrics.textColor color: BppMetrics.textColor
} }
Label { Label {
text: Math.floor(currentColor.b * 255) text: Math.floor(currentColor.b * 255)
Layout.fillWidth: true Layout.fillWidth: true
color: BppMetrics.textColor color: BppMetrics.textColor
} }
} }
RowLayout { RowLayout {
visible: optHsv.checked visible: optHsv.checked
Layout.fillWidth: true Layout.fillWidth: true
Label { Label {
text: qsTr("H:") text: qsTr("H:")
color: BppMetrics.textColor color: BppMetrics.textColor
} }
Label { Label {
text: Math.floor(currentColor.hsvHue * 360) text: Math.floor(currentColor.hsvHue * 360)
Layout.fillWidth: true Layout.fillWidth: true
color: BppMetrics.textColor color: BppMetrics.textColor
} }
} }
RowLayout { RowLayout {
visible: optHsv.checked visible: optHsv.checked
Layout.fillWidth: true Layout.fillWidth: true
Label { Label {
text: qsTr("S:") text: qsTr("S:")
color: BppMetrics.textColor color: BppMetrics.textColor
} }
Label { Label {
text: Math.floor(currentColor.hsvSaturation * 100) text: Math.floor(currentColor.hsvSaturation * 100)
Layout.fillWidth: true Layout.fillWidth: true
color: BppMetrics.textColor color: BppMetrics.textColor
} }
} }
RowLayout { RowLayout {
visible: optHsv.checked visible: optHsv.checked
Layout.fillWidth: true Layout.fillWidth: true
Label { Label {
text: qsTr("V:") text: qsTr("V:")
color: BppMetrics.textColor color: BppMetrics.textColor
} }
Label { Label {
text: Math.floor(currentColor.hsvValue * 100) text: Math.floor(currentColor.hsvValue * 100)
Layout.fillWidth: true Layout.fillWidth: true
color: BppMetrics.textColor color: BppMetrics.textColor
} }
} }
Item { Item {
Layout.fillHeight: true Layout.fillHeight: true
} }
@ -539,170 +718,56 @@ Pane {
//Label { text: qsTr("Alpha"); color: BppMetrics.textColor; font.bold: true; Layout.alignment: Qt.AlignLeft } //Label { text: qsTr("Alpha"); color: BppMetrics.textColor; font.bold: true; Layout.alignment: Qt.AlignLeft }
RowLayout { RowLayout {
Layout.fillWidth: true Layout.fillWidth: true
Label { Label {
text: qsTr("Alpha:") text: qsTr("Alpha:")
color: BppMetrics.textColor color: BppMetrics.textColor
} }
Label { Label {
text: Math.floor(currentColor.a * 255) text: Math.floor(currentColor.a * 255)
Layout.fillWidth: true Layout.fillWidth: true
color: BppMetrics.textColor color: BppMetrics.textColor
} }
} }
RowLayout { RowLayout {
Layout.fillWidth: true Layout.fillWidth: true
spacing: 0 spacing: 0
Label { Label {
text: qsTr("#") text: qsTr("#")
color: BppMetrics.textColor color: BppMetrics.textColor
} }
TextInput { TextInput {
id: hexColor id: hexColor
Layout.fillWidth: true Layout.fillWidth: true
text: "FF0099" text: "FF0099"
inputMask: "HHHHHH" inputMask: "HHHHHH"
selectByMouse: true selectByMouse: true
color: BppMetrics.textColor color: BppMetrics.textColor
onTextChanged: { onTextChanged: {
if (!hexColor.focus) { if (!hexColor.focus)
return return ;
}
if (!updatingControls && acceptableInput) { if (!updatingControls && acceptableInput) {
var rgbColor = hexToRgb(text) //console.log('updating', rgbColor.r, currentColor.r * 255, rgbColor.g, currentColor.g * 255, rgbColor.b, currentColor.b * 255)
if (rgbColor && rgbColor.r !== Math.floor(
currentColor.r * 255) var rgbColor = hexToRgb(text);
&& rgbColor.g !== Math.floor( if (rgbColor && rgbColor.r !== Math.floor(currentColor.r * 255) && rgbColor.g !== Math.floor(currentColor.g * 255) && rgbColor.b !== Math.floor(currentColor.b * 255))
currentColor.g * 255) initColorRGB(rgbColor.r, rgbColor.g, rgbColor.b, currentColor.a * 255);
&& rgbColor.b !== Math.floor(
currentColor.b * 255)) {
//console.log('updating', rgbColor.r, currentColor.r * 255, rgbColor.g, currentColor.g * 255, rgbColor.b, currentColor.b * 255)
initColorRGB(rgbColor.r, rgbColor.g,
rgbColor.b, currentColor.a * 255)
}
} }
} }
} }
} }
}
}
function setHueColor(hueValue) {
var v = 1.0 - hueValue
if (0.0 <= v && v < 0.16) {
return Qt.rgba(1.0, 0.0, v / 0.16, 1.0)
} else if (0.16 <= v && v < 0.33) {
return Qt.rgba(1.0 - (v - 0.16) / 0.17, 0.0, 1.0, 1.0)
} else if (0.33 <= v && v < 0.5) {
return Qt.rgba(0.0, ((v - 0.33) / 0.17), 1.0, 1.0)
} else if (0.5 <= v && v < 0.76) {
return Qt.rgba(0.0, 1.0, 1.0 - (v - 0.5) / 0.26, 1.0)
} else if (0.76 <= v && v < 0.85) {
return Qt.rgba((v - 0.76) / 0.09, 1.0, 0.0, 1.0)
} else if (0.85 <= v && v <= 1.0) {
return Qt.rgba(1.0, 1.0 - (v - 0.85) / 0.15, 0.0, 1.0)
} else {
console.log("Invalid hueValue [0, 1]", hueValue)
return "white"
}
}
function hexToRgb(hex) {
// Expand shorthand form (e.g. "03F") to full form (e.g. "0033FF")
var shorthandRegex = /^#?([a-f\d])([a-f\d])([a-f\d])$/i
hex = hex.replace(shorthandRegex, function (m, r, g, b) {
return r + r + g + g + b + b
})
var result = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(hex)
return result ? {
"r": parseInt(result[1], 16),
"g": parseInt(result[2], 16),
"b": parseInt(result[3], 16)
} : null
}
function rgbToHex(r, g, b) {
return ((1 << 24) + (r << 16) + (g << 8) + b).toString(16).slice(1)
}
function drawChecker(ctx, width, height) {
ctx.lineWidth = 0
//ctx.strokeStyle = 'blue'
var numRows = Math.ceil(height / chekerSide)
var numCols = Math.ceil(width / chekerSide)
var lastWhite = false
var lastColWhite = false
for (var icol = 0; icol < numCols; icol++) {
lastColWhite = lastWhite
for (var irow = 0; irow < numRows; irow++) {
if (lastWhite)
ctx.fillStyle = 'gray'
else
ctx.fillStyle = 'white'
ctx.fillRect(icol * chekerSide, irow * chekerSide, chekerSide,
chekerSide)
lastWhite = !lastWhite
}
lastWhite = !lastColWhite
}
}
function handleMouseVertSlider(mouse, ctrlCursor, ctrlHeight) {
if (mouse.buttons & Qt.LeftButton) {
ctrlCursor.y = Math.max(0, Math.min(ctrlHeight, mouse.y))
setCurrentColor()
}
}
function setCurrentColor() {
var alphaFactor = 1.0 - (shpAlpha.y / shpAlpha.parent.height)
if (optHsv.checked) {
var hueFactor = 1.0 - (shpHue.y / shpHue.parent.height)
hueColor = setHueColor(hueFactor)
var saturation = (pickerCursor.x + colorHandleRadius) / pickerCursor.parent.width
var colorValue = 1 - ((pickerCursor.y + colorHandleRadius) / pickerCursor.parent.height)
currentColor = Qt.hsva(hueFactor, saturation, colorValue,
alphaFactor)
} else {
currentColor = Qt.rgba(sliderRed.value / 255.0,
sliderGreen.value / 255.0,
sliderBlue.value / 255.0, alphaFactor)
} }
hexColor.text = rgbToHex(currentColor.r * 255, currentColor.g * 255,
currentColor.b * 255)
optHsv.focus = true
} }
function initColorRGB(ared, agreen, ablue, aalpha) {
updatingControls = true
var acolor = Qt.rgba(ared / 255.0, agreen / 255.0, ablue / 255.0,
aalpha / 255.0)
var valHue = acolor.hsvHue
if (valHue < 0)
valHue = 0
//console.log("toset", acolor.r * 255, acolor.g * 255, acolor.b * 255, acolor.a * 255)
shpHue.y = ((1.0 - valHue) * shpHue.parent.height)
shpAlpha.y = ((1.0 - acolor.a) * shpAlpha.parent.height)
pickerCursor.x = (acolor.hsvSaturation * pickerCursor.parent.width) - colorHandleRadius
pickerCursor.y = ((1 - acolor.hsvValue) * pickerCursor.parent.height) - colorHandleRadius
sliderRed.value = ared
sliderGreen.value = agreen
sliderBlue.value = ablue
setCurrentColor()
updatingControls = false
}
Component.onCompleted: {
initColorRGB(255, 0, 0, 255)
}
} }

View File

@ -8,31 +8,32 @@ import ScreenPlay 1.0
Dialog { Dialog {
id: root id: root
modal: true
anchors.centerIn: Overlay.overlay
standardButtons: Dialog.Ok | Dialog.Help
onHelpRequested: {
Qt.openUrlExternally(
"https://forum.screen-play.app/category/7/troubleshooting")
}
property Window mainWindow property Window mainWindow
property string message property string message
modal: true
anchors.centerIn: Overlay.overlay
standardButtons: Dialog.Ok | Dialog.Help
onHelpRequested: {
Qt.openUrlExternally("https://forum.screen-play.app/category/7/troubleshooting");
}
Connections { Connections {
target: ScreenPlay.screenPlayManager
function onDisplayErrorPopup(msg) { function onDisplayErrorPopup(msg) {
root.message = msg root.message = msg;
root.mainWindow.show() root.mainWindow.show();
root.open() root.open();
} }
target: ScreenPlay.screenPlayManager
} }
contentItem: Item { contentItem: Item {
width: 600 width: 600
height: 400 height: 400
ColumnLayout {
ColumnLayout {
anchors.margins: 20 anchors.margins: 20
anchors.fill: parent anchors.fill: parent
spacing: 20 spacing: 20
@ -46,10 +47,13 @@ Dialog {
layer { layer {
enabled: true enabled: true
effect: ColorOverlay { effect: ColorOverlay {
color: Material.color(Material.DeepOrange) color: Material.color(Material.DeepOrange)
} }
} }
} }
Text { Text {
@ -63,6 +67,9 @@ Dialog {
font.pointSize: 16 font.pointSize: 16
color: Material.primaryTextColor color: Material.primaryTextColor
} }
} }
} }
} }

View File

@ -2,19 +2,26 @@ import QtQuick 2.12
import QtQuick.Controls 2.3 import QtQuick.Controls 2.3
import QtQuick.Layouts 1.3 import QtQuick.Layouts 1.3
import QtQuick.Controls.Material 2.12 import QtQuick.Controls.Material 2.12
import ScreenPlay 1.0 import ScreenPlay 1.0
Dialog { Dialog {
id: dialogMonitorConfigurationChanged id: dialogMonitorConfigurationChanged
modal: true modal: true
anchors.centerIn: Overlay.overlay anchors.centerIn: Overlay.overlay
standardButtons: Dialog.Ok standardButtons: Dialog.Ok
contentHeight: 250 contentHeight: 250
Connections {
function onMonitorConfigurationChanged() {
dialogMonitorConfigurationChanged.open();
}
target: ScreenPlay.monitorListModel
}
contentItem: Item { contentItem: Item {
ColumnLayout { ColumnLayout {
anchors.margins: 20 anchors.margins: 20
anchors.fill: parent anchors.fill: parent
spacing: 20 spacing: 20
@ -37,12 +44,9 @@ Dialog {
font.pointSize: 16 font.pointSize: 16
color: Material.primaryTextColor color: Material.primaryTextColor
} }
} }
} }
Connections {
target: ScreenPlay.monitorListModel
function onMonitorConfigurationChanged() {
dialogMonitorConfigurationChanged.open()
}
}
} }

View File

@ -4,6 +4,7 @@ import QtQuick.Layouts 1.3
Dialog { Dialog {
id: dialogSteam id: dialogSteam
modal: true modal: true
anchors.centerIn: Overlay.overlay anchors.centerIn: Overlay.overlay
standardButtons: Dialog.Ok standardButtons: Dialog.Ok

View File

@ -4,7 +4,6 @@ import QtQuick.Controls.Material 2.12
import QtQuick.Dialogs 1.2 import QtQuick.Dialogs 1.2
import ScreenPlay 1.0 import ScreenPlay 1.0
/*! /*!
\qmltype Image Selector \qmltype Image Selector
\brief A image selector with popup preview. \brief A image selector with popup preview.
@ -26,29 +25,30 @@ import ScreenPlay 1.0
*/ */
Item { Item {
id: root id: root
height: 70
implicitWidth: 300
state: "nothingSelected"
property string file property string file
property alias placeHolderText: txtPlaceholder.text property alias placeHolderText: txtPlaceholder.text
property alias fileDialog: fileDialog property alias fileDialog: fileDialog
height: 70
implicitWidth: 300
state: "nothingSelected"
onFileChanged: { onFileChanged: {
if (file === "") { if (file === "") {
txtName.text = "" txtName.text = "";
root.state = "nothingSelected" root.state = "nothingSelected";
} else { } else {
root.state = "imageSelected" root.state = "imageSelected";
} }
} }
Rectangle { Rectangle {
id: rectangle id: rectangle
color: Material.theme === Material.Light ? Material.background : Qt.darker(
Material.background) color: Material.theme === Material.Light ? Material.background : Qt.darker(Material.background)
radius: 3 radius: 3
clip: true clip: true
anchors { anchors {
fill: parent fill: parent
margins: 3 margins: 3
@ -56,6 +56,7 @@ Item {
Text { Text {
id: txtPlaceholder id: txtPlaceholder
clip: true clip: true
font.pointSize: 12 font.pointSize: 12
font.capitalization: Font.Capitalize font.capitalization: Font.Capitalize
@ -64,6 +65,7 @@ Item {
color: Material.secondaryTextColor color: Material.secondaryTextColor
verticalAlignment: Text.AlignVCenter verticalAlignment: Text.AlignVCenter
horizontalAlignment: Text.AlignLeft horizontalAlignment: Text.AlignLeft
anchors { anchors {
top: parent.top top: parent.top
left: parent.left left: parent.left
@ -71,10 +73,12 @@ Item {
bottom: parent.bottom bottom: parent.bottom
margins: 10 margins: 10
} }
} }
Text { Text {
id: txtName id: txtName
clip: true clip: true
font.pointSize: 12 font.pointSize: 12
font.family: ScreenPlay.settings.font font.family: ScreenPlay.settings.font
@ -82,6 +86,7 @@ Item {
verticalAlignment: Text.AlignVCenter verticalAlignment: Text.AlignVCenter
horizontalAlignment: Text.AlignLeft horizontalAlignment: Text.AlignLeft
color: Material.secondaryTextColor color: Material.secondaryTextColor
anchors { anchors {
top: parent.top top: parent.top
left: parent.left left: parent.left
@ -89,16 +94,19 @@ Item {
bottom: parent.bottom bottom: parent.bottom
margins: 10 margins: 10
} }
} }
Button { Button {
id: btnClear id: btnClear
text: qsTr("Clear") text: qsTr("Clear")
Material.background: Material.theme Material.background: Material.theme === Material.Light ? Qt.lighter(Material.accent) : Qt.darker(Material.accent)
=== Material.Light ? Qt.lighter(
Material.accent) : Qt.darker(
Material.accent)
Material.foreground: "white" Material.foreground: "white"
onClicked: {
root.file = "";
fileDialog.file = "";
}
anchors { anchors {
top: parent.top top: parent.top
@ -106,18 +114,18 @@ Item {
bottom: parent.bottom bottom: parent.bottom
margins: 5 margins: 5
} }
onClicked: {
root.file = ""
fileDialog.file = ""
}
} }
Button { Button {
id: btnOpen id: btnOpen
text: qsTr("Select File") text: qsTr("Select File")
Material.background: Material.accent Material.background: Material.accent
Material.foreground: "white" Material.foreground: "white"
font.family: ScreenPlay.settings.font font.family: ScreenPlay.settings.font
onClicked: fileDialog.open()
anchors { anchors {
top: parent.top top: parent.top
right: parent.right right: parent.right
@ -125,58 +133,68 @@ Item {
bottom: parent.bottom bottom: parent.bottom
margins: 5 margins: 5
} }
onClicked: fileDialog.open()
} }
FileDialog { FileDialog {
id: fileDialog id: fileDialog
title: qsTr("Please choose a file") title: qsTr("Please choose a file")
onAccepted: { onAccepted: {
root.file = fileDialog.file root.file = fileDialog.file;
txtName.text = fileDialog.file.toString() txtName.text = fileDialog.file.toString();
} }
} }
} }
states: [ states: [
State { State {
name: "imageSelected" name: "imageSelected"
PropertyChanges { PropertyChanges {
target: btnClear target: btnClear
opacity: 1 opacity: 1
anchors.topMargin: 5 anchors.topMargin: 5
} }
PropertyChanges { PropertyChanges {
target: txtPlaceholder target: txtPlaceholder
opacity: 0 opacity: 0
} }
}, },
State { State {
name: "nothingSelected" name: "nothingSelected"
PropertyChanges { PropertyChanges {
target: btnClear target: btnClear
opacity: 0 opacity: 0
anchors.topMargin: -40 anchors.topMargin: -40
} }
} }
] ]
transitions: [ transitions: [
Transition { Transition {
from: "imageSelected" from: "imageSelected"
to: "nothingSelected" to: "nothingSelected"
reversible: true reversible: true
PropertyAnimation { PropertyAnimation {
target: btnClear target: btnClear
properties: "opacity, anchors.topMargin" properties: "opacity, anchors.topMargin"
duration: 300 duration: 300
easing.type: Easing.OutQuart easing.type: Easing.OutQuart
} }
PropertyAnimation { PropertyAnimation {
target: txtPlaceholder target: txtPlaceholder
property: "opacity" property: "opacity"
duration: 300 duration: 300
easing.type: Easing.OutQuart easing.type: Easing.OutQuart
} }
} }
] ]
} }

View File

@ -3,22 +3,23 @@ import QtQuick 2.12
Scale { Scale {
id: root id: root
function start(offset = 0, loopOffset = 1000, scale = 1.5,loops = 1) {
root.offset = offset
root.loopOffset = loopOffset
root.loops = loops
root.cScale = scale
grow.restart()
}
property int offset: 0 property int offset: 0
property int loopOffset: 1000 property int loopOffset: 1000
property int loops: 1 property int loops: 1
property real cScale: 1.5 property real cScale: 1.5
property alias centerX: root.origin.x property alias centerX: root.origin.x
property alias centerY: root.origin.y property alias centerY: root.origin.y
property SequentialAnimation grow
property SequentialAnimation grow: SequentialAnimation { function start(offset = 0, loopOffset = 1000, scale = 1.5, loops = 1) {
root.offset = offset;
root.loopOffset = loopOffset;
root.loops = loops;
root.cScale = scale;
grow.restart();
}
grow: SequentialAnimation {
loops: root.loops loops: root.loops
alwaysRunToEnd: true alwaysRunToEnd: true
@ -34,6 +35,7 @@ Scale {
to: root.cScale to: root.cScale
duration: 200 duration: 200
} }
PropertyAnimation { PropertyAnimation {
target: root target: root
properties: "xScale,yScale" properties: "xScale,yScale"
@ -41,10 +43,13 @@ Scale {
to: 1 to: 1
duration: 300 duration: 300
} }
} }
PauseAnimation { PauseAnimation {
duration: root.loopOffset duration: root.loopOffset
} }
} }
} }

View File

@ -4,18 +4,19 @@ import QtQuick.Controls.Material 2.12
Rectangle { Rectangle {
id: root id: root
color: Material.theme === Material.Light ? Material.background : Qt.darker(
Material.background)
width: 42
height: width
radius: width
property alias iconSource: icon.source property alias iconSource: icon.source
property string url property string url
property alias color: overlay.color property alias color: overlay.color
color: Material.theme === Material.Light ? Material.background : Qt.darker(Material.background)
width: 42
height: width
radius: width
Image { Image {
id: icon id: icon
sourceSize: Qt.size(28, 28) sourceSize: Qt.size(28, 28)
anchors.centerIn: parent anchors.centerIn: parent
visible: false visible: false
@ -25,6 +26,7 @@ Rectangle {
ColorOverlay { ColorOverlay {
id: overlay id: overlay
anchors.fill: icon anchors.fill: icon
source: icon source: icon
color: Material.accent color: Material.accent
@ -42,26 +44,29 @@ Rectangle {
states: [ states: [
State { State {
name: "hover" name: "hover"
PropertyChanges { PropertyChanges {
target: icon target: icon
width: 34 width: 34
height: 34 height: 34
sourceSize: Qt.size(34,34) sourceSize: Qt.size(34, 34)
} }
} }
] ]
transitions: [ transitions: [
Transition { Transition {
from: "" from: ""
to: "hover" to: "hover"
reversible: true reversible: true
PropertyAnimation { PropertyAnimation {
target: icon target: icon
properties: "width,height,sourceSize" properties: "width,height,sourceSize"
duration: 200 duration: 200
easing.type: Easing.InOutQuart easing.type: Easing.InOutQuart
} }
} }
] ]
} }

View File

@ -3,13 +3,15 @@ import QtQuick.Controls.Material 2.12
import ScreenPlay 1.0 import ScreenPlay 1.0
Item { Item {
id:root id: root
height: 40
property alias text: txtHeadline.text property alias text: txtHeadline.text
height: 40
Text { Text {
id: txtHeadline id: txtHeadline
font.pointSize: 18 font.pointSize: 18
color: Material.primaryTextColor color: Material.primaryTextColor
text: qsTr("Headline") text: qsTr("Headline")
@ -21,10 +23,13 @@ Item {
height: 2 height: 2
width: parent.width width: parent.width
color: Material.secondaryTextColor color: Material.secondaryTextColor
anchors { anchors {
right:parent.right right: parent.right
left:parent.left left: parent.left
bottom: parent.bottom bottom: parent.bottom
} }
} }
} }

View File

@ -4,7 +4,6 @@ import QtQuick.Controls.Material 2.12
import Qt.labs.platform 1.1 import Qt.labs.platform 1.1
import ScreenPlay 1.0 import ScreenPlay 1.0
/*! /*!
\qmltype Image Selector \qmltype Image Selector
\brief A image selector with popup preview. \brief A image selector with popup preview.
@ -26,30 +25,31 @@ import ScreenPlay 1.0
*/ */
Item { Item {
id: root id: root
height: 70
width: parent.width
state: "nothingSelected"
property string imageSource property string imageSource
property alias placeHolderText: txtPlaceholder.text property alias placeHolderText: txtPlaceholder.text
height: 70
width: parent.width
state: "nothingSelected"
onImageSourceChanged: { onImageSourceChanged: {
if (imageSource === "") { if (imageSource === "") {
img.source = "" img.source = "";
txtName.text = "" txtName.text = "";
root.state = "nothingSelected" root.state = "nothingSelected";
} else { } else {
img.source = imageSource img.source = imageSource;
root.state = "imageSelected" root.state = "imageSelected";
} }
} }
Rectangle { Rectangle {
id: rectangle id: rectangle
color: Material.theme === Material.Light ? Material.background : Qt.darker(
Material.background) color: Material.theme === Material.Light ? Material.background : Qt.darker(Material.background)
radius: 3 radius: 3
clip: true clip: true
anchors { anchors {
fill: parent fill: parent
margins: 3 margins: 3
@ -57,10 +57,12 @@ Item {
Rectangle { Rectangle {
id: imgWrapper id: imgWrapper
width: 70 width: 70
radius: 3 radius: 3
clip: true clip: true
color: Material.color(Material.Grey, Material.Shade700) color: Material.color(Material.Grey, Material.Shade700)
anchors { anchors {
top: parent.top top: parent.top
left: parent.left left: parent.left
@ -70,6 +72,7 @@ Item {
Image { Image {
id: img id: img
anchors.fill: parent anchors.fill: parent
} }
@ -77,32 +80,38 @@ Item {
anchors.fill: parent anchors.fill: parent
cursorShape: Qt.PointingHandCursor cursorShape: Qt.PointingHandCursor
onClicked: { onClicked: {
if (imageSource !== "") { if (imageSource !== "")
popup.open() popup.open();
}
} }
} }
} }
Popup { Popup {
id: popup id: popup
width: 902 width: 902
modal: true modal: true
anchors.centerIn: Overlay.overlay anchors.centerIn: Overlay.overlay
height: 507 height: 507
Image { Image {
source: imageSource source: imageSource
anchors.fill: parent anchors.fill: parent
} }
MouseArea { MouseArea {
anchors.fill: parent anchors.fill: parent
cursorShape: Qt.PointingHandCursor cursorShape: Qt.PointingHandCursor
onClicked: popup.close() onClicked: popup.close()
} }
} }
Text { Text {
id: txtPlaceholder id: txtPlaceholder
clip: true clip: true
font.pointSize: 12 font.pointSize: 12
font.capitalization: Font.Capitalize font.capitalization: Font.Capitalize
@ -112,6 +121,7 @@ Item {
color: Material.secondaryTextColor color: Material.secondaryTextColor
verticalAlignment: Text.AlignVCenter verticalAlignment: Text.AlignVCenter
horizontalAlignment: Text.AlignLeft horizontalAlignment: Text.AlignLeft
anchors { anchors {
top: parent.top top: parent.top
left: imgWrapper.right left: imgWrapper.right
@ -119,10 +129,12 @@ Item {
bottom: parent.bottom bottom: parent.bottom
margins: 10 margins: 10
} }
} }
Text { Text {
id: txtName id: txtName
clip: true clip: true
font.pointSize: 12 font.pointSize: 12
font.family: ScreenPlay.settings.font font.family: ScreenPlay.settings.font
@ -130,6 +142,7 @@ Item {
verticalAlignment: Text.AlignVCenter verticalAlignment: Text.AlignVCenter
horizontalAlignment: Text.AlignLeft horizontalAlignment: Text.AlignLeft
color: Material.secondaryTextColor color: Material.secondaryTextColor
anchors { anchors {
top: parent.top top: parent.top
left: imgWrapper.right left: imgWrapper.right
@ -137,16 +150,16 @@ Item {
bottom: parent.bottom bottom: parent.bottom
margins: 10 margins: 10
} }
} }
Button { Button {
id: btnClear id: btnClear
text: qsTr("Clear") text: qsTr("Clear")
Material.background: Material.theme Material.background: Material.theme === Material.Light ? Qt.lighter(Material.accent) : Qt.darker(Material.accent)
=== Material.Light ? Qt.lighter(
Material.accent) : Qt.darker(
Material.accent)
Material.foreground: "white" Material.foreground: "white"
onClicked: imageSource = ""
anchors { anchors {
top: parent.top top: parent.top
@ -154,15 +167,18 @@ Item {
bottom: parent.bottom bottom: parent.bottom
margins: 5 margins: 5
} }
onClicked: imageSource = ""
} }
Button { Button {
id: btnOpen id: btnOpen
text: qsTr("Select Preview Image") text: qsTr("Select Preview Image")
Material.background: Material.accent Material.background: Material.accent
Material.foreground: "white" Material.foreground: "white"
font.family: ScreenPlay.settings.font font.family: ScreenPlay.settings.font
onClicked: fileDialog.open()
anchors { anchors {
top: parent.top top: parent.top
right: parent.right right: parent.right
@ -170,61 +186,70 @@ Item {
bottom: parent.bottom bottom: parent.bottom
margins: 5 margins: 5
} }
onClicked: fileDialog.open()
} }
FileDialog { FileDialog {
id: fileDialog id: fileDialog
title: "Please choose a file" title: "Please choose a file"
fileMode: FileDialog.OpenFile fileMode: FileDialog.OpenFile
nameFilters: ["Images (*.png *.jpg)"] nameFilters: ["Images (*.png *.jpg)"]
onAccepted: { onAccepted: {
imageSource = fileDialog.file imageSource = fileDialog.file;
txtName.text = fileDialog.file.toString().replace(/^.*[\\\/]/, txtName.text = fileDialog.file.toString().replace(/^.*[\\\/]/, '');
'')
} }
} }
} }
states: [ states: [
State { State {
name: "imageSelected" name: "imageSelected"
PropertyChanges { PropertyChanges {
target: btnClear target: btnClear
opacity: 1 opacity: 1
anchors.topMargin: 5 anchors.topMargin: 5
} }
PropertyChanges { PropertyChanges {
target: txtPlaceholder target: txtPlaceholder
opacity: 0 opacity: 0
} }
}, },
State { State {
name: "nothingSelected" name: "nothingSelected"
PropertyChanges { PropertyChanges {
target: btnClear target: btnClear
opacity: 0 opacity: 0
anchors.topMargin: -40 anchors.topMargin: -40
} }
} }
] ]
transitions: [ transitions: [
Transition { Transition {
from: "imageSelected" from: "imageSelected"
to: "nothingSelected" to: "nothingSelected"
reversible: true reversible: true
PropertyAnimation { PropertyAnimation {
target: btnClear target: btnClear
properties: "opacity, anchors.topMargin" properties: "opacity, anchors.topMargin"
duration: 300 duration: 300
easing.type: Easing.OutQuart easing.type: Easing.OutQuart
} }
PropertyAnimation { PropertyAnimation {
target: txtPlaceholder target: txtPlaceholder
property: "opacity" property: "opacity"
duration: 300 duration: 300
easing.type: Easing.OutQuart easing.type: Easing.OutQuart
} }
} }
] ]
} }

View File

@ -2,16 +2,16 @@ import QtQuick 2.14
import QtQuick.Controls 2.14 import QtQuick.Controls 2.14
import QtQuick.Controls.Material 2.12 import QtQuick.Controls.Material 2.12
import QtQuick.Layouts 1.12 import QtQuick.Layouts 1.12
import ScreenPlay 1.0 import ScreenPlay 1.0
ColumnLayout { ColumnLayout {
id: root id: root
Layout.preferredWidth: 250
property string name: licenseModel.get(cb.currentIndex).name property string name: licenseModel.get(cb.currentIndex).name
property string licenseFile: licenseModel.get(cb.currentIndex).licenseFile property string licenseFile: licenseModel.get(cb.currentIndex).licenseFile
Layout.preferredWidth: 250
HeadlineSection { HeadlineSection {
Layout.fillWidth: true Layout.fillWidth: true
text: qsTr("License") text: qsTr("License")
@ -24,52 +24,63 @@ ColumnLayout {
ComboBox { ComboBox {
id: cb id: cb
Layout.fillWidth: true Layout.fillWidth: true
textRole: "name" textRole: "name"
model: ListModel { model: ListModel {
id: licenseModel id: licenseModel
ListElement { ListElement {
name: "Creative Commons - Attribution-ShareAlike 4.0" name: "Creative Commons - Attribution-ShareAlike 4.0"
description: qsTr("Share — copy and redistribute the material in any medium or format. Adapt — remix, transform, and build upon the material for any purpose, even commercially.") description: qsTr("Share — copy and redistribute the material in any medium or format. Adapt — remix, transform, and build upon the material for any purpose, even commercially.")
tldrlegal: "https://tldrlegal.com/license/creative-commons-attribution-sharealike-4.0-international-(cc-by-sa-4.0)" tldrlegal: "https://tldrlegal.com/license/creative-commons-attribution-sharealike-4.0-international-(cc-by-sa-4.0)"
licenseFile: "License_CC_Attribution-ShareAlike_4.0.txt" licenseFile: "License_CC_Attribution-ShareAlike_4.0.txt"
} }
ListElement { ListElement {
name: "Creative Commons - Attribution 4.0" name: "Creative Commons - Attribution 4.0"
description: qsTr("You grant other to remix your work and change the license to their linking.") description: qsTr("You grant other to remix your work and change the license to their linking.")
tldrlegal: "https://tldrlegal.com/license/creative-commons-attribution-4.0-international-(cc-by-4)" tldrlegal: "https://tldrlegal.com/license/creative-commons-attribution-4.0-international-(cc-by-4)"
licenseFile: "License_CC_Attribution_4.0.txt" licenseFile: "License_CC_Attribution_4.0.txt"
} }
ListElement { ListElement {
name: "Creative Commons - Attribution-NonCommercial-ShareAlike 4.0" name: "Creative Commons - Attribution-NonCommercial-ShareAlike 4.0"
description: qsTr("Share — copy and redistribute the material in any medium or format. Adapt — remix, transform, and build upon the material. You are not allowed to use it commercially! ") description: qsTr("Share — copy and redistribute the material in any medium or format. Adapt — remix, transform, and build upon the material. You are not allowed to use it commercially! ")
tldrlegal: "https://tldrlegal.com/license/creative-commons-attribution-noncommercial-sharealike-4.0-international-(cc-by-nc-sa-4.0)" tldrlegal: "https://tldrlegal.com/license/creative-commons-attribution-noncommercial-sharealike-4.0-international-(cc-by-nc-sa-4.0)"
licenseFile: "License_CC_Attribution-NonCommercial-ShareAlike_4.0.txt" licenseFile: "License_CC_Attribution-NonCommercial-ShareAlike_4.0.txt"
} }
ListElement { ListElement {
name: "Creative Commons - CC0 1.0 Universal Public Domain" name: "Creative Commons - CC0 1.0 Universal Public Domain"
description: qsTr("You allow everyone to do anything with your work.") description: qsTr("You allow everyone to do anything with your work.")
tldrlegal: "https://tldrlegal.com/license/creative-commons-cc0-1.0-universal" tldrlegal: "https://tldrlegal.com/license/creative-commons-cc0-1.0-universal"
licenseFile: "License_CC0_1.0.txt" licenseFile: "License_CC0_1.0.txt"
} }
ListElement { ListElement {
name: "Open Source - Apache License 2.0" name: "Open Source - Apache License 2.0"
description: qsTr("You grant other to remix your work and change the license to their linking.") description: qsTr("You grant other to remix your work and change the license to their linking.")
tldrlegal: "https://tldrlegal.com/license/apache-license-2.0-(apache-2.0)" tldrlegal: "https://tldrlegal.com/license/apache-license-2.0-(apache-2.0)"
licenseFile: "License_Apache_2.0.txt" licenseFile: "License_Apache_2.0.txt"
} }
ListElement { ListElement {
name: "Open Source - General Public License 3.0" name: "Open Source - General Public License 3.0"
description: qsTr("You grant other to remix your work but it must remain under the GPLv3. We recommend this license for all code wallpaper!") description: qsTr("You grant other to remix your work but it must remain under the GPLv3. We recommend this license for all code wallpaper!")
tldrlegal: "https://tldrlegal.com/license/gnu-general-public-license-v3-(gpl-3)" tldrlegal: "https://tldrlegal.com/license/gnu-general-public-license-v3-(gpl-3)"
licenseFile: "License_GPL_3.0.txt" licenseFile: "License_GPL_3.0.txt"
} }
ListElement { ListElement {
name: "All rights reserved" name: "All rights reserved"
description: qsTr("You do not share any rights and nobody is allowed to use or remix it (Not recommended). Can also used to credit work others.") description: qsTr("You do not share any rights and nobody is allowed to use or remix it (Not recommended). Can also used to credit work others.")
tldrlegal: "License_All_Rights_Reserved_1.0.txt" tldrlegal: "License_All_Rights_Reserved_1.0.txt"
} }
} }
} }
ToolButton { ToolButton {
@ -81,13 +92,15 @@ ColumnLayout {
ToolButton { ToolButton {
icon.source: "qrc:/assets/icons/icon_open_in_new.svg" icon.source: "qrc:/assets/icons/icon_open_in_new.svg"
icon.color: Material.iconColor icon.color: Material.iconColor
onClicked: Qt.openUrlExternally(licenseModel.get( onClicked: Qt.openUrlExternally(licenseModel.get(cb.currentIndex).tldrlegal)
cb.currentIndex).tldrlegal)
} }
ToolTip { ToolTip {
id: toolTip id: toolTip
text: licenseModel.get(cb.currentIndex).description text: licenseModel.get(cb.currentIndex).description
} }
} }
} }

View File

@ -10,25 +10,33 @@ import QtQuick.Controls.Material 2.12
Item { Item {
id: root id: root
anchors.fill: parent
property alias radius: mask.radius property alias radius: mask.radius
property color color: Material.accent property color color: Material.accent
property var target property var target
property int duration: 600 property int duration: 600
function trigger() { function trigger() {
var wave = ripple.createObject(container, { var wave = ripple.createObject(container, {
"startX": root.width * .5, "startX": root.width * 0.5,
"startY": root.height * .5, "startY": root.height * 0.5,
"maxRadius": furthestDistance( "maxRadius": furthestDistance(root.width * 0.5, root.height * 0.5)
root.width * .5, });
root.height * .5)
})
} }
function distance(x1, y1, x2, y2) {
return Math.sqrt(Math.pow(x1 - x2, 2) + Math.pow(y1 - y2, 2));
}
function furthestDistance(x, y) {
return Math.max(distance(x, y, 0, 0), distance(x, y, width, height), distance(x, y, 0, height), distance(x, y, width, 0));
}
anchors.fill: parent
Rectangle { Rectangle {
id: mask id: mask
anchors.fill: parent anchors.fill: parent
color: "black" color: "black"
visible: false visible: false
@ -36,6 +44,7 @@ Item {
Item { Item {
id: container id: container
anchors.fill: parent anchors.fill: parent
visible: false visible: false
} }
@ -51,20 +60,34 @@ Item {
Rectangle { Rectangle {
id: ink id: ink
radius: 0
opacity: 0.25
color: root.color
property int startX property int startX
property int startY property int startY
property int maxRadius: 150 property int maxRadius: 150
function fadeIfApplicable() {
if (!fadeAnimation.running)
fadeAnimation.start();
}
radius: 0
opacity: 0.25
color: root.color
x: startX - radius x: startX - radius
y: startY - radius y: startY - radius
width: radius * 2 width: radius * 2
height: radius * 2 height: radius * 2
Component.onCompleted: {
growAnimation.start();
if (!fadeAnimation.running)
fadeAnimation.start();
}
NumberAnimation { NumberAnimation {
id: growAnimation id: growAnimation
target: ink target: ink
property: "radius" property: "radius"
from: 0 from: 0
@ -75,6 +98,7 @@ Item {
SequentialAnimation { SequentialAnimation {
id: fadeAnimation id: fadeAnimation
NumberAnimation { NumberAnimation {
target: ink target: ink
property: "opacity" property: "opacity"
@ -82,31 +106,15 @@ Item {
to: 0 to: 0
duration: root.duration duration: root.duration
} }
ScriptAction { ScriptAction {
script: ink.destroy() script: ink.destroy()
} }
} }
Component.onCompleted: {
growAnimation.start()
if (!fadeAnimation.running)
fadeAnimation.start()
}
function fadeIfApplicable() {
if (!fadeAnimation.running)
fadeAnimation.start()
}
} }
} }
function distance(x1,y1,x2,y2) {
return Math.sqrt(Math.pow(x1 - x2, 2) + Math.pow(y1 - y2, 2))
}
function furthestDistance(x,y) {
return Math.max(distance(x, y, 0, 0), distance(x, y, width, height),
distance(x, y, 0, height), distance(x, y, width, 0))
}
} }

View File

@ -1,43 +1,50 @@
import QtQuick 2.0 import QtQuick 2.0
import QtQuick.Controls 2.0 import QtQuick.Controls 2.0
import QtQuick.Controls.Material 2.0 import QtQuick.Controls.Material 2.0
import ScreenPlay 1.0 import ScreenPlay 1.0
Item { Item {
id:root id: root
width: 300 width: 300
ToolButton { ToolButton {
id: icnSearch id: icnSearch
icon.source: "qrc:/assets/icons/icon_search.svg" icon.source: "qrc:/assets/icons/icon_search.svg"
height: 30 height: 30
width: 30 width: 30
icon.width: 30 icon.width: 30
icon.height: 30 icon.height: 30
icon.color: Material.iconColor icon.color: Material.iconColor
anchors { anchors {
right: parent.right right: parent.right
verticalCenter: parent.verticalCenter verticalCenter: parent.verticalCenter
} }
} }
TextField { TextField {
id: txtSearch id: txtSearch
width: 250 width: 250
height: 40 height: 40
placeholderText: qsTr("Search for Wallpaper & Widgets")
onTextChanged: {
if (txtSearch.text.length === 0)
ScreenPlay.installedListFilter.resetFilter();
else
ScreenPlay.installedListFilter.sortByName(txtSearch.text);
}
anchors { anchors {
right: icnSearch.left right: icnSearch.left
rightMargin: 10 rightMargin: 10
top: parent.top top: parent.top
topMargin: 10 topMargin: 10
} }
onTextChanged: {
if (txtSearch.text.length === 0) {
ScreenPlay.installedListFilter.resetFilter()
} else {
ScreenPlay.installedListFilter.sortByName(txtSearch.text)
}
}
placeholderText: qsTr("Search for Wallpaper & Widgets")
} }
} }

View File

@ -2,19 +2,20 @@ import QtQuick 2.12
Translate { Translate {
id: root id: root
function start(offset = 0, loopOffset = 1000, loops = 1) {
root.offset = offset
root.loopOffset = loopOffset
root.loops = loops
shake.restart()
}
property int offset: 0 property int offset: 0
property int loops: 3 property int loops: 3
property int loopOffset: 1000 property int loopOffset: 1000
property SequentialAnimation shake
property SequentialAnimation shake: SequentialAnimation { function start(offset = 0, loopOffset = 1000, loops = 1) {
root.offset = offset;
root.loopOffset = loopOffset;
root.loops = loops;
shake.restart();
}
shake: SequentialAnimation {
loops: root.loops loops: root.loops
alwaysRunToEnd: true alwaysRunToEnd: true
@ -23,15 +24,15 @@ Translate {
} }
SequentialAnimation { SequentialAnimation {
PropertyAnimation { PropertyAnimation {
target: root target: root
property: "x" property: "x"
from: 0 from: 0
to: 10 to: 10
duration: 50 duration: 50
easing.type: Easing.InOutBounce easing.type: Easing.InOutBounce
} }
PropertyAnimation { PropertyAnimation {
target: root target: root
property: "x" property: "x"
@ -40,12 +41,13 @@ Translate {
duration: 100 duration: 100
easing.type: Easing.InOutBounce easing.type: Easing.InOutBounce
} }
PropertyAnimation { PropertyAnimation {
target: root target: root
property: "x" property: "x"
from: -10 from: -10
to: 0 to: 0
duration: 50 duration: 50
} }
PropertyAnimation { PropertyAnimation {
@ -53,9 +55,10 @@ Translate {
property: "x" property: "x"
from: 0 from: 0
to: 10 to: 10
duration:50 duration: 50
easing.type: Easing.InOutBounce easing.type: Easing.InOutBounce
} }
PropertyAnimation { PropertyAnimation {
target: root target: root
property: "x" property: "x"
@ -64,16 +67,21 @@ Translate {
duration: 100 duration: 100
easing.type: Easing.InOutBounce easing.type: Easing.InOutBounce
} }
PropertyAnimation { PropertyAnimation {
target: root target: root
property: "x" property: "x"
from: -10 from: -10
to: 0 to: 0
duration: 50 duration: 50
} }
} }
PauseAnimation { PauseAnimation {
duration: root.loopOffset duration: root.loopOffset
} }
} }
} }

View File

@ -6,14 +6,16 @@ import ScreenPlay 1.0
Item { Item {
id: root id: root
height: 70
property string headline: "dummyHeandline" property string headline: "dummyHeandline"
property string iconSource: "qrc:/assets/icons/icon_volume.svg" property string iconSource: "qrc:/assets/icons/icon_volume.svg"
property alias slider: slider property alias slider: slider
height: 70
Text { Text {
id: txtHeadline id: txtHeadline
text: headline text: headline
height: 20 height: 20
font.pointSize: 14 font.pointSize: 14
@ -25,13 +27,14 @@ Item {
right: parent.right right: parent.right
left: parent.left left: parent.left
} }
} }
RowLayout { RowLayout {
spacing: 30 spacing: 30
anchors { anchors {
top: txtHeadline.bottom top: txtHeadline.bottom
right: parent.right right: parent.right
bottom: parent.bottom bottom: parent.bottom
left: parent.left left: parent.left
@ -39,6 +42,7 @@ Item {
Image { Image {
id: imgIcon id: imgIcon
width: 20 width: 20
height: 20 height: 20
source: iconSource source: iconSource
@ -48,6 +52,7 @@ Item {
QQC.Slider { QQC.Slider {
id: slider id: slider
stepSize: 0.01 stepSize: 0.01
from: 0 from: 0
value: 1 value: 1
@ -58,6 +63,7 @@ Item {
Text { Text {
id: txtValue id: txtValue
color: QQCM.Material.secondaryTextColor color: QQCM.Material.secondaryTextColor
text: Math.round(slider.value * 100) / 100 text: Math.round(slider.value * 100) / 100
Layout.alignment: Qt.AlignVCenter Layout.alignment: Qt.AlignVCenter
@ -65,5 +71,7 @@ Item {
font.italic: true font.italic: true
verticalAlignment: Text.AlignVCenter verticalAlignment: Text.AlignVCenter
} }
} }
} }

View File

@ -5,22 +5,25 @@ import ScreenPlay 1.0
Item { Item {
id: tag id: tag
width: textMetrics.width + 20
height: 45
property int itemIndex property int itemIndex
property alias text: txt.text property alias text: txt.text
signal removeThis(var index) signal removeThis(var index)
width: textMetrics.width + 20
height: 45
Rectangle { Rectangle {
id: rectangle id: rectangle
anchors.fill: parent anchors.fill: parent
radius: 3 radius: 3
color: Material.theme === Material.Light ? Qt.lighter( color: Material.theme === Material.Light ? Qt.lighter(Material.background) : Material.background
Material.background) : Material.background
Text { Text {
id: txt id: txt
text: _name text: _name
color: Material.primaryTextColor color: Material.primaryTextColor
verticalAlignment: Text.AlignVCenter verticalAlignment: Text.AlignVCenter
@ -31,6 +34,7 @@ Item {
TextField { TextField {
id: textField id: textField
enabled: false enabled: false
opacity: 0 opacity: 0
anchors.fill: parent anchors.fill: parent
@ -41,30 +45,37 @@ Item {
TextMetrics { TextMetrics {
id: textMetrics id: textMetrics
text: txt.text text: txt.text
font.pointSize: 14 font.pointSize: 14
font.family: ScreenPlay.settings.font font.family: ScreenPlay.settings.font
} }
} }
MouseArea { MouseArea {
id: ma id: ma
width: 10 width: 10
height: width height: width
cursorShape: Qt.PointingHandCursor cursorShape: Qt.PointingHandCursor
onClicked: {
tag.removeThis(itemIndex);
}
anchors { anchors {
top: parent.top top: parent.top
right: parent.right right: parent.right
margins: 5 margins: 5
} }
onClicked: {
tag.removeThis(itemIndex)
}
Image { Image {
id: name id: name
anchors.fill: parent anchors.fill: parent
source: "qrc:/assets/icons/icon_close.svg" source: "qrc:/assets/icons/icon_close.svg"
} }
} }
states: [ states: [
@ -81,13 +92,7 @@ Item {
opacity: 1 opacity: 1
enabled: true enabled: true
} }
} }
] ]
} }
/*##^##
Designer {
D{i:0;height:50;width:100}
}
##^##*/

View File

@ -2,36 +2,37 @@ import QtQuick 2.12
import QtQuick.Controls 2.12 import QtQuick.Controls 2.12
import QtGraphicalEffects 1.0 import QtGraphicalEffects 1.0
import QtQuick.Controls.Material 2.12 import QtQuick.Controls.Material 2.12
import ScreenPlay 1.0 import ScreenPlay 1.0
Item { Item {
id: root id: root
function getTags() {
var array = [];
for (var i = 0; i < listModel.count; i++) {
array.push(listModel.get(i)._name);
}
return array;
}
height: 70 height: 70
implicitWidth: 200 implicitWidth: 200
onStateChanged: { onStateChanged: {
if (root.state === "add") { if (root.state === "add") {
btnAdd.text = qsTr("Save") btnAdd.text = qsTr("Save");
textField.focus = true textField.focus = true;
} else { } else {
btnAdd.text = qsTr("Add tag") btnAdd.text = qsTr("Add tag");
} }
} }
function getTags() {
var array = []
for (var i = 0; i < listModel.count; i++) {
array.push(listModel.get(i)._name)
}
return array
}
Rectangle { Rectangle {
id: rectangle id: rectangle
color: Material.theme === Material.Light ? Material.background : Qt.darker(
Material.background) color: Material.theme === Material.Light ? Material.background : Qt.darker(Material.background)
radius: 3 radius: 3
clip: true clip: true
anchors { anchors {
fill: parent fill: parent
margins: 3 margins: 3
@ -41,6 +42,7 @@ Item {
orientation: ListView.Horizontal orientation: ListView.Horizontal
model: listModel model: listModel
spacing: 10 spacing: 10
anchors { anchors {
top: parent.top top: parent.top
right: btnAdd.left right: btnAdd.left
@ -51,33 +53,37 @@ Item {
delegate: Tag { delegate: Tag {
id: delegate id: delegate
text: _name text: _name
itemIndex: index itemIndex: index
Connections { Connections {
target: delegate
function onRemoveThis() { function onRemoveThis() {
listModel.remove(itemIndex) listModel.remove(itemIndex);
} }
target: delegate
} }
} }
} }
ListModel { ListModel {
id: listModel id: listModel
onCountChanged: getTags() onCountChanged: getTags()
} }
Rectangle { Rectangle {
id: textFieldWrapper id: textFieldWrapper
opacity: 0 opacity: 0
enabled: false enabled: false
radius: 3 radius: 3
height: parent.height - 20 height: parent.height - 20
width: 200 width: 200
color: Material.theme color: Material.theme === Material.Light ? Qt.lighter(Material.background) : Material.background
=== Material.Light ? Qt.lighter(
Material.background) : Material.background
anchors { anchors {
top: parent.top top: parent.top
@ -85,37 +91,44 @@ Item {
right: btnCancel.left right: btnCancel.left
margins: 10 margins: 10
} }
Gradient { Gradient {
GradientStop { GradientStop {
position: 0.0 position: 0
color: "#00000000" color: "#00000000"
} }
GradientStop { GradientStop {
position: 1.0 position: 1
color: "#FF000000" color: "#FF000000"
} }
} }
TextField { TextField {
id: textField id: textField
font.family: ScreenPlay.settings.font font.family: ScreenPlay.settings.font
color: Material.primaryTextColor color: Material.primaryTextColor
onTextChanged: {
if (textField.length >= 10)
textField.text = textField.text;
}
anchors { anchors {
fill: parent fill: parent
rightMargin: 15 rightMargin: 15
leftMargin: 15 leftMargin: 15
} }
onTextChanged: {
if (textField.length >= 10) {
textField.text = textField.text
}
}
} }
} }
Button { Button {
id: btnCancel id: btnCancel
text: qsTr("Cancel") text: qsTr("Cancel")
opacity: 0 opacity: 0
height: parent.height - 20 height: parent.height - 20
@ -123,46 +136,50 @@ Item {
Material.background: Material.Red Material.background: Material.Red
Material.foreground: "white" Material.foreground: "white"
font.family: ScreenPlay.settings.font font.family: ScreenPlay.settings.font
onClicked: {
root.state = "";
textField.clear();
}
anchors { anchors {
right: btnAdd.left right: btnAdd.left
rightMargin: 10 rightMargin: 10
verticalCenter: parent.verticalCenter verticalCenter: parent.verticalCenter
} }
onClicked: {
root.state = ""
textField.clear()
}
} }
Button { Button {
id: btnAdd id: btnAdd
text: qsTr("Add Tag") text: qsTr("Add Tag")
height: parent.height - 20 height: parent.height - 20
Material.background: Material.LightGreen Material.background: Material.LightGreen
Material.foreground: "white" Material.foreground: "white"
font.family: ScreenPlay.settings.font font.family: ScreenPlay.settings.font
onClicked: {
if (root.state === "add") {
listModel.append({
"_name": textField.text
});
textField.clear();
root.state = "";
} else {
root.state = "add";
}
}
anchors { anchors {
right: parent.right right: parent.right
rightMargin: 10 rightMargin: 10
verticalCenter: parent.verticalCenter verticalCenter: parent.verticalCenter
} }
onClicked: {
if (root.state === "add") {
listModel.append({
"_name": textField.text
})
textField.clear()
root.state = ""
} else {
root.state = "add"
}
}
} }
} }
states: [ states: [
State { State {
name: "add" name: "add"
@ -178,6 +195,7 @@ Item {
opacity: 1 opacity: 1
enabled: true enabled: true
} }
} }
] ]
transitions: [ transitions: [
@ -185,11 +203,13 @@ Item {
from: "" from: ""
to: "add" to: "add"
reversible: true reversible: true
NumberAnimation { NumberAnimation {
properties: "anchors.topMargin, opacity" properties: "anchors.topMargin, opacity"
duration: 200 duration: 200
easing.type: Easing.OutQuart easing.type: Easing.OutQuart
} }
} }
] ]
} }

View File

@ -8,132 +8,143 @@ import ScreenPlay 1.0
Item { Item {
id: root id: root
height: 55
width: 150
state: {
if (textField.text.length > 0) {
return "containsTextEditingFinished"
} else {
return ""
}
}
signal editingFinished
onEditingFinished: {
if (!root.required)
return
}
property bool required: false property bool required: false
property bool dirty: false property bool dirty: false
property alias text: textField.text property alias text: textField.text
property alias placeholderText: txtPlaceholder.text property alias placeholderText: txtPlaceholder.text
signal editingFinished()
height: 55
width: 150
state: {
if (textField.text.length > 0)
return "containsTextEditingFinished";
else
return "";
}
onEditingFinished: {
if (!root.required)
return ;
}
Text { Text {
id: txtPlaceholder id: txtPlaceholder
text: qsTr("Label") text: qsTr("Label")
font.family: ScreenPlay.settings.font font.family: ScreenPlay.settings.font
color: Material.primaryTextColor color: Material.primaryTextColor
opacity: .4 opacity: 0.4
font.pointSize: 11 font.pointSize: 11
font.weight: Font.Medium font.weight: Font.Medium
anchors { anchors {
top: parent.top top: parent.top
topMargin: 15 topMargin: 15
left: parent.left left: parent.left
leftMargin: 10 leftMargin: 10
} }
} }
Timer { Timer {
id: timerSaveDelay id: timerSaveDelay
interval: 1000 interval: 1000
onTriggered: root.editingFinished() onTriggered: root.editingFinished()
} }
QQC.TextField { QQC.TextField {
id: textField id: textField
function resetState() {
if (textField.text.length === 0)
root.state = "";
textField.focus = false;
}
font.family: ScreenPlay.settings.font font.family: ScreenPlay.settings.font
color: Material.secondaryTextColor color: Material.secondaryTextColor
width: parent.width width: parent.width
Keys.onEscapePressed: resetState() Keys.onEscapePressed: resetState()
onTextEdited: { onTextEdited: {
timerSaveDelay.start() timerSaveDelay.start();
root.dirty = true root.dirty = true;
} }
onEditingFinished: {
resetState();
if (textField.text.length > 0)
root.state = "containsTextEditingFinished";
}
onPressed: {
root.state = "containsText";
}
anchors { anchors {
left: parent.left left: parent.left
right: parent.right right: parent.right
bottom: parent.bottom bottom: parent.bottom
} }
onEditingFinished: {
resetState()
if (textField.text.length > 0) {
root.state = "containsTextEditingFinished"
}
}
function resetState() {
if (textField.text.length === 0) {
root.state = ""
}
textField.focus = false
}
onPressed: {
root.state = "containsText"
}
} }
Text { Text {
id: requiredText id: requiredText
text: qsTr("*Required") text: qsTr("*Required")
visible: root.required visible: root.required
font.family: ScreenPlay.settings.font font.family: ScreenPlay.settings.font
color: Material.secondaryTextColor color: Material.secondaryTextColor
anchors { anchors {
top: textField.bottom top: textField.bottom
right: textField.right right: textField.right
} }
} }
states: [ states: [
State { State {
name: "" name: ""
PropertyChanges { PropertyChanges {
target: txtPlaceholder target: txtPlaceholder
font.pointSize: 11 font.pointSize: 11
color: Material.secondaryTextColor color: Material.secondaryTextColor
anchors.topMargin: 15 anchors.topMargin: 15
anchors.leftMargin: 10 anchors.leftMargin: 10
} }
}, },
State { State {
name: "containsText" name: "containsText"
PropertyChanges { PropertyChanges {
target: txtPlaceholder target: txtPlaceholder
font.pointSize: 8 font.pointSize: 8
opacity: 1 opacity: 1
color: Material.accentColor color: Material.accentColor
anchors.topMargin: 0 anchors.topMargin: 0
anchors.leftMargin: 0 anchors.leftMargin: 0
} }
}, },
State { State {
name: "containsTextEditingFinished" name: "containsTextEditingFinished"
PropertyChanges { PropertyChanges {
target: txtPlaceholder target: txtPlaceholder
font.pointSize: 8 font.pointSize: 8
color: Material.secondaryTextColor color: Material.secondaryTextColor
opacity: 0.4 opacity: 0.4
anchors.topMargin: 0 anchors.topMargin: 0
anchors.leftMargin: 0 anchors.leftMargin: 0
} }
} }
] ]
transitions: [ transitions: [
@ -141,23 +152,27 @@ Item {
from: "" from: ""
to: "containsText" to: "containsText"
reversible: true reversible: true
PropertyAnimation { PropertyAnimation {
target: txtPlaceholder target: txtPlaceholder
duration: 150 duration: 150
easing.type: Easing.InOutQuart easing.type: Easing.InOutQuart
properties: "font.pointSize,anchors.topMargin,anchors.leftMargin,opacity,color" properties: "font.pointSize,anchors.topMargin,anchors.leftMargin,opacity,color"
} }
}, },
Transition { Transition {
from: "containsText" from: "containsText"
to: "containsTextEditingFinished" to: "containsTextEditingFinished"
reversible: true reversible: true
PropertyAnimation { PropertyAnimation {
target: txtPlaceholder target: txtPlaceholder
duration: 150 duration: 150
easing.type: Easing.OutSine easing.type: Easing.OutSine
properties: "color,opacity" properties: "color,opacity"
} }
} }
] ]
} }

View File

@ -4,22 +4,23 @@ import ScreenPlay 1.0
SystemTrayIcon { SystemTrayIcon {
id: root id: root
visible: true visible: true
iconSource: "qrc:/assets/icons/app.ico" iconSource: "qrc:/assets/icons/app.ico"
tooltip: qsTr("ScreenPlay - Double click to change you settings.") tooltip: qsTr("ScreenPlay - Double click to change you settings.")
onActivated: { onActivated: {
switch (reason) { switch (reason) {
case SystemTrayIcon.Unknown: case SystemTrayIcon.Unknown:
break break;
case SystemTrayIcon.Context: case SystemTrayIcon.Context:
break break;
case SystemTrayIcon.DoubleClick: case SystemTrayIcon.DoubleClick:
window.show() window.show();
break break;
case SystemTrayIcon.Trigger: case SystemTrayIcon.Trigger:
break break;
case SystemTrayIcon.MiddleClick: case SystemTrayIcon.MiddleClick:
break break;
} }
} }
@ -27,48 +28,53 @@ SystemTrayIcon {
MenuItem { MenuItem {
text: qsTr("Open ScreenPlay") text: qsTr("Open ScreenPlay")
onTriggered: { onTriggered: {
window.show() window.show();
} }
} }
MenuItem { MenuItem {
id: miMuteAll id: miMuteAll
property bool isMuted: true property bool isMuted: true
text: qsTr("Mute all") text: qsTr("Mute all")
onTriggered: { onTriggered: {
if (miMuteAll.isMuted) { if (miMuteAll.isMuted) {
isMuted = false isMuted = false;
miMuteAll.text = qsTr("Mute all") miMuteAll.text = qsTr("Mute all");
ScreenPlay.screenPlayManager.setAllWallpaperValue( ScreenPlay.screenPlayManager.setAllWallpaperValue("muted", "true");
"muted", "true")
} else { } else {
isMuted = true isMuted = true;
miMuteAll.text = qsTr("Unmute all") miMuteAll.text = qsTr("Unmute all");
ScreenPlay.screenPlayManager.setAllWallpaperValue( ScreenPlay.screenPlayManager.setAllWallpaperValue("muted", "false");
"muted", "false")
} }
} }
} }
MenuItem { MenuItem {
id: miStopAll id: miStopAll
property bool isPlaying: false property bool isPlaying: false
text: qsTr("Pause all") text: qsTr("Pause all")
onTriggered: { onTriggered: {
if (miStopAll.isPlaying) { if (miStopAll.isPlaying) {
isPlaying = false isPlaying = false;
miStopAll.text = qsTr("Pause all") miStopAll.text = qsTr("Pause all");
ScreenPlay.screenPlayManager.setAllWallpaperValue( ScreenPlay.screenPlayManager.setAllWallpaperValue("isPlaying", "true");
"isPlaying", "true")
} else { } else {
isPlaying = true isPlaying = true;
miStopAll.text = qsTr("Play all") miStopAll.text = qsTr("Play all");
ScreenPlay.screenPlayManager.setAllWallpaperValue( ScreenPlay.screenPlayManager.setAllWallpaperValue("isPlaying", "false");
"isPlaying", "false")
} }
} }
} }
MenuItem { MenuItem {
text: qsTr("Quit") text: qsTr("Quit")
onTriggered: ScreenPlay.exit() onTriggered: ScreenPlay.exit()
} }
} }
} }

View File

@ -11,18 +11,22 @@ Item {
Rectangle { Rectangle {
id: navWrapper id: navWrapper
color: Material.theme === Material.Light ? "white" : Material.background color: Material.theme === Material.Light ? "white" : Material.background
height: 50 height: 50
anchors { anchors {
top: parent.top top: parent.top
right: parent.right right: parent.right
left: parent.left left: parent.left
} }
TabBar { TabBar {
id: nav id: nav
height: parent.height height: parent.height
currentIndex: 0 currentIndex: 0
background: Item {}
anchors { anchors {
top: parent.top top: parent.top
left: parent.left left: parent.left
@ -47,108 +51,138 @@ Item {
openLink: "https://forum.screen-play.app/" openLink: "https://forum.screen-play.app/"
icon.source: "qrc:/assets/icons/icon_forum.svg" icon.source: "qrc:/assets/icons/icon_forum.svg"
} }
CommunityNavItem { CommunityNavItem {
text: qsTr("Issue List") text: qsTr("Issue List")
openLink: "https://gitlab.com/kelteseth/ScreenPlay/-/issues" openLink: "https://gitlab.com/kelteseth/ScreenPlay/-/issues"
icon.source: "qrc:/assets/icons/icon_report_problem.svg" icon.source: "qrc:/assets/icons/icon_report_problem.svg"
} }
CommunityNavItem { CommunityNavItem {
text: qsTr("Contribute") text: qsTr("Contribute")
openLink: "https://gitlab.com/kelteseth/ScreenPlay#general-contributing" openLink: "https://gitlab.com/kelteseth/ScreenPlay#general-contributing"
icon.source: "qrc:/assets/icons/icon_supervisor_account.svg" icon.source: "qrc:/assets/icons/icon_supervisor_account.svg"
} }
CommunityNavItem { CommunityNavItem {
text: qsTr("Steam Workshop") text: qsTr("Steam Workshop")
openLink: "steam://url/GameHub/672870" openLink: "steam://url/GameHub/672870"
icon.source: "qrc:/assets/icons/icon_steam.svg" icon.source: "qrc:/assets/icons/icon_steam.svg"
} }
background: Item {
}
} }
} }
LinearGradient { LinearGradient {
height: 6 height: 6
z: 99 z: 99
start: Qt.point(0, 0)
end: Qt.point(0, 6)
anchors { anchors {
top: navWrapper.bottom top: navWrapper.bottom
left: parent.left left: parent.left
right: parent.right right: parent.right
} }
start: Qt.point(0, 0)
end: Qt.point(0, 6)
gradient: Gradient { gradient: Gradient {
GradientStop { GradientStop {
position: 0.0 position: 0
color: "#33333333" color: "#33333333"
} }
GradientStop { GradientStop {
position: 1.0 position: 1
color: "transparent" color: "transparent"
} }
} }
} }
SwipeView { SwipeView {
id: swipeView id: swipeView
currentIndex: nav.currentIndex currentIndex: nav.currentIndex
anchors { anchors {
top: navWrapper.bottom top: navWrapper.bottom
right: parent.right right: parent.right
bottom: parent.bottom bottom: parent.bottom
left: parent.left left: parent.left
} }
XMLNewsfeed {
XMLNewsfeed {
} }
Repeater { Repeater {
id: repeater id: repeater
model: ListModel {
id: webModel
ListElement {
url: "https://screen-play.app/blog/"
}
ListElement {
url: "https://kelteseth.gitlab.io/ScreenPlayDocs/"
}
ListElement {
url: "https://forum.screen-play.app/"
}
ListElement {
url: "https://gitlab.com/kelteseth/ScreenPlay/-/issues"
}
ListElement {
url: "https://gitlab.com/kelteseth/ScreenPlay#general-contributing"
}
ListElement {
url: "https://steamcommunity.com/app/672870/workshop/"
}
}
Loader { Loader {
active: SwipeView.isCurrentItem || SwipeView.isNextItem active: SwipeView.isCurrentItem || SwipeView.isNextItem || SwipeView.isPreviousItem
|| SwipeView.isPreviousItem
asynchronous: true asynchronous: true
sourceComponent: Item { sourceComponent: Item {
Component.onCompleted: timer.start() Component.onCompleted: timer.start()
Timer { Timer {
id: timer id: timer
interval: 200 interval: 200
onTriggered: webView.url = webModel.get(index +1).url onTriggered: webView.url = webModel.get(index + 1).url
} }
WebEngineView { WebEngineView {
id: webView id: webView
anchors.fill: parent anchors.fill: parent
} }
} }
} }
model: ListModel {
id: webModel
ListElement {
url: "https://screen-play.app/blog/"
}
ListElement {
url: "https://kelteseth.gitlab.io/ScreenPlayDocs/"
}
ListElement {
url: "https://forum.screen-play.app/"
}
ListElement {
url: "https://gitlab.com/kelteseth/ScreenPlay/-/issues"
}
ListElement {
url: "https://gitlab.com/kelteseth/ScreenPlay#general-contributing"
}
ListElement {
url: "https://steamcommunity.com/app/672870/workshop/"
}
}
} }
} }
Binding{ Binding {
target: nav target: nav
property: "currentIndex" property: "currentIndex"
value: swipeView.currentIndex value: swipeView.currentIndex
} }
} }

View File

@ -5,30 +5,35 @@ import ScreenPlay 1.0
TabButton { TabButton {
id: control id: control
height: parent.height
property url openLink property url openLink
height: parent.height
contentItem: Item { contentItem: Item {
anchors.fill: parent anchors.fill: parent
ToolButton { ToolButton {
icon.source: control.icon.source icon.source: control.icon.source
anchors {
right: txt.left
verticalCenter: txt.verticalCenter
}
icon.color: control.checked ? Material.accentColor : Material.secondaryTextColor icon.color: control.checked ? Material.accentColor : Material.secondaryTextColor
hoverEnabled: false hoverEnabled: false
icon.width: 16 icon.width: 16
icon.height: 16 icon.height: 16
enabled: false enabled: false
anchors {
right: txt.left
verticalCenter: txt.verticalCenter
}
} }
Text { Text {
id: txt id: txt
text: control.text text: control.text
font.family: ScreenPlay.settings.font font.family: ScreenPlay.settings.font
opacity: enabled ? 1.0 : 0.3 opacity: enabled ? 1 : 0.3
color: control.checked ? Material.accentColor : Material.primaryTextColor color: control.checked ? Material.accentColor : Material.primaryTextColor
horizontalAlignment: Text.AlignHCenter horizontalAlignment: Text.AlignHCenter
elide: Text.ElideRight elide: Text.ElideRight
@ -40,32 +45,28 @@ TabButton {
} }
ToolButton { ToolButton {
opacity: 0.6
width: parent.width * 0.2
icon.source: "qrc:/assets/icons/icon_open_in_new.svg"
icon.width: 16
icon.height: 16
onClicked: Qt.openUrlExternally(control.openLink)
ToolTip.delay: 500
ToolTip.timeout: 5000
ToolTip.visible: hovered
ToolTip.text: qsTr("Open in browser")
anchors { anchors {
top: parent.top top: parent.top
topMargin: 15 topMargin: 15
right: parent.right right: parent.right
} }
opacity: 0.6
width: parent.width * .2
icon.source: "qrc:/assets/icons/icon_open_in_new.svg"
icon.width: 16
icon.height: 16
onClicked: Qt.openUrlExternally(control.openLink)
ToolTip.delay: 500
ToolTip.timeout: 5000
ToolTip.visible: hovered
ToolTip.text: qsTr("Open in browser")
} }
} }
background: Item {} background: Item {
} }
/*##^##
Designer {
D{i:0;height:60;width:300}
} }
##^##*/

View File

@ -11,14 +11,15 @@ Item {
GridView { GridView {
id: changelogFlickableWrapper id: changelogFlickableWrapper
flickableDirection: Flickable.VerticalFlick flickableDirection: Flickable.VerticalFlick
maximumFlickVelocity: 5000 maximumFlickVelocity: 5000
flickDeceleration: 5000 flickDeceleration: 5000
cellHeight: 250 cellHeight: 250
cellWidth: 450 cellWidth: 450
clip: true clip: true
model: feedModel model: feedModel
anchors { anchors {
top: parent.top top: parent.top
right: parent.right right: parent.right
@ -29,28 +30,35 @@ Item {
XmlListModel { XmlListModel {
id: feedModel id: feedModel
source: "https://screen-play.app/blog/index.xml" source: "https://screen-play.app/blog/index.xml"
query: "/rss/channel/item" query: "/rss/channel/item"
XmlRole { XmlRole {
name: "title" name: "title"
query: "title/string()" query: "title/string()"
} }
XmlRole { XmlRole {
name: "image" name: "image"
query: "image/string()" query: "image/string()"
} }
XmlRole { XmlRole {
name: "pubDate" name: "pubDate"
query: "pubDate/string()" query: "pubDate/string()"
} }
XmlRole { XmlRole {
name: "link" name: "link"
query: "link/string()" query: "link/string()"
} }
XmlRole { XmlRole {
name: "description" name: "description"
query: "description/string()" query: "description/string()"
} }
} }
header: Item { header: Item {
@ -59,10 +67,10 @@ Item {
Text { Text {
id: name id: name
text: qsTr("News & Patchnotes") text: qsTr("News & Patchnotes")
wrapMode: Text.WordWrap wrapMode: Text.WordWrap
color: Material.primaryTextColor color: Material.primaryTextColor
verticalAlignment: Text.AlignVCenter verticalAlignment: Text.AlignVCenter
horizontalAlignment: Text.AlignLeft horizontalAlignment: Text.AlignLeft
font.pointSize: 32 font.pointSize: 32
@ -74,11 +82,14 @@ Item {
topMargin: 30 topMargin: 30
horizontalCenter: parent.horizontalCenter horizontalCenter: parent.horizontalCenter
} }
} }
} }
delegate: Item { delegate: Item {
id: delegate id: delegate
width: changelogFlickableWrapper.cellWidth - 20 width: changelogFlickableWrapper.cellWidth - 20
height: changelogFlickableWrapper.cellHeight - 20 height: changelogFlickableWrapper.cellHeight - 20
@ -90,38 +101,51 @@ Item {
Image { Image {
id: img id: img
asynchronous: true asynchronous: true
anchors.fill: parent anchors.fill: parent
fillMode: Image.PreserveAspectCrop fillMode: Image.PreserveAspectCrop
source: image source: image
opacity: status === Image.Ready ? 1 : 0 opacity: status === Image.Ready ? 1 : 0
Behavior on opacity { Behavior on opacity {
PropertyAnimation { PropertyAnimation {
duration: 250 duration: 250
} }
} }
} }
LinearGradient { LinearGradient {
anchors.fill: parent anchors.fill: parent
start: Qt.point(0, 0) start: Qt.point(0, 0)
end: Qt.point(0, parent.height) end: Qt.point(0, parent.height)
gradient: Gradient { gradient: Gradient {
GradientStop { GradientStop {
position: 1.0 position: 1
color: "#ee111111" color: "#ee111111"
} }
GradientStop { GradientStop {
position: 0.0 position: 0
color: "transparent" color: "transparent"
} }
} }
} }
Text { Text {
id: txtTitle id: txtTitle
text: title text: title
color: Material.primaryTextColor
font.family: ScreenPlay.settings.font
font.weight: Font.Normal
font.pointSize: 14
wrapMode: Text.WordWrap
anchors { anchors {
right: parent.right right: parent.right
@ -129,16 +153,18 @@ Item {
left: parent.left left: parent.left
margins: 20 margins: 20
} }
color: Material.primaryTextColor
font.family: ScreenPlay.settings.font
font.weight: Font.Normal
font.pointSize: 14
wrapMode: Text.WordWrap
} }
Text { Text {
id: txtPubDate id: txtPubDate
text: pubDate text: pubDate
color: Material.primaryTextColor
font.family: ScreenPlay.settings.font
font.pointSize: 8
wrapMode: Text.WordWrap
anchors { anchors {
right: parent.right right: parent.right
rightMargin: 20 rightMargin: 20
@ -147,11 +173,7 @@ Item {
left: parent.left left: parent.left
leftMargin: 20 leftMargin: 20
} }
color: Material.primaryTextColor
font.family: ScreenPlay.settings.font
font.pointSize: 8
wrapMode: Text.WordWrap
} }
MouseArea { MouseArea {
@ -162,7 +184,9 @@ Item {
onEntered: delegate.state = "hover" onEntered: delegate.state = "hover"
onExited: delegate.state = "" onExited: delegate.state = ""
} }
} }
transitions: [ transitions: [
Transition { Transition {
from: "" from: ""
@ -174,6 +198,7 @@ Item {
from: 1 from: 1
to: 1.05 to: 1.05
} }
}, },
Transition { Transition {
from: "hover" from: "hover"
@ -185,6 +210,7 @@ Item {
from: 1.05 from: 1.05
to: 1 to: 1
} }
} }
] ]
} }
@ -193,5 +219,7 @@ Item {
snapMode: ScrollBar.SnapOnRelease snapMode: ScrollBar.SnapOnRelease
policy: ScrollBar.AlwaysOn policy: ScrollBar.AlwaysOn
} }
} }
} }

View File

@ -4,9 +4,7 @@ import QtQuick.Layouts 1.12
import QtQuick.Controls.Material 2.12 import QtQuick.Controls.Material 2.12
import QtQuick.Particles 2.0 import QtQuick.Particles 2.0
import QtGraphicalEffects 1.0 import QtGraphicalEffects 1.0
import QtQuick.Controls.Material.impl 2.12 import QtQuick.Controls.Material.impl 2.12
import ScreenPlay 1.0 import ScreenPlay 1.0
import ScreenPlay.Create 1.0 import ScreenPlay.Create 1.0
import ScreenPlay.QMLUtilities 1.0 import ScreenPlay.QMLUtilities 1.0
@ -15,25 +13,30 @@ Item {
id: root id: root
Component.onCompleted: { Component.onCompleted: {
wizardContentWrapper.state = "in" wizardContentWrapper.state = "in";
stackView.push("qrc:/qml/Create/StartInfo.qml") stackView.push("qrc:/qml/Create/StartInfo.qml");
} }
Sidebar { Sidebar {
id: sidebar id: sidebar
stackView: stackView stackView: stackView
anchors { anchors {
top: parent.top top: parent.top
left: parent.left left: parent.left
bottom: parent.bottom bottom: parent.bottom
} }
} }
Item { Item {
id: wizardContentWrapper id: wizardContentWrapper
width: parent.width - (sidebar.width + (anchors.margins * 2)) width: parent.width - (sidebar.width + (anchors.margins * 2))
height: parent.height - (anchors.margins * 2) height: parent.height - (anchors.margins * 2)
opacity: 0 opacity: 0
anchors { anchors {
margins: 10 margins: 10
top: parent.top top: parent.top
@ -44,10 +47,8 @@ Item {
Rectangle { Rectangle {
radius: 4 radius: 4
layer.enabled: true layer.enabled: true
layer.effect: ElevationEffect {
elevation: 6
}
color: Material.theme === Material.Light ? "white" : Material.background color: Material.theme === Material.Light ? "white" : Material.background
anchors { anchors {
fill: parent fill: parent
margins: 10 margins: 10
@ -55,6 +56,12 @@ Item {
StackView { StackView {
id: stackView id: stackView
anchors {
fill: parent
margins: 20
}
pushEnter: Transition { pushEnter: Transition {
PropertyAnimation { PropertyAnimation {
property: "opacity" property: "opacity"
@ -63,6 +70,7 @@ Item {
duration: 400 duration: 400
easing.type: Easing.InOutQuart easing.type: Easing.InOutQuart
} }
PropertyAnimation { PropertyAnimation {
property: "scale" property: "scale"
from: 0.8 from: 0.8
@ -70,6 +78,7 @@ Item {
duration: 400 duration: 400
easing.type: Easing.InOutQuart easing.type: Easing.InOutQuart
} }
} }
pushExit: Transition { pushExit: Transition {
@ -84,27 +93,31 @@ Item {
PropertyAnimation { PropertyAnimation {
property: "scale" property: "scale"
from: 1 from: 1
to: .8 to: 0.8
duration: 400 duration: 400
easing.type: Easing.InOutQuart easing.type: Easing.InOutQuart
} }
} }
anchors {
fill: parent
margins: 20
}
} }
layer.effect: ElevationEffect {
elevation: 6
}
} }
states: [ states: [
State { State {
name: "in" name: "in"
PropertyChanges { PropertyChanges {
target: wizardContentWrapper target: wizardContentWrapper
anchors.topMargin: wizardContentWrapper.anchors.margins anchors.topMargin: wizardContentWrapper.anchors.margins
opacity: 1 opacity: 1
} }
} }
] ]
transitions: [ transitions: [
@ -112,8 +125,8 @@ Item {
from: "" from: ""
to: "in" to: "in"
reversible: true reversible: true
SequentialAnimation {
SequentialAnimation {
PropertyAnimation { PropertyAnimation {
target: wizardContentWrapper target: wizardContentWrapper
duration: 400 duration: 400
@ -123,17 +136,14 @@ Item {
ScriptAction { ScriptAction {
script: { script: {
wizardContentWrapper.anchors.left = sidebar.right wizardContentWrapper.anchors.left = sidebar.right;
} }
} }
} }
} }
] ]
} }
}
/*##^## Designer {
D{i:0;autoSize:true;height:768;width:1366}
} }
##^##*/

View File

@ -4,92 +4,27 @@ import QtQuick.Layouts 1.12
import QtQuick.Controls.Material 2.12 import QtQuick.Controls.Material 2.12
import QtQuick.Particles 2.0 import QtQuick.Particles 2.0
import QtGraphicalEffects 1.0 import QtGraphicalEffects 1.0
import QtQuick.Controls.Material.impl 2.12 import QtQuick.Controls.Material.impl 2.12
import ScreenPlay 1.0 import ScreenPlay 1.0
import ScreenPlay.Create 1.0 import ScreenPlay.Create 1.0
import ScreenPlay.QMLUtilities 1.0 import ScreenPlay.QMLUtilities 1.0
Rectangle { Rectangle {
id: root id: root
width: 350
state: expanded ? "" : "inactive"
layer.enabled: true
layer.effect: ElevationEffect {
elevation: 6
}
property bool expanded: false
Component.onCompleted: expanded = true
color: Material.background
property bool expanded: false
property alias listView: listView property alias listView: listView
property alias model: listView.model property alias model: listView.model
property StackView stackView property StackView stackView
width: 350
state: expanded ? "" : "inactive"
layer.enabled: true
Component.onCompleted: expanded = true
color: Material.background
ListView { ListView {
id: listView /*
anchors.fill: parent
anchors.margins: 20
spacing: 5
model: ListModel {
ListElement {
headline: qsTr("Tools Overview")
source: "qrc:/qml/Create/StartInfo.qml"
category: "Home"
}
ListElement {
headline: "Video import and convert (all types)"
source: "qrc:/qml/Create/Wizards/ImportVideoAndConvert/CreateWallpaper.qml"
category: "Video Wallpaper"
}
ListElement {
headline: qsTr("Video Import (.webm)")
source: "qrc:/qml/Create/Wizards/ImportWebm/ImportWebm.qml"
category: "Video Wallpaper"
}
ListElement {
headline: qsTr("GIF Wallpaper")
source: "qrc:/qml/Create/Wizards/GifWallpaper.qml"
category: "Video Wallpaper"
}
ListElement {
headline: qsTr("QML Wallpaper")
source: "qrc:/qml/Create/Wizards/QMLWallpaper.qml"
category: "Code Wallpaper"
}
ListElement {
headline: qsTr("HTML5 Wallpaper")
source: "qrc:/qml/Create/Wizards/HTMLWallpaper.qml"
category: "Code Wallpaper"
}
ListElement {
headline: qsTr("Website Wallpaper")
source: "qrc:/qml/Create/Wizards/WebsiteWallpaper.qml"
category: "Code Wallpaper"
}
ListElement {
headline: qsTr("QML Widget")
source: "qrc:/qml/Create/Wizards/QMLWidget.qml"
category: "Code Widgets"
}
ListElement {
headline: qsTr("HTML Widget")
source: "qrc:/qml/Create/Wizards/HTMLWidget.qml"
category: "Code Widgets"
}
/*
ListElement { ListElement {
headline: qsTr("QML Particle Wallpaper") headline: qsTr("QML Particle Wallpaper")
source: "" source: ""
@ -150,75 +85,152 @@ Rectangle {
category: "Example Widget" category: "Example Widget"
} }
*/ */
id: listView
anchors.fill: parent
anchors.margins: 20
spacing: 5
section.property: "category"
Connections {
id: loaderConnections
function onWizardStarted() {
root.expanded = false;
}
function onWizardExited() {
root.expanded = true;
stackView.clear(StackView.PushTransition);
stackView.push("qrc:/qml/Create/StartInfo.qml");
listView.currentIndex = 0;
ScreenPlay.util.setNavigationActive(true);
}
ignoreUnknownSignals: true
}
model: ListModel {
ListElement {
headline: qsTr("Tools Overview")
source: "qrc:/qml/Create/StartInfo.qml"
category: "Home"
}
ListElement {
headline: "Video import and convert (all types)"
source: "qrc:/qml/Create/Wizards/ImportVideoAndConvert/CreateWallpaper.qml"
category: "Video Wallpaper"
}
ListElement {
headline: qsTr("Video Import (.webm)")
source: "qrc:/qml/Create/Wizards/ImportWebm/ImportWebm.qml"
category: "Video Wallpaper"
}
ListElement {
headline: qsTr("GIF Wallpaper")
source: "qrc:/qml/Create/Wizards/GifWallpaper.qml"
category: "Video Wallpaper"
}
ListElement {
headline: qsTr("QML Wallpaper")
source: "qrc:/qml/Create/Wizards/QMLWallpaper.qml"
category: "Code Wallpaper"
}
ListElement {
headline: qsTr("HTML5 Wallpaper")
source: "qrc:/qml/Create/Wizards/HTMLWallpaper.qml"
category: "Code Wallpaper"
}
ListElement {
headline: qsTr("Website Wallpaper")
source: "qrc:/qml/Create/Wizards/WebsiteWallpaper.qml"
category: "Code Wallpaper"
}
ListElement {
headline: qsTr("QML Widget")
source: "qrc:/qml/Create/Wizards/QMLWidget.qml"
category: "Code Widgets"
}
ListElement {
headline: qsTr("HTML Widget")
source: "qrc:/qml/Create/Wizards/HTMLWidget.qml"
category: "Code Widgets"
}
} }
ScrollBar.vertical: ScrollBar { ScrollBar.vertical: ScrollBar {
snapMode: ScrollBar.SnapOnRelease snapMode: ScrollBar.SnapOnRelease
policy: ScrollBar.AsNeeded policy: ScrollBar.AsNeeded
} }
section.property: "category"
section.delegate: Item { section.delegate: Item {
height: 60 height: 60
Text { Text {
font.pointSize: 18
color: Material.primaryTextColor
text: section
anchors { anchors {
bottom: parent.bottom bottom: parent.bottom
left: parent.left left: parent.left
bottomMargin: 10 bottomMargin: 10
} }
font.pointSize: 18
color: Material.primaryTextColor
text: section
} }
}
Connections {
id: loaderConnections
ignoreUnknownSignals: true
function onWizardStarted() {
root.expanded = false
}
function onWizardExited() {
root.expanded = true
stackView.clear(StackView.PushTransition)
stackView.push("qrc:/qml/Create/StartInfo.qml")
listView.currentIndex = 0
ScreenPlay.util.setNavigationActive(true)
}
} }
delegate: Button { delegate: Button {
id: listItem id: listItem
width: listView.width - 40 width: listView.width - 40
height: 45 height: 45
highlighted: ListView.isCurrentItem highlighted: ListView.isCurrentItem
onClicked: {
listView.currentIndex = index
const item = stackView.push(source)
loaderConnections.target = item
}
text: headline text: headline
onClicked: {
listView.currentIndex = index;
const item = stackView.push(source);
loaderConnections.target = item;
}
} }
}
layer.effect: ElevationEffect {
elevation: 6
} }
states: [ states: [
State { State {
name: "" name: ""
PropertyChanges { PropertyChanges {
target: root target: root
anchors.leftMargin: 0 anchors.leftMargin: 0
opacity: 1 opacity: 1
} }
}, },
State { State {
name: "inactive" name: "inactive"
PropertyChanges { PropertyChanges {
target: root target: root
opacity: 0 opacity: 0
anchors.leftMargin: -root.width anchors.leftMargin: -root.width
} }
} }
] ]
transitions: [ transitions: [
@ -226,17 +238,20 @@ Rectangle {
from: "" from: ""
to: "inactive" to: "inactive"
reversible: true reversible: true
SequentialAnimation {
SequentialAnimation {
PauseAnimation { PauseAnimation {
duration: 100 duration: 100
} }
PropertyAnimation { PropertyAnimation {
properties: "anchors.leftMargin,opacity" properties: "anchors.leftMargin,opacity"
duration: 300 duration: 300
easing.type: Easing.OutCubic easing.type: Easing.OutCubic
} }
} }
} }
] ]
} }

View File

@ -5,11 +5,9 @@ import QtQuick.Controls.Material 2.12
import QtQuick.Particles 2.0 import QtQuick.Particles 2.0
import QtGraphicalEffects 1.0 import QtGraphicalEffects 1.0
import QtQuick.Controls.Material.impl 2.12 import QtQuick.Controls.Material.impl 2.12
import ScreenPlay 1.0 import ScreenPlay 1.0
import ScreenPlay.Create 1.0 import ScreenPlay.Create 1.0
import ScreenPlay.QMLUtilities 1.0 import ScreenPlay.QMLUtilities 1.0
import "../Common" as Common import "../Common" as Common
Item { Item {
@ -17,31 +15,45 @@ Item {
Common.Headline { Common.Headline {
id: headline id: headline
text: qsTr("Free Tools to create wallpaper") text: qsTr("Free Tools to create wallpaper")
anchors { anchors {
top: parent.top top: parent.top
right: parent.right right: parent.right
left: parent.left left: parent.left
margins: 20 margins: 20
} }
} }
Text { Text {
id: introText id: introText
color: Material.primaryTextColor color: Material.primaryTextColor
font.pointSize: 12
font.family: ScreenPlay.settings.font
text: qsTr("Below you can find tools to create wallaper beyond the tools that ScreenPlay provides for you!")
anchors { anchors {
top: headline.bottom top: headline.bottom
right: parent.right right: parent.right
left: parent.left left: parent.left
margins: 20 margins: 20
} }
font.pointSize: 12
font.family: ScreenPlay.settings.font
text: qsTr("Below you can find tools to create wallaper beyond the tools that ScreenPlay provides for you!")
} }
GridView { GridView {
id: gridView id: gridView
boundsBehavior: Flickable.DragOverBounds
maximumFlickVelocity: 2500
flickDeceleration: 500
clip: true
cellWidth: 186
cellHeight: 280
anchors { anchors {
top: introText.bottom top: introText.bottom
right: parent.right right: parent.right
@ -49,15 +61,11 @@ Item {
left: parent.left left: parent.left
margins: 20 margins: 20
} }
boundsBehavior: Flickable.DragOverBounds
maximumFlickVelocity: 2500
flickDeceleration: 500
clip: true
cellWidth: 186
cellHeight: 280
ScrollBar.vertical: ScrollBar { ScrollBar.vertical: ScrollBar {
snapMode: ScrollBar.SnapOnRelease snapMode: ScrollBar.SnapOnRelease
} }
model: ListModel { model: ListModel {
ListElement { ListElement {
text: "Subreddit" text: "Subreddit"
@ -66,6 +74,7 @@ Item {
description: "Lorem ipsum dolor sit amet, consectetuer adipiscing elit." description: "Lorem ipsum dolor sit amet, consectetuer adipiscing elit."
category: "Community" category: "Community"
} }
ListElement { ListElement {
text: "Forums" text: "Forums"
image: "qrc:/assets/startinfo/forums.png" image: "qrc:/assets/startinfo/forums.png"
@ -73,6 +82,7 @@ Item {
description: "Lorem ipsum dolor sit amet, consectetuer adipiscing elit." description: "Lorem ipsum dolor sit amet, consectetuer adipiscing elit."
category: "Community" category: "Community"
} }
ListElement { ListElement {
text: "QML Online Editor" text: "QML Online Editor"
image: "qrc:/assets/startinfo/qml_online.png" image: "qrc:/assets/startinfo/qml_online.png"
@ -80,6 +90,7 @@ Item {
description: "Lorem ipsum dolor sit amet, consectetuer adipiscing elit." description: "Lorem ipsum dolor sit amet, consectetuer adipiscing elit."
category: "Tools" category: "Tools"
} }
ListElement { ListElement {
text: "Godot" text: "Godot"
image: "qrc:/assets/startinfo/godot.png" image: "qrc:/assets/startinfo/godot.png"
@ -87,6 +98,7 @@ Item {
description: "Lorem ipsum dolor sit amet, consectetuer adipiscing elit." description: "Lorem ipsum dolor sit amet, consectetuer adipiscing elit."
category: "Tools" category: "Tools"
} }
ListElement { ListElement {
text: "Handbreak" text: "Handbreak"
image: "qrc:/assets/startinfo/handbreak.png" image: "qrc:/assets/startinfo/handbreak.png"
@ -94,6 +106,7 @@ Item {
description: "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Cum sociis natoque penatibus et magnis dis parturient montes," description: "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Cum sociis natoque penatibus et magnis dis parturient montes,"
category: "Tools" category: "Tools"
} }
ListElement { ListElement {
text: "Blender" text: "Blender"
image: "qrc:/assets/startinfo/blender.png" image: "qrc:/assets/startinfo/blender.png"
@ -101,6 +114,7 @@ Item {
description: "" description: ""
category: "Tools" category: "Tools"
} }
ListElement { ListElement {
text: "OBS Studio" text: "OBS Studio"
image: "qrc:/assets/startinfo/obs.png" image: "qrc:/assets/startinfo/obs.png"
@ -108,6 +122,7 @@ Item {
description: "" description: ""
category: "Tools" category: "Tools"
} }
ListElement { ListElement {
text: "Krita" text: "Krita"
image: "qrc:/assets/startinfo/krita.png" image: "qrc:/assets/startinfo/krita.png"
@ -115,6 +130,7 @@ Item {
description: "" description: ""
category: "Tools" category: "Tools"
} }
ListElement { ListElement {
text: "Gimp" text: "Gimp"
image: "qrc:/assets/startinfo/gimp.png" image: "qrc:/assets/startinfo/gimp.png"
@ -122,6 +138,7 @@ Item {
description: "" description: ""
category: "Tools" category: "Tools"
} }
ListElement { ListElement {
text: "Inscape" text: "Inscape"
image: "qrc:/assets/startinfo/inkscape.png" image: "qrc:/assets/startinfo/inkscape.png"
@ -129,6 +146,7 @@ Item {
description: "" description: ""
category: "Tools" category: "Tools"
} }
ListElement { ListElement {
text: "Kdenlive" text: "Kdenlive"
image: "qrc:/assets/startinfo/kdeenlive.png" image: "qrc:/assets/startinfo/kdeenlive.png"
@ -136,6 +154,7 @@ Item {
description: "" description: ""
category: "Tools" category: "Tools"
} }
ListElement { ListElement {
text: "ShareX" text: "ShareX"
image: "qrc:/assets/startinfo/sharex.png" image: "qrc:/assets/startinfo/sharex.png"
@ -143,6 +162,7 @@ Item {
description: "" description: ""
category: "Tools" category: "Tools"
} }
ListElement { ListElement {
text: "GitLab" text: "GitLab"
image: "qrc:/assets/startinfo/gitlab.png" image: "qrc:/assets/startinfo/gitlab.png"
@ -150,6 +170,7 @@ Item {
description: "" description: ""
category: "Tools" category: "Tools"
} }
ListElement { ListElement {
text: "Git Extensions - Git UI for Windows" text: "Git Extensions - Git UI for Windows"
image: "qrc:/assets/startinfo/git_extentions.png" image: "qrc:/assets/startinfo/git_extentions.png"
@ -157,6 +178,7 @@ Item {
description: "" description: ""
category: "Tools" category: "Tools"
} }
ListElement { ListElement {
text: "Visual Studio Code" text: "Visual Studio Code"
image: "qrc:/assets/startinfo/vscode.png" image: "qrc:/assets/startinfo/vscode.png"
@ -164,6 +186,7 @@ Item {
description: "" description: ""
category: "Tools" category: "Tools"
} }
ListElement { ListElement {
text: "Shadertoy" text: "Shadertoy"
image: "qrc:/assets/startinfo/shadertoy.png" image: "qrc:/assets/startinfo/shadertoy.png"
@ -171,6 +194,7 @@ Item {
description: "" description: ""
category: "Resources" category: "Resources"
} }
ListElement { ListElement {
text: "Flaticon" text: "Flaticon"
image: "qrc:/assets/startinfo/flaticon.png" image: "qrc:/assets/startinfo/flaticon.png"
@ -178,6 +202,7 @@ Item {
description: "" description: ""
category: "Resources" category: "Resources"
} }
ListElement { ListElement {
text: "Unsplash" text: "Unsplash"
image: "qrc:/assets/startinfo/unsplash.png" image: "qrc:/assets/startinfo/unsplash.png"
@ -185,6 +210,7 @@ Item {
description: "" description: ""
category: "Resources" category: "Resources"
} }
ListElement { ListElement {
text: "FreeSound" text: "FreeSound"
image: "qrc:/assets/startinfo/freesound.png" image: "qrc:/assets/startinfo/freesound.png"
@ -192,10 +218,12 @@ Item {
description: "" description: ""
category: "Resources" category: "Resources"
} }
} }
delegate: StartInfoLinkImage { delegate: StartInfoLinkImage {
id: delegate id: delegate
image: model.image image: model.image
category: model.category + ":" category: model.category + ":"
description: model.description description: model.description
@ -204,5 +232,7 @@ Item {
width: gridView.cellWidth width: gridView.cellWidth
height: gridView.cellHeight height: gridView.cellHeight
} }
} }
} }

View File

@ -5,11 +5,9 @@ import QtQuick.Controls.Material 2.12
import QtQuick.Particles 2.0 import QtQuick.Particles 2.0
import QtGraphicalEffects 1.0 import QtGraphicalEffects 1.0
import QtQuick.Controls.Material.impl 2.12 import QtQuick.Controls.Material.impl 2.12
import ScreenPlay 1.0 import ScreenPlay 1.0
import ScreenPlay.Create 1.0 import ScreenPlay.Create 1.0
import ScreenPlay.QMLUtilities 1.0 import ScreenPlay.QMLUtilities 1.0
import "../Common" as Common import "../Common" as Common
Item { Item {
@ -23,16 +21,15 @@ Item {
Rectangle { Rectangle {
id: img id: img
anchors.fill: parent anchors.fill: parent
anchors.margins: 5 anchors.margins: 5
clip: true clip: true
layer.enabled: true layer.enabled: true
layer.effect: ElevationEffect {
elevation: 4
}
Image { Image {
id: image id: image
anchors.fill: parent anchors.fill: parent
fillMode: Image.PreserveAspectCrop fillMode: Image.PreserveAspectCrop
} }
@ -40,23 +37,30 @@ Item {
LinearGradient { LinearGradient {
anchors.fill: parent anchors.fill: parent
end: Qt.point(0, 0) end: Qt.point(0, 0)
start: Qt.point(0, parent.height * .66) start: Qt.point(0, parent.height * 0.66)
gradient: Gradient { gradient: Gradient {
GradientStop { GradientStop {
position: 0.0 position: 0
color: "#DD000000" color: "#DD000000"
} }
GradientStop { GradientStop {
position: 1.0 position: 1
color: "#00000000" color: "#00000000"
} }
} }
} }
Text { Text {
id: txtCategory id: txtCategory
font.pointSize: 10 font.pointSize: 10
font.family: ScreenPlay.settings.font font.family: ScreenPlay.settings.font
color: "white" color: "white"
anchors { anchors {
left: parent.left left: parent.left
right: parent.right right: parent.right
@ -64,9 +68,12 @@ Item {
margins: 15 margins: 15
bottomMargin: 5 bottomMargin: 5
} }
} }
Text { Text {
id: txtText id: txtText
font.pointSize: 16 font.pointSize: 16
font.family: ScreenPlay.settings.font font.family: ScreenPlay.settings.font
color: "white" color: "white"
@ -78,10 +85,12 @@ Item {
bottom: parent.bottom bottom: parent.bottom
margins: 15 margins: 15
} }
} }
Rectangle { Rectangle {
color: Material.backgroundDimColor color: Material.backgroundDimColor
anchors { anchors {
top: img.bottom top: img.bottom
right: parent.right right: parent.right
@ -91,15 +100,20 @@ Item {
Text { Text {
id: description id: description
font.pointSize: 14 font.pointSize: 14
font.family: ScreenPlay.settings.font font.family: ScreenPlay.settings.font
color: Material.primaryTextColor color: Material.primaryTextColor
anchors { anchors {
fill: parent fill: parent
margins: 5 margins: 5
} }
} }
} }
MouseArea { MouseArea {
anchors.fill: parent anchors.fill: parent
cursorShape: Qt.PointingHandCursor cursorShape: Qt.PointingHandCursor
@ -107,8 +121,12 @@ Item {
onClicked: Qt.openUrlExternally(delegate.link) onClicked: Qt.openUrlExternally(delegate.link)
onEntered: delegate.state = "hover" onEntered: delegate.state = "hover"
onExited: delegate.state = "" onExited: delegate.state = ""
} }
layer.effect: ElevationEffect {
elevation: 4
}
} }
transitions: [ transitions: [
@ -122,6 +140,7 @@ Item {
from: 1 from: 1
to: 1.05 to: 1.05
} }
}, },
Transition { Transition {
from: "hover" from: "hover"
@ -133,6 +152,7 @@ Item {
from: 1.05 from: 1.05
to: 1 to: 1
} }
} }
] ]
} }

View File

@ -1,25 +1,23 @@
import QtQuick 2.12 import QtQuick 2.12
import QtGraphicalEffects 1.0 import QtGraphicalEffects 1.0
import QtQuick.Controls 2.2 import QtQuick.Controls 2.2
import QtQuick.Controls.Material 2.3 import QtQuick.Controls.Material 2.3
import QtQuick.Layouts 1.3 import QtQuick.Layouts 1.3
import ScreenPlay 1.0 import ScreenPlay 1.0
import ScreenPlay.Create 1.0 import ScreenPlay.Create 1.0
import "../Common" import "../Common"
Item { Item {
id: root id: root
anchors.fill: parent
state: "out"
function setSource(path, arguments) { function setSource(path, arguments) {
loader_wrapperContent.setSource(path, arguments) loader_wrapperContent.setSource(path, arguments);
root.state = "in";
root.state = "in"
} }
anchors.fill: parent
state: "out"
//Blocks some MouseArea from create page //Blocks some MouseArea from create page
MouseArea { MouseArea {
anchors.fill: parent anchors.fill: parent
@ -27,12 +25,6 @@ Item {
RectangularGlow { RectangularGlow {
id: effect id: effect
anchors {
top: wrapper.top
left: wrapper.left
right: wrapper.right
topMargin: 3
}
height: wrapper.height height: wrapper.height
width: wrapper.width width: wrapper.width
@ -42,21 +34,31 @@ Item {
color: "black" color: "black"
opacity: 0.4 opacity: 0.4
cornerRadius: 15 cornerRadius: 15
anchors {
top: wrapper.top
left: wrapper.left
right: wrapper.right
topMargin: 3
}
} }
Rectangle { Rectangle {
id: wrapper id: wrapper
color: Material.theme === Material.Light ? "white" : Material.background
width: {
if (parent.width < 1200) {
return parent.width - 20 // Add small margin left and right
} else {
return 1200
}
}
color: Material.theme === Material.Light ? "white" : Material.background
height: 580 height: 580
radius: 4 radius: 4
width: {
// Add small margin left and right
if (parent.width < 1200)
return parent.width - 20;
else
return 1200;
}
anchors { anchors {
horizontalCenter: parent.horizontalCenter horizontalCenter: parent.horizontalCenter
top: parent.top top: parent.top
@ -65,165 +67,192 @@ Item {
Loader { Loader {
id: loader_wrapperContent id: loader_wrapperContent
anchors.fill: parent anchors.fill: parent
} }
CloseIcon { CloseIcon {
onClicked: { onClicked: {
timerBack.start() timerBack.start();
} }
Timer { Timer {
id: timerBack id: timerBack
interval: 400 interval: 400
onTriggered: { onTriggered: {
ScreenPlay.util.setNavigationActive(true) ScreenPlay.util.setNavigationActive(true);
ScreenPlay.util.setNavigation("Create") ScreenPlay.util.setNavigation("Create");
} }
} }
} }
} }
states: [ states: [
State { State {
name: "out" name: "out"
PropertyChanges { PropertyChanges {
target: wrapper target: wrapper
anchors.topMargin: 800 anchors.topMargin: 800
opacity: 0 opacity: 0
} }
PropertyChanges { PropertyChanges {
target: effect target: effect
opacity: 0 opacity: 0
} }
}, },
State { State {
name: "in" name: "in"
PropertyChanges { PropertyChanges {
target: wrapper target: wrapper
anchors.topMargin: {
if (root.height < 650) {
return 20
} else {
return 70
}
}
opacity: 1 opacity: 1
anchors.topMargin: {
if (root.height < 650)
return 20;
else
return 70;
}
} }
PropertyChanges { PropertyChanges {
target: effect target: effect
opacity: .4 opacity: 0.4
} }
}, },
State { State {
name: "error" name: "error"
PropertyChanges { PropertyChanges {
target: wrapper target: wrapper
anchors.topMargin: 100 anchors.topMargin: 100
opacity: 1 opacity: 1
} }
PropertyChanges { PropertyChanges {
target: effect target: effect
opacity: .4 opacity: 0.4
} }
PropertyChanges { PropertyChanges {
target: loader_wrapperContent target: loader_wrapperContent
opacity: 1 opacity: 1
z: 1 z: 1
} }
}, },
State { State {
name: "success" name: "success"
PropertyChanges { PropertyChanges {
target: wrapper target: wrapper
anchors.topMargin: 100 anchors.topMargin: 100
opacity: 1 opacity: 1
} }
PropertyChanges { PropertyChanges {
target: effect target: effect
opacity: .4 opacity: 0.4
} }
PropertyChanges { PropertyChanges {
target: loader_wrapperContent target: loader_wrapperContent
opacity: 0 opacity: 0
z: 0 z: 0
} }
} }
] ]
transitions: [ transitions: [
Transition { Transition {
from: "out" from: "out"
to: "in" to: "in"
SequentialAnimation {
SequentialAnimation {
PauseAnimation { PauseAnimation {
duration: 400 duration: 400
} }
ParallelAnimation {
ParallelAnimation {
PropertyAnimation { PropertyAnimation {
target: wrapper target: wrapper
duration: 600 duration: 600
property: "anchors.topMargin" property: "anchors.topMargin"
easing.type: Easing.OutQuart easing.type: Easing.OutQuart
} }
PropertyAnimation { PropertyAnimation {
target: wrapper target: wrapper
duration: 600 duration: 600
property: "opacity" property: "opacity"
easing.type: Easing.OutQuart easing.type: Easing.OutQuart
} }
SequentialAnimation {
SequentialAnimation {
PauseAnimation { PauseAnimation {
duration: 1000 duration: 1000
} }
PropertyAnimation { PropertyAnimation {
target: effect target: effect
duration: 300 duration: 300
property: "opacity" property: "opacity"
easing.type: Easing.OutQuart easing.type: Easing.OutQuart
} }
} }
} }
} }
}, },
Transition { Transition {
from: "in" from: "in"
to: "out" to: "out"
ParallelAnimation { ParallelAnimation {
PropertyAnimation { PropertyAnimation {
target: wrapper target: wrapper
duration: 600 duration: 600
property: "anchors.topMargin" property: "anchors.topMargin"
easing.type: Easing.OutQuart easing.type: Easing.OutQuart
} }
PropertyAnimation { PropertyAnimation {
target: wrapper target: wrapper
duration: 600 duration: 600
property: "opacity" property: "opacity"
easing.type: Easing.OutQuart easing.type: Easing.OutQuart
} }
SequentialAnimation {
SequentialAnimation {
PauseAnimation { PauseAnimation {
duration: 500 duration: 500
} }
PropertyAnimation { PropertyAnimation {
target: effect target: effect
duration: 300 duration: 300
property: "opacity" property: "opacity"
easing.type: Easing.OutQuart easing.type: Easing.OutQuart
} }
} }
} }
}, },
Transition { Transition {
from: "in" from: "in"
to: "error" to: "error"
SequentialAnimation { SequentialAnimation {
PropertyAnimation { PropertyAnimation {
target: loader_wrapperContent target: loader_wrapperContent
@ -231,10 +260,13 @@ Item {
property: "opacity" property: "opacity"
easing.type: Easing.OutQuart easing.type: Easing.OutQuart
} }
PauseAnimation { PauseAnimation {
duration: 50 duration: 50
} }
} }
} }
] ]
} }

Some files were not shown because too many files have changed in this diff Show More