1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-11-07 03:22:33 +01:00
Commit Graph

23 Commits

Author SHA1 Message Date
Elias Steurer
1441998435 Add working Windows pipes connection 2023-10-22 17:29:06 +02:00
Elias Steurer
e327f73812 Fix all formatting scripts and format files
They default to format but also can be used
for checking
2023-08-20 11:59:02 +02:00
Elias Steurer
ad10683a74 Add regular message printing when using ScreenPlaySDK
This is now useful when directly starting ScreenPlayWallpaper
or ScreenPlayWidget
2023-07-01 11:06:47 +02:00
Elias Steurer
64cde196eb Update qdoc and formatting
turns out we need the Q_PROPERTY setter
in the cpp file for qdoc to recognize it
2023-01-28 11:02:10 +01:00
Elias Steurer
0669e2d1bf Add explicit send quit command to connection
Make it more robust instead of waiting for a timeout
2023-01-22 16:27:59 +01:00
Elias Steurer
8ba7c62f1b Fix missing appID 2023-01-21 11:11:32 +01:00
Elias Steurer
c5ec7e7bff WIP refactor ScreenPlayWallpaper
This is Windows only for now:
Make Classes default constructible. We now have:
setup():
- Can return status of the input data. This is most important, because
  we can now properly exit if this fails
- We now use the same ProjectFile struct as we do in InstalledListModel
- Gets called on all platforms
start():
- Platform specific code

Move argument parsing into main
2023-01-20 14:42:48 +01:00
Elias Steurer
7871573179 Update to use SPDX-License-Identifier 2023-01-19 10:33:49 +01:00
Elias Steurer
12e3aa91ac Refactor ScreenPlaySDK and remove old QML support 2022-05-05 13:43:49 +02:00
Elias Steurer
55b4608f69 WIP on master: bb738ca Fix qml Wallpaper and Widget setup missing qrc 2021-12-11 17:05:41 +01:00
Elias Steurer
a6ecc53db6 Merge master 2021-05-18 17:26:02 +02:00
Elias Steurer
e54e0c2acb Refactor widget removal/restore 2021-05-16 11:57:50 +02:00
Elias Steurer
e8fbe8e565 Add ScreenPlayUtil and ScreenPlayShader to developer docs
Update to qdoc Qt 6.1
Add module for every project
2021-05-13 13:05:05 +02:00
Elias Steurer
fa95faca1a Formatting 2021-05-09 12:00:25 +02:00
Elias Steurer
e7f1e61d33 Refactor wallpaper connection
Change sdk connection from shared to unqiue ptr
to make sure to only have one connection alive at
every time. This fixes to removal of wallpaper because
of a bug a shared connection as set in the monitorlistmodel.

The SDK connection is now part of the ScreenPlayWallpaper/Widget.
2021-04-18 17:23:21 +02:00
Elias Steurer
36a59518e9 Fix clazy connect-3arg-lambda 2021-04-16 10:59:18 +02:00
Elias Steurer
dc35dacb47 Fix quit when qml file contains an error
I cannt reproduce this in an empty project but _something_
stopped the quit call in the terminate function. The only
workaround I found was using an async loader...

Increase ping alive to 3000ms and change it to a static variable

Move getAvailableFillModes to globalvariables.h
2021-02-28 12:46:56 +01:00
Elias Steurer
6a3872fb2a Fix cpp formatting 2021-01-16 17:59:42 +01:00
Elias Steurer
d2080c2bd3 Add initialization to QJsonParseError 2020-11-13 11:23:10 +01:00
Elias Steurer
e9d333ba2e Call format-cpp 2020-10-29 19:17:37 +01:00
Elias Steurer
0ca674a313 Add another check if main application is still running
The timeout of pipes is quite high so we need to ping them regularly
2020-08-14 11:28:58 +02:00
Elias Steurer
49b75a463a Move SDKConnectors SDKConnection class into seperate file
The next will be to merge SDKConnector into the ScreenPlayManager.

We now have the first version of bi directional messages. This is for updating values like
saving the current Widget position. We also save a SDKConnection shared reference inside
our ScreenPlayWallpaper or ScreenPlayWidget instance. So we now have all logic in these classes.
2020-07-18 18:26:41 +02:00
Elias Steurer
12ab2a24a6 Fix SDK to properly export header files 2020-07-13 17:58:03 +02:00