1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-11-23 11:13:00 +01:00

Merge branch 'master' of https://gitlab.com/kelteseth/ScreenPlay into many-changes-and-fixes

This commit is contained in:
teppyboy 2020-10-08 20:18:04 +07:00
commit 31b64c8d1f
25 changed files with 672 additions and 1024 deletions

View File

@ -47,6 +47,14 @@ execute_process(COMMAND
add_compile_definitions(COMPILE_INFO="${BUILD_DATE} + ${GIT_COMMIT_HASH}")
if(UNIX)
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -fuse-ld=gold")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fuse-ld=gold")
endif()
project(ScreenPlay)
add_subdirectory(ScreenPlay)
@ -54,4 +62,7 @@ add_subdirectory(ScreenPlaySDK)
add_subdirectory(ScreenPlayShader)
add_subdirectory(ScreenPlayWallpaper)
add_subdirectory(ScreenPlayWidget)
if(WIN32)
add_subdirectory(ScreenPlaySysInfo)
endif()

View File

@ -1,5 +1,3 @@
cmake_minimum_required(VERSION 3.17 )
project(ScreenPlay LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 20)
@ -19,7 +17,9 @@ find_package(
REQUIRED)
find_package(OpenSSL REQUIRED)
if(WIN32)
find_package(sentry CONFIG REQUIRED)
endif()
set(src main.cpp
app.cpp
@ -60,6 +60,7 @@ set(headers app.h
set(l10n
translations/ScreenPlay_de.ts
translations/ScreenPlay_zh_cn.ts
translations/ScreenPlay_en.ts
translations/ScreenPlay_es.ts
translations/ScreenPlay_fr.ts
@ -100,10 +101,13 @@ target_link_libraries(${PROJECT_NAME}
Qt5::Widgets
Qt5::Core
Qt5::WebEngine
sentry::sentry
ScreenPlaySDK
)
if(WIN32)
target_link_libraries(${PROJECT_NAME} PRIVATE sentry::sentry)
endif()
target_include_directories(${PROJECT_NAME}
PRIVATE
${QT_TELEMTRY_INCLUDE})
@ -115,8 +119,9 @@ configure_file(assets/fonts/NotoSansCJKkr-Regular.otf ${CMAKE_BINARY_DIR}/bin/as
# install_dependencies_XXX for your system!
if(WIN32)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/../Common/ffmpeg/ffmpeg.exe ${CMAKE_BINARY_DIR}/bin/ COPYONLY)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/../Common/ffmpeg/ffprobe.exe ${CMAKE_BINARY_DIR}/bin/ COPYONLY)
else()
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/../Common/ffmpeg/ffmpeg.exe ${CMAKE_BINARY_DIR}/bin/ COPYONLY)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/../Common/vcpkg/installed/x64-windows/tools/sentry-native/crashpad_handler.exe ${CMAKE_BINARY_DIR}/bin/ COPYONLY)
elseif(APPLE)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/../Common/ffmpeg/ffmpeg ${CMAKE_BINARY_DIR}/bin/ COPYONLY)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/../Common/ffmpeg/ffprobe ${CMAKE_BINARY_DIR}/bin/ COPYONLY)
endif()

View File

@ -82,13 +82,6 @@
<file>assets/wizards/example_html.png</file>
<file>assets/wizards/example_qml.png</file>
<file>assets/images/undraw_static_website_0107.svg</file>
<file>translations/ScreenPlay_de.qm</file>
<file>translations/ScreenPlay_en.qm</file>
<file>translations/ScreenPlay_es.qm</file>
<file>translations/ScreenPlay_fr.qm</file>
<file>translations/ScreenPlay_ru.qm</file>
<file>translations/ScreenPlay_ko.qm</file>
<file>translations/ScreenPlay_vi.qm</file>
<file>assets/licenses/Apache2.txt</file>
<file>assets/licenses/OFL.txt</file>
<file>legal/DataProtection.txt</file>
@ -115,5 +108,13 @@
<file>assets/images/mask_workshop.png</file>
<file>assets/images/Untitled.png</file>
<file>assets/images/window.svg</file>
<file>translations/ScreenPlay_zh_cn.qm</file>
<file>translations/ScreenPlay_de.qm</file>
<file>translations/ScreenPlay_en.qm</file>
<file>translations/ScreenPlay_es.qm</file>
<file>translations/ScreenPlay_fr.qm</file>
<file>translations/ScreenPlay_ko.qm</file>
<file>translations/ScreenPlay_ru.qm</file>
<file>translations/ScreenPlay_vi.qm</file>
</qresource>
</RCC>

View File

@ -151,20 +151,18 @@ void App::init()
m_telemetry->startSession();
m_telemetry->sendEvent("version", QApplication::applicationVersion());
#ifdef Q_OS_WIN
sentry_options_t* options = sentry_options_new();
sentry_options_set_dsn(options, "https://425ea0b77def4f91a5a9decc01b36ff4@o428218.ingest.sentry.io/5373419");
QString executableSuffix;
#ifdef Q_OS_WIN
executableSuffix = ".exe";
#endif
const QString appPath = QGuiApplication::applicationDirPath();
sentry_options_set_handler_path(options, QString(appPath + "/crashpad_handler" + executableSuffix).toStdString().c_str());
sentry_options_set_handler_path(options, QString(appPath + "/crashpad_handler.exe").toStdString().c_str());
sentry_options_set_database_path(options, appPath.toStdString().c_str());
const int sentryInitStatus = sentry_init(options);
if (sentryInitStatus != 0) {
qWarning() << "Unable to inti sentry crashhandler with statuscode: " << sentryInitStatus;
}
#endif
}
m_create = make_unique<Create>(m_globalVariables);

View File

@ -60,8 +60,9 @@
#include "src/util.h"
#include "ganalytics.h"
#ifdef Q_OS_WIN
#include <sentry.h>
#endif
class ScreenPlayWorkshopPlugin;
namespace ScreenPlay {

View File

@ -35,8 +35,9 @@
#include "app.h"
#include <QApplication>
#include <QDebug>
#ifdef Q_OS_WIN
#include <sentry.h>
#endif
int main(int argc, char* argv[])
{
@ -59,7 +60,9 @@ int main(int argc, char* argv[])
app.init();
const int status = qtGuiApp.exec();
#ifdef Q_OS_WIN
sentry_shutdown();
#endif
return status;
}
}

View File

@ -166,6 +166,9 @@ Item {
}, {
"value": Settings.De,
"text": qsTr("German")
}, {
"value": Settings.Zh_CN,
"text": qsTr("Chinese - Simplified")
}, {
"value": Settings.Ru,
"text": qsTr("Russian")

View File

@ -69,7 +69,7 @@ struct SettingsItem {
QString m_type;
public:
void SettingsItem::setValue(const QJsonObject& value)
void setValue(const QJsonObject& value)
{
m_value = value;
}

View File

@ -241,6 +241,7 @@ bool Settings::retranslateUI()
}
return true;
}
qWarning() << tsFile.fileName() << ", cannot be loaded width langCode " << langCode;
return false;
}
}

View File

@ -103,7 +103,8 @@ public:
Fr,
Es,
Ko,
Vi
Vi,
Zh_CN,
};
Q_ENUM(Language)

View File

@ -1027,67 +1027,67 @@ wenn Sie ScreenPlay über Steam! installiert haben
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="171"/>
<location filename="../qml/Settings/Settings.qml" line="174"/>
<source>Russian</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="174"/>
<location filename="../qml/Settings/Settings.qml" line="177"/>
<source>French</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="177"/>
<location filename="../qml/Settings/Settings.qml" line="180"/>
<source>Spanish</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="180"/>
<location filename="../qml/Settings/Settings.qml" line="183"/>
<source>Korean</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="183"/>
<location filename="../qml/Settings/Settings.qml" line="186"/>
<source>Vietnamese</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="191"/>
<location filename="../qml/Settings/Settings.qml" line="194"/>
<source>Theme</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="192"/>
<location filename="../qml/Settings/Settings.qml" line="195"/>
<source>Switch dark/light theme</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="206"/>
<location filename="../qml/Settings/Settings.qml" line="209"/>
<source>System Default</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="209"/>
<location filename="../qml/Settings/Settings.qml" line="212"/>
<source>Dark</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="212"/>
<location filename="../qml/Settings/Settings.qml" line="215"/>
<source>Light</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="222"/>
<location filename="../qml/Settings/Settings.qml" line="225"/>
<source>Performance</source>
<translation type="unfinished">Leistung</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="237"/>
<location filename="../qml/Settings/Settings.qml" line="240"/>
<source>Pause wallpaper video rendering while another app is in the foreground</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="238"/>
<location filename="../qml/Settings/Settings.qml" line="241"/>
<source>We disable the video rendering (not the audio!) for the best performance. If you have problem you can disable this behaviour here. Wallpaper restart required!</source>
<translation type="unfinished"></translation>
</message>
@ -1100,108 +1100,113 @@ wenn Sie ScreenPlay über Steam! installiert haben
<translation type="obsolete">Um deine Frameraten im Spiel zu maximieren, kannst du diese Einstellung aktivieren, um alle aktiven Wallpaper zu pausieren!</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="248"/>
<location filename="../qml/Settings/Settings.qml" line="171"/>
<source>Chinese - Simplified</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="251"/>
<source>Default Fill Mode</source>
<translation type="unfinished">Standard-Füllmodus</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="249"/>
<location filename="../qml/Settings/Settings.qml" line="252"/>
<source>Set this property to define how the video is scaled to fit the target area.</source>
<translation type="unfinished">Lege diese Eigenschaft fest, um zu definieren, wie das Video skaliert wird, damit es in den Zielbereich passt.</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="261"/>
<location filename="../qml/Settings/Settings.qml" line="264"/>
<source>Stretch</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="264"/>
<location filename="../qml/Settings/Settings.qml" line="267"/>
<source>Fill</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="267"/>
<location filename="../qml/Settings/Settings.qml" line="270"/>
<source>Contain</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="270"/>
<location filename="../qml/Settings/Settings.qml" line="273"/>
<source>Cover</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="273"/>
<location filename="../qml/Settings/Settings.qml" line="276"/>
<source>Scale-Down</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="283"/>
<location filename="../qml/Settings/Settings.qml" line="286"/>
<source>About</source>
<translation type="unfinished">Über</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="311"/>
<location filename="../qml/Settings/Settings.qml" line="314"/>
<source>Thank you for using ScreenPlay</source>
<translation type="unfinished">Danke, dass du ScreenPlay verwendest</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="326"/>
<location filename="../qml/Settings/Settings.qml" line="329"/>
<source>Hi, I&apos;m Elias Steurer also known as Kelteseth and I&apos;m the developer of ScreenPlay. Thank you for using my software. You can follow me to receive updates about ScreenPlay here:</source>
<translation type="unfinished">Moin, ich bin Elias Steurer, auch bekannt als Kelteseth und ich bin der Entwickler von ScreenPlay. Danke, dass du meine Software nutzt. Du kannst mir hier folgen, um Updates über ScreenPlay zu erhalten:</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="415"/>
<location filename="../qml/Settings/Settings.qml" line="418"/>
<source>Version</source>
<translation type="unfinished">Version</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="416"/>
<location filename="../qml/Settings/Settings.qml" line="419"/>
<source>ScreenPlay Build Version </source>
<translation type="unfinished">ScreenPlay-Build-Version </translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="418"/>
<location filename="../qml/Settings/Settings.qml" line="421"/>
<source>Open Changelog</source>
<translation type="unfinished">Changelog öffnen</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="425"/>
<location filename="../qml/Settings/Settings.qml" line="428"/>
<source>Third Party Software</source>
<translation type="unfinished">Software von Drittanbietern</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="426"/>
<location filename="../qml/Settings/Settings.qml" line="429"/>
<source>ScreenPlay would not be possible without the work of others. A big thank you to: </source>
<translation type="unfinished">ScreenPlay wäre ohne die Arbeit anderer nicht möglich. Ein großes Dankeschön dafür geht an: </translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="427"/>
<location filename="../qml/Settings/Settings.qml" line="430"/>
<source>Licenses</source>
<translation type="unfinished">Lizenzen</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="445"/>
<location filename="../qml/Settings/Settings.qml" line="447"/>
<location filename="../qml/Settings/Settings.qml" line="448"/>
<location filename="../qml/Settings/Settings.qml" line="450"/>
<source>Debug Messages</source>
<translation type="unfinished">Debugging-Meldungen</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="446"/>
<location filename="../qml/Settings/Settings.qml" line="449"/>
<source>If your ScreenPlay missbehaves this is a good way to look for answers. This shows all logs and warning during runtime.</source>
<translation type="unfinished">Wenn den ScreenPlay sich falsch verhält, ist hier eine gute Möglichkeit, nach Antworten zu suchen. Hier werden alle Protokolle und Warnungen während der Laufzeit angezeigt.</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="458"/>
<location filename="../qml/Settings/Settings.qml" line="461"/>
<source>Data Protection</source>
<translation type="unfinished">Datenschutz</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="459"/>
<location filename="../qml/Settings/Settings.qml" line="462"/>
<source>We use you data very carefully to improve ScreenPlay. We do not sell or share this (anonymous) information with others!</source>
<translation type="unfinished">Wir verwenden deine Daten sehr sorgfältig, um ScreenPlay zu verbessern. Wir verkaufen oder teilen diese (anonymen) Informationen nicht mit anderen!</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="460"/>
<location filename="../qml/Settings/Settings.qml" line="463"/>
<source>Privacy</source>
<translation type="unfinished">Datenschutz</translation>
</message>

View File

@ -722,7 +722,12 @@
<translation type="unfinished">Set the ScreenPlay userinterface Language</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="222"/>
<location filename="../qml/Settings/Settings.qml" line="171"/>
<source>Chinese - Simplified</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="225"/>
<source>Performance</source>
<translation type="unfinished"></translation>
</message>
@ -747,168 +752,168 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="171"/>
<location filename="../qml/Settings/Settings.qml" line="174"/>
<source>Russian</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="174"/>
<location filename="../qml/Settings/Settings.qml" line="177"/>
<source>French</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="177"/>
<location filename="../qml/Settings/Settings.qml" line="180"/>
<source>Spanish</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="180"/>
<location filename="../qml/Settings/Settings.qml" line="183"/>
<source>Korean</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="183"/>
<location filename="../qml/Settings/Settings.qml" line="186"/>
<source>Vietnamese</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="191"/>
<location filename="../qml/Settings/Settings.qml" line="194"/>
<source>Theme</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="192"/>
<location filename="../qml/Settings/Settings.qml" line="195"/>
<source>Switch dark/light theme</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="206"/>
<location filename="../qml/Settings/Settings.qml" line="209"/>
<source>System Default</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="209"/>
<location filename="../qml/Settings/Settings.qml" line="212"/>
<source>Dark</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="212"/>
<location filename="../qml/Settings/Settings.qml" line="215"/>
<source>Light</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="237"/>
<location filename="../qml/Settings/Settings.qml" line="240"/>
<source>Pause wallpaper video rendering while another app is in the foreground</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="238"/>
<location filename="../qml/Settings/Settings.qml" line="241"/>
<source>We disable the video rendering (not the audio!) for the best performance. If you have problem you can disable this behaviour here. Wallpaper restart required!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="248"/>
<location filename="../qml/Settings/Settings.qml" line="251"/>
<source>Default Fill Mode</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="249"/>
<location filename="../qml/Settings/Settings.qml" line="252"/>
<source>Set this property to define how the video is scaled to fit the target area.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="261"/>
<location filename="../qml/Settings/Settings.qml" line="264"/>
<source>Stretch</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="264"/>
<location filename="../qml/Settings/Settings.qml" line="267"/>
<source>Fill</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="267"/>
<location filename="../qml/Settings/Settings.qml" line="270"/>
<source>Contain</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="270"/>
<location filename="../qml/Settings/Settings.qml" line="273"/>
<source>Cover</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="273"/>
<location filename="../qml/Settings/Settings.qml" line="276"/>
<source>Scale-Down</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="283"/>
<location filename="../qml/Settings/Settings.qml" line="286"/>
<source>About</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="311"/>
<location filename="../qml/Settings/Settings.qml" line="314"/>
<source>Thank you for using ScreenPlay</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="326"/>
<location filename="../qml/Settings/Settings.qml" line="329"/>
<source>Hi, I&apos;m Elias Steurer also known as Kelteseth and I&apos;m the developer of ScreenPlay. Thank you for using my software. You can follow me to receive updates about ScreenPlay here:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="415"/>
<location filename="../qml/Settings/Settings.qml" line="418"/>
<source>Version</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="416"/>
<location filename="../qml/Settings/Settings.qml" line="419"/>
<source>ScreenPlay Build Version </source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="418"/>
<location filename="../qml/Settings/Settings.qml" line="421"/>
<source>Open Changelog</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="425"/>
<location filename="../qml/Settings/Settings.qml" line="428"/>
<source>Third Party Software</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="426"/>
<location filename="../qml/Settings/Settings.qml" line="429"/>
<source>ScreenPlay would not be possible without the work of others. A big thank you to: </source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="427"/>
<location filename="../qml/Settings/Settings.qml" line="430"/>
<source>Licenses</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="445"/>
<location filename="../qml/Settings/Settings.qml" line="447"/>
<location filename="../qml/Settings/Settings.qml" line="448"/>
<location filename="../qml/Settings/Settings.qml" line="450"/>
<source>Debug Messages</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="446"/>
<location filename="../qml/Settings/Settings.qml" line="449"/>
<source>If your ScreenPlay missbehaves this is a good way to look for answers. This shows all logs and warning during runtime.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="458"/>
<location filename="../qml/Settings/Settings.qml" line="461"/>
<source>Data Protection</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="459"/>
<location filename="../qml/Settings/Settings.qml" line="462"/>
<source>We use you data very carefully to improve ScreenPlay. We do not sell or share this (anonymous) information with others!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="460"/>
<location filename="../qml/Settings/Settings.qml" line="463"/>
<source>Privacy</source>
<translation type="unfinished"></translation>
</message>

View File

@ -1023,67 +1023,67 @@ si instaló ScreenPlay vía Steam!
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="171"/>
<location filename="../qml/Settings/Settings.qml" line="174"/>
<source>Russian</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="174"/>
<location filename="../qml/Settings/Settings.qml" line="177"/>
<source>French</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="177"/>
<location filename="../qml/Settings/Settings.qml" line="180"/>
<source>Spanish</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="180"/>
<location filename="../qml/Settings/Settings.qml" line="183"/>
<source>Korean</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="183"/>
<location filename="../qml/Settings/Settings.qml" line="186"/>
<source>Vietnamese</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="191"/>
<location filename="../qml/Settings/Settings.qml" line="194"/>
<source>Theme</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="192"/>
<location filename="../qml/Settings/Settings.qml" line="195"/>
<source>Switch dark/light theme</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="206"/>
<location filename="../qml/Settings/Settings.qml" line="209"/>
<source>System Default</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="209"/>
<location filename="../qml/Settings/Settings.qml" line="212"/>
<source>Dark</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="212"/>
<location filename="../qml/Settings/Settings.qml" line="215"/>
<source>Light</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="222"/>
<location filename="../qml/Settings/Settings.qml" line="225"/>
<source>Performance</source>
<translation type="unfinished">Rendimiento</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="237"/>
<location filename="../qml/Settings/Settings.qml" line="240"/>
<source>Pause wallpaper video rendering while another app is in the foreground</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="238"/>
<location filename="../qml/Settings/Settings.qml" line="241"/>
<source>We disable the video rendering (not the audio!) for the best performance. If you have problem you can disable this behaviour here. Wallpaper restart required!</source>
<translation type="unfinished"></translation>
</message>
@ -1096,108 +1096,113 @@ si instaló ScreenPlay vía Steam!
<translation type="obsolete">Para maximizar sus marcos dentro del juego, puede activar esta opción para detener todos los wallpaper activos!</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="248"/>
<location filename="../qml/Settings/Settings.qml" line="171"/>
<source>Chinese - Simplified</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="251"/>
<source>Default Fill Mode</source>
<translation type="unfinished">Modo de llenado por defecto</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="249"/>
<location filename="../qml/Settings/Settings.qml" line="252"/>
<source>Set this property to define how the video is scaled to fit the target area.</source>
<translation type="unfinished">Defina esta propiedad para definir cómo se escala el vídeo para que se ajuste al área de destino.</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="261"/>
<location filename="../qml/Settings/Settings.qml" line="264"/>
<source>Stretch</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="264"/>
<location filename="../qml/Settings/Settings.qml" line="267"/>
<source>Fill</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="267"/>
<location filename="../qml/Settings/Settings.qml" line="270"/>
<source>Contain</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="270"/>
<location filename="../qml/Settings/Settings.qml" line="273"/>
<source>Cover</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="273"/>
<location filename="../qml/Settings/Settings.qml" line="276"/>
<source>Scale-Down</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="283"/>
<location filename="../qml/Settings/Settings.qml" line="286"/>
<source>About</source>
<translation type="unfinished">Acerca de</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="311"/>
<location filename="../qml/Settings/Settings.qml" line="314"/>
<source>Thank you for using ScreenPlay</source>
<translation type="unfinished">Gracias por usar ScreenPlay</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="326"/>
<location filename="../qml/Settings/Settings.qml" line="329"/>
<source>Hi, I&apos;m Elias Steurer also known as Kelteseth and I&apos;m the developer of ScreenPlay. Thank you for using my software. You can follow me to receive updates about ScreenPlay here:</source>
<translation type="unfinished">Hola, soy Elias Steurer también conocido como Kelteseth y soy el desarrollador de ScreenPlay. Gracias por usar mi software. Puedes seguirme para recibir actualizaciones sobre ScreenPlay aquí:</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="415"/>
<location filename="../qml/Settings/Settings.qml" line="418"/>
<source>Version</source>
<translation type="unfinished">Versión</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="416"/>
<location filename="../qml/Settings/Settings.qml" line="419"/>
<source>ScreenPlay Build Version </source>
<translation type="unfinished">Versión de construcción de ScreenPlay </translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="418"/>
<location filename="../qml/Settings/Settings.qml" line="421"/>
<source>Open Changelog</source>
<translation type="unfinished">Registro de cambios abierto</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="425"/>
<location filename="../qml/Settings/Settings.qml" line="428"/>
<source>Third Party Software</source>
<translation type="unfinished">Software de terceros</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="426"/>
<location filename="../qml/Settings/Settings.qml" line="429"/>
<source>ScreenPlay would not be possible without the work of others. A big thank you to: </source>
<translation type="unfinished">ScreenPlay no sería posible sin el trabajo de otros. Muchas gracias a todos: </translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="427"/>
<location filename="../qml/Settings/Settings.qml" line="430"/>
<source>Licenses</source>
<translation type="unfinished">Licencias</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="445"/>
<location filename="../qml/Settings/Settings.qml" line="447"/>
<location filename="../qml/Settings/Settings.qml" line="448"/>
<location filename="../qml/Settings/Settings.qml" line="450"/>
<source>Debug Messages</source>
<translation type="unfinished">Mensajes de depuración</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="446"/>
<location filename="../qml/Settings/Settings.qml" line="449"/>
<source>If your ScreenPlay missbehaves this is a good way to look for answers. This shows all logs and warning during runtime.</source>
<translation type="unfinished">Si su ScreenPlay se comporta mal, esta es una buena manera de buscar respuestas. Esto muestra todos los registros y advertencias durante el tiempo de ejecución.</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="458"/>
<location filename="../qml/Settings/Settings.qml" line="461"/>
<source>Data Protection</source>
<translation type="unfinished">Protección de datos</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="459"/>
<location filename="../qml/Settings/Settings.qml" line="462"/>
<source>We use you data very carefully to improve ScreenPlay. We do not sell or share this (anonymous) information with others!</source>
<translation type="unfinished">Utilizamos sus datos con mucho cuidado para mejorar ScreenPlay. No vendemos ni compartimos esta información (anónima) con otros!</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="460"/>
<location filename="../qml/Settings/Settings.qml" line="463"/>
<source>Privacy</source>
<translation type="unfinished">Privacidad</translation>
</message>

View File

@ -1005,7 +1005,12 @@ si vous avez installé ScreenPlay via Steam !
<translation type="unfinished">Définir la langue de l&apos;interface utilisateur ScreenPlay</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="222"/>
<location filename="../qml/Settings/Settings.qml" line="171"/>
<source>Chinese - Simplified</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="225"/>
<source>Performance</source>
<translation type="unfinished">Performance</translation>
</message>
@ -1038,168 +1043,168 @@ si vous avez installé ScreenPlay via Steam !
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="171"/>
<location filename="../qml/Settings/Settings.qml" line="174"/>
<source>Russian</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="174"/>
<location filename="../qml/Settings/Settings.qml" line="177"/>
<source>French</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="177"/>
<location filename="../qml/Settings/Settings.qml" line="180"/>
<source>Spanish</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="180"/>
<location filename="../qml/Settings/Settings.qml" line="183"/>
<source>Korean</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="183"/>
<location filename="../qml/Settings/Settings.qml" line="186"/>
<source>Vietnamese</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="191"/>
<location filename="../qml/Settings/Settings.qml" line="194"/>
<source>Theme</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="192"/>
<location filename="../qml/Settings/Settings.qml" line="195"/>
<source>Switch dark/light theme</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="206"/>
<location filename="../qml/Settings/Settings.qml" line="209"/>
<source>System Default</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="209"/>
<location filename="../qml/Settings/Settings.qml" line="212"/>
<source>Dark</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="212"/>
<location filename="../qml/Settings/Settings.qml" line="215"/>
<source>Light</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="237"/>
<location filename="../qml/Settings/Settings.qml" line="240"/>
<source>Pause wallpaper video rendering while another app is in the foreground</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="238"/>
<location filename="../qml/Settings/Settings.qml" line="241"/>
<source>We disable the video rendering (not the audio!) for the best performance. If you have problem you can disable this behaviour here. Wallpaper restart required!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="248"/>
<location filename="../qml/Settings/Settings.qml" line="251"/>
<source>Default Fill Mode</source>
<translation type="unfinished">Mode de remplissage par défaut</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="249"/>
<location filename="../qml/Settings/Settings.qml" line="252"/>
<source>Set this property to define how the video is scaled to fit the target area.</source>
<translation type="unfinished">Définissez cette propriété pour définir la manière dont la vidéo est mise à l&apos;échelle pour s&apos;adapter à la zone cible.</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="261"/>
<location filename="../qml/Settings/Settings.qml" line="264"/>
<source>Stretch</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="264"/>
<location filename="../qml/Settings/Settings.qml" line="267"/>
<source>Fill</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="267"/>
<location filename="../qml/Settings/Settings.qml" line="270"/>
<source>Contain</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="270"/>
<location filename="../qml/Settings/Settings.qml" line="273"/>
<source>Cover</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="273"/>
<location filename="../qml/Settings/Settings.qml" line="276"/>
<source>Scale-Down</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="283"/>
<location filename="../qml/Settings/Settings.qml" line="286"/>
<source>About</source>
<translation type="unfinished">À propos de</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="311"/>
<location filename="../qml/Settings/Settings.qml" line="314"/>
<source>Thank you for using ScreenPlay</source>
<translation type="unfinished">Merci d&apos;utiliser ScreenPlay</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="326"/>
<location filename="../qml/Settings/Settings.qml" line="329"/>
<source>Hi, I&apos;m Elias Steurer also known as Kelteseth and I&apos;m the developer of ScreenPlay. Thank you for using my software. You can follow me to receive updates about ScreenPlay here:</source>
<translation type="unfinished">Bonjour, je suis Elias Steurer, aussi connu sous le nom de Kelteseth, et je suis le développeur de ScreenPlay. Merci d&apos;utiliser mon logiciel. Vous pouvez me suivre pour recevoir des mises à jour sur ScreenPlay ici :</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="415"/>
<location filename="../qml/Settings/Settings.qml" line="418"/>
<source>Version</source>
<translation type="unfinished">Version</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="416"/>
<location filename="../qml/Settings/Settings.qml" line="419"/>
<source>ScreenPlay Build Version </source>
<translation type="unfinished">Version de construction de ScreenPlay </translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="418"/>
<location filename="../qml/Settings/Settings.qml" line="421"/>
<source>Open Changelog</source>
<translation type="unfinished">Ouvrir le journal des modifications</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="425"/>
<location filename="../qml/Settings/Settings.qml" line="428"/>
<source>Third Party Software</source>
<translation type="unfinished">Logiciel tiers</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="426"/>
<location filename="../qml/Settings/Settings.qml" line="429"/>
<source>ScreenPlay would not be possible without the work of others. A big thank you to: </source>
<translation type="unfinished">ScreenPlay ne serait pas possible sans le travail des autres. Un grand merci à : </translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="427"/>
<location filename="../qml/Settings/Settings.qml" line="430"/>
<source>Licenses</source>
<translation type="unfinished">Licences</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="445"/>
<location filename="../qml/Settings/Settings.qml" line="447"/>
<location filename="../qml/Settings/Settings.qml" line="448"/>
<location filename="../qml/Settings/Settings.qml" line="450"/>
<source>Debug Messages</source>
<translation type="unfinished">Messages de débogage</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="446"/>
<location filename="../qml/Settings/Settings.qml" line="449"/>
<source>If your ScreenPlay missbehaves this is a good way to look for answers. This shows all logs and warning during runtime.</source>
<translation type="unfinished">Si votre ScreenPlay se comporte mal, c&apos;est une bonne façon de chercher des réponses. Ceci montre tous les journaux et les avertissements pendant l&apos;exécution.</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="458"/>
<location filename="../qml/Settings/Settings.qml" line="461"/>
<source>Data Protection</source>
<translation type="unfinished">Protection des données</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="459"/>
<location filename="../qml/Settings/Settings.qml" line="462"/>
<source>We use you data very carefully to improve ScreenPlay. We do not sell or share this (anonymous) information with others!</source>
<translation type="unfinished">Nous utilisons vos données avec beaucoup de soin pour améliorer le ScreenPlay. Nous ne vendons ni ne partageons ces informations (anonymes) avec d&apos;autres personnes !</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="460"/>
<location filename="../qml/Settings/Settings.qml" line="463"/>
<source>Privacy</source>
<translation type="unfinished">Confidentialité</translation>
</message>

View File

@ -948,67 +948,67 @@ Steam을 통해 설치하셨을때의 기본 위치입니다!
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="171"/>
<location filename="../qml/Settings/Settings.qml" line="174"/>
<source>Russian</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="174"/>
<location filename="../qml/Settings/Settings.qml" line="177"/>
<source>French</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="177"/>
<location filename="../qml/Settings/Settings.qml" line="180"/>
<source>Spanish</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="180"/>
<location filename="../qml/Settings/Settings.qml" line="183"/>
<source>Korean</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="183"/>
<location filename="../qml/Settings/Settings.qml" line="186"/>
<source>Vietnamese</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="191"/>
<location filename="../qml/Settings/Settings.qml" line="194"/>
<source>Theme</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="192"/>
<location filename="../qml/Settings/Settings.qml" line="195"/>
<source>Switch dark/light theme</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="206"/>
<location filename="../qml/Settings/Settings.qml" line="209"/>
<source>System Default</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="209"/>
<location filename="../qml/Settings/Settings.qml" line="212"/>
<source>Dark</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="212"/>
<location filename="../qml/Settings/Settings.qml" line="215"/>
<source>Light</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="222"/>
<location filename="../qml/Settings/Settings.qml" line="225"/>
<source>Performance</source>
<translation></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="237"/>
<location filename="../qml/Settings/Settings.qml" line="240"/>
<source>Pause wallpaper video rendering while another app is in the foreground</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="238"/>
<location filename="../qml/Settings/Settings.qml" line="241"/>
<source>We disable the video rendering (not the audio!) for the best performance. If you have problem you can disable this behaviour here. Wallpaper restart required!</source>
<translation type="unfinished"></translation>
</message>
@ -1021,108 +1021,113 @@ Steam을 통해 설치하셨을때의 기본 위치입니다!
<translation type="vanished"> , !</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="248"/>
<location filename="../qml/Settings/Settings.qml" line="171"/>
<source>Chinese - Simplified</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="251"/>
<source>Default Fill Mode</source>
<translation> </translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="249"/>
<location filename="../qml/Settings/Settings.qml" line="252"/>
<source>Set this property to define how the video is scaled to fit the target area.</source>
<translation> .</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="261"/>
<location filename="../qml/Settings/Settings.qml" line="264"/>
<source>Stretch</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="264"/>
<location filename="../qml/Settings/Settings.qml" line="267"/>
<source>Fill</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="267"/>
<location filename="../qml/Settings/Settings.qml" line="270"/>
<source>Contain</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="270"/>
<location filename="../qml/Settings/Settings.qml" line="273"/>
<source>Cover</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="273"/>
<location filename="../qml/Settings/Settings.qml" line="276"/>
<source>Scale-Down</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="283"/>
<location filename="../qml/Settings/Settings.qml" line="286"/>
<source>About</source>
<translation></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="311"/>
<location filename="../qml/Settings/Settings.qml" line="314"/>
<source>Thank you for using ScreenPlay</source>
<translation>ScreenPlay를 </translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="326"/>
<location filename="../qml/Settings/Settings.qml" line="329"/>
<source>Hi, I&apos;m Elias Steurer also known as Kelteseth and I&apos;m the developer of ScreenPlay. Thank you for using my software. You can follow me to receive updates about ScreenPlay here:</source>
<translation>, ScreenPlay를 , Kelteseth Elias Steurer입니다. . ScreenPlay의 :</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="415"/>
<location filename="../qml/Settings/Settings.qml" line="418"/>
<source>Version</source>
<translation></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="416"/>
<location filename="../qml/Settings/Settings.qml" line="419"/>
<source>ScreenPlay Build Version </source>
<translation>ScreenPlay </translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="418"/>
<location filename="../qml/Settings/Settings.qml" line="421"/>
<source>Open Changelog</source>
<translation> </translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="425"/>
<location filename="../qml/Settings/Settings.qml" line="428"/>
<source>Third Party Software</source>
<translation> </translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="426"/>
<location filename="../qml/Settings/Settings.qml" line="429"/>
<source>ScreenPlay would not be possible without the work of others. A big thank you to: </source>
<translation>ScreenPlay . : </translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="427"/>
<location filename="../qml/Settings/Settings.qml" line="430"/>
<source>Licenses</source>
<translation></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="445"/>
<location filename="../qml/Settings/Settings.qml" line="447"/>
<location filename="../qml/Settings/Settings.qml" line="448"/>
<location filename="../qml/Settings/Settings.qml" line="450"/>
<source>Debug Messages</source>
<translation> </translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="446"/>
<location filename="../qml/Settings/Settings.qml" line="449"/>
<source>If your ScreenPlay missbehaves this is a good way to look for answers. This shows all logs and warning during runtime.</source>
<translation>ScreenPlay가 , . .</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="458"/>
<location filename="../qml/Settings/Settings.qml" line="461"/>
<source>Data Protection</source>
<translation> </translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="459"/>
<location filename="../qml/Settings/Settings.qml" line="462"/>
<source>We use you data very carefully to improve ScreenPlay. We do not sell or share this (anonymous) information with others!</source>
<translation>ScreenPlay . !</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="460"/>
<location filename="../qml/Settings/Settings.qml" line="463"/>
<source>Privacy</source>
<translation> </translation>
</message>

View File

@ -1022,67 +1022,67 @@ ms), но есть и некоторые проприетарные, такие
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="171"/>
<location filename="../qml/Settings/Settings.qml" line="174"/>
<source>Russian</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="174"/>
<location filename="../qml/Settings/Settings.qml" line="177"/>
<source>French</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="177"/>
<location filename="../qml/Settings/Settings.qml" line="180"/>
<source>Spanish</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="180"/>
<location filename="../qml/Settings/Settings.qml" line="183"/>
<source>Korean</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="183"/>
<location filename="../qml/Settings/Settings.qml" line="186"/>
<source>Vietnamese</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="191"/>
<location filename="../qml/Settings/Settings.qml" line="194"/>
<source>Theme</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="192"/>
<location filename="../qml/Settings/Settings.qml" line="195"/>
<source>Switch dark/light theme</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="206"/>
<location filename="../qml/Settings/Settings.qml" line="209"/>
<source>System Default</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="209"/>
<location filename="../qml/Settings/Settings.qml" line="212"/>
<source>Dark</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="212"/>
<location filename="../qml/Settings/Settings.qml" line="215"/>
<source>Light</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="222"/>
<location filename="../qml/Settings/Settings.qml" line="225"/>
<source>Performance</source>
<translation type="unfinished">Производительность</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="237"/>
<location filename="../qml/Settings/Settings.qml" line="240"/>
<source>Pause wallpaper video rendering while another app is in the foreground</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="238"/>
<location filename="../qml/Settings/Settings.qml" line="241"/>
<source>We disable the video rendering (not the audio!) for the best performance. If you have problem you can disable this behaviour here. Wallpaper restart required!</source>
<translation type="unfinished"></translation>
</message>
@ -1095,108 +1095,113 @@ ms), но есть и некоторые проприетарные, такие
<translation type="obsolete">Чтобы максимизировать количество кадров в игре, вы можете включить эту настройку, чтобы поставить на паузу все активные обои!</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="248"/>
<location filename="../qml/Settings/Settings.qml" line="171"/>
<source>Chinese - Simplified</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="251"/>
<source>Default Fill Mode</source>
<translation type="unfinished">Режим заполнения по умолчанию</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="249"/>
<location filename="../qml/Settings/Settings.qml" line="252"/>
<source>Set this property to define how the video is scaled to fit the target area.</source>
<translation type="unfinished">Включите эту настройку, чтобы определить, как видео масштабируется в соответствии с целевой областью.</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="261"/>
<location filename="../qml/Settings/Settings.qml" line="264"/>
<source>Stretch</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="264"/>
<location filename="../qml/Settings/Settings.qml" line="267"/>
<source>Fill</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="267"/>
<location filename="../qml/Settings/Settings.qml" line="270"/>
<source>Contain</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="270"/>
<location filename="../qml/Settings/Settings.qml" line="273"/>
<source>Cover</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="273"/>
<location filename="../qml/Settings/Settings.qml" line="276"/>
<source>Scale-Down</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="283"/>
<location filename="../qml/Settings/Settings.qml" line="286"/>
<source>About</source>
<translation type="unfinished">О сайте</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="311"/>
<location filename="../qml/Settings/Settings.qml" line="314"/>
<source>Thank you for using ScreenPlay</source>
<translation type="unfinished">Спасибо за использование ScreenPlay</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="326"/>
<location filename="../qml/Settings/Settings.qml" line="329"/>
<source>Hi, I&apos;m Elias Steurer also known as Kelteseth and I&apos;m the developer of ScreenPlay. Thank you for using my software. You can follow me to receive updates about ScreenPlay here:</source>
<translation type="unfinished">Привет, я Elias Steurer, также известный как Kelteseth, и я разработчик ScreenPlay. Спасибо за использование моего программного обеспечения. Вы можете подписаться на меня, чтобы получать обновления о ScreenPlay:</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="415"/>
<location filename="../qml/Settings/Settings.qml" line="418"/>
<source>Version</source>
<translation type="unfinished">Версия</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="416"/>
<location filename="../qml/Settings/Settings.qml" line="419"/>
<source>ScreenPlay Build Version </source>
<translation type="unfinished">Версия сборки ScreenPlay </translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="418"/>
<location filename="../qml/Settings/Settings.qml" line="421"/>
<source>Open Changelog</source>
<translation type="unfinished">Открыть журнал изменений</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="425"/>
<location filename="../qml/Settings/Settings.qml" line="428"/>
<source>Third Party Software</source>
<translation type="unfinished">Стороннее ПО</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="426"/>
<location filename="../qml/Settings/Settings.qml" line="429"/>
<source>ScreenPlay would not be possible without the work of others. A big thank you to: </source>
<translation type="unfinished">ScreenPlay был бы невозможен без работы других. Большое спасибо: </translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="427"/>
<location filename="../qml/Settings/Settings.qml" line="430"/>
<source>Licenses</source>
<translation type="unfinished">Лицензии</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="445"/>
<location filename="../qml/Settings/Settings.qml" line="447"/>
<location filename="../qml/Settings/Settings.qml" line="448"/>
<location filename="../qml/Settings/Settings.qml" line="450"/>
<source>Debug Messages</source>
<translation type="unfinished">Отладочные сообщения</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="446"/>
<location filename="../qml/Settings/Settings.qml" line="449"/>
<source>If your ScreenPlay missbehaves this is a good way to look for answers. This shows all logs and warning during runtime.</source>
<translation type="unfinished">Если ваш ScreenPlay плохо себя ведет, это хороший способ поиска ответов. Он показывает все журналы и предупреждения во время работы.</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="458"/>
<location filename="../qml/Settings/Settings.qml" line="461"/>
<source>Data Protection</source>
<translation type="unfinished">Защита данных</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="459"/>
<location filename="../qml/Settings/Settings.qml" line="462"/>
<source>We use you data very carefully to improve ScreenPlay. We do not sell or share this (anonymous) information with others!</source>
<translation type="unfinished">Мы используем ваши данные очень тщательно, чтобы улучшить ScreenPlay. Мы не продаем и не делимся этой (анонимной) информацией с другими!</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="460"/>
<location filename="../qml/Settings/Settings.qml" line="463"/>
<source>Privacy</source>
<translation type="unfinished">Конфиденциальность</translation>
</message>

View File

@ -750,168 +750,182 @@
<translation>Tiếng Đc</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="171"/>
<location filename="../qml/Settings/Settings.qml" line="174"/>
<source>Russian</source>
<translation>Tiếng Nga</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="174"/>
<location filename="../qml/Settings/Settings.qml" line="177"/>
<source>French</source>
<translation>Tiếng Pháp</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="177"/>
<location filename="../qml/Settings/Settings.qml" line="180"/>
<source>Spanish</source>
<translation>Tiếng Tây Ban Nha</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="180"/>
<location filename="../qml/Settings/Settings.qml" line="183"/>
<source>Korean</source>
<translation>Tiếng Hàn Quốc</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="183"/>
<location filename="../qml/Settings/Settings.qml" line="186"/>
<source>Vietnamese</source>
<translation>Tiếng Việt</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="191"/>
<location filename="../qml/Settings/Settings.qml" line="194"/>
<source>Theme</source>
<translation>Chủ đ</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="192"/>
<location filename="../qml/Settings/Settings.qml" line="195"/>
<source>Switch dark/light theme</source>
<translation>Chuyển giữa chủ đ tối/sáng</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="206"/>
<location filename="../qml/Settings/Settings.qml" line="209"/>
<source>System Default</source>
<translation>Mặc đnh theo hệ thống</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="209"/>
<location filename="../qml/Settings/Settings.qml" line="212"/>
<source>Dark</source>
<translation>Tối</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="212"/>
<location filename="../qml/Settings/Settings.qml" line="215"/>
<source>Light</source>
<<<<<<< HEAD
<translation>Sáng</translation>
=======
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="237"/>
<location filename="../qml/Settings/Settings.qml" line="225"/>
<source>Performance</source>
<translation type="unfinished">Hiệu suất</translation>
>>>>>>> 3f4538e5af4aa747ec93387b1335aba2613cd473
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="240"/>
<source>Pause wallpaper video rendering while another app is in the foreground</source>
<translation>Tạm dừng hiện video khi những ng dụng khác đang toàn màn hình</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="238"/>
<location filename="../qml/Settings/Settings.qml" line="241"/>
<source>We disable the video rendering (not the audio!) for the best performance. If you have problem you can disable this behaviour here. Wallpaper restart required!</source>
<translation>Chúng tôi không hiện video (vẫn âm thanh!) cho một hiệu năng tốt nhất. Nếu bạn gặp sự cố bạn thể tắt tùy chọn này. Cần khởi đng lại hình nền!</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="248"/>
<location filename="../qml/Settings/Settings.qml" line="171"/>
<source>Chinese - Simplified</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="251"/>
<source>Default Fill Mode</source>
<translation>Chế đ phủ mặc đnh</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="249"/>
<location filename="../qml/Settings/Settings.qml" line="252"/>
<source>Set this property to define how the video is scaled to fit the target area.</source>
<translation>Đt thuộc tính này đ xác đnh cách chia tỷ lệ video đ phù hợp với màn hình.</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="261"/>
<location filename="../qml/Settings/Settings.qml" line="264"/>
<source>Stretch</source>
<translation>Kéo dãn</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="264"/>
<location filename="../qml/Settings/Settings.qml" line="267"/>
<source>Fill</source>
<translation>Lấp đy</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="267"/>
<location filename="../qml/Settings/Settings.qml" line="270"/>
<source>Contain</source>
<translation>Bên trong</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="270"/>
<location filename="../qml/Settings/Settings.qml" line="273"/>
<source>Cover</source>
<translation>Bọc</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="273"/>
<location filename="../qml/Settings/Settings.qml" line="276"/>
<source>Scale-Down</source>
<translation>Giảm đ phân giải</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="283"/>
<location filename="../qml/Settings/Settings.qml" line="286"/>
<source>About</source>
<translation>Về ng dụng</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="311"/>
<location filename="../qml/Settings/Settings.qml" line="314"/>
<source>Thank you for using ScreenPlay</source>
<translation>Cảm ơn bạn đã sử dụng ScreenPlay</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="326"/>
<location filename="../qml/Settings/Settings.qml" line="329"/>
<source>Hi, I&apos;m Elias Steurer also known as Kelteseth and I&apos;m the developer of ScreenPlay. Thank you for using my software. You can follow me to receive updates about ScreenPlay here:</source>
<translation>Chào, tôi Elias Steurer (hay còn đưc biết đến Kelteseth) tôi nhà phát triển của ScreenPlay. Cảm ơn ban đã sử dụng ng dụng của tôi. Bạn thể theo dõi tôi đây đ nhận tin tức về ScreenPlay:</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="415"/>
<location filename="../qml/Settings/Settings.qml" line="418"/>
<source>Version</source>
<translation>Phiên bản</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="416"/>
<location filename="../qml/Settings/Settings.qml" line="419"/>
<source>ScreenPlay Build Version </source>
<translation>Bản dựng của ScreenPlay </translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="418"/>
<location filename="../qml/Settings/Settings.qml" line="421"/>
<source>Open Changelog</source>
<translation>Mở changelog</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="425"/>
<location filename="../qml/Settings/Settings.qml" line="428"/>
<source>Third Party Software</source>
<translation>Những ng dụng của bên thứ ba</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="426"/>
<location filename="../qml/Settings/Settings.qml" line="429"/>
<source>ScreenPlay would not be possible without the work of others. A big thank you to: </source>
<translation>ScreenPlay sẽ không thể đưc néu như không việc làm của những người khác. Một sự cảm ơn to lớn cho: </translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="427"/>
<location filename="../qml/Settings/Settings.qml" line="430"/>
<source>Licenses</source>
<translation>Giấy phép</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="445"/>
<location filename="../qml/Settings/Settings.qml" line="447"/>
<location filename="../qml/Settings/Settings.qml" line="448"/>
<location filename="../qml/Settings/Settings.qml" line="450"/>
<source>Debug Messages</source>
<translation>Các ghi chú gỡ lỗi</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="446"/>
<location filename="../qml/Settings/Settings.qml" line="449"/>
<source>If your ScreenPlay missbehaves this is a good way to look for answers. This shows all logs and warning during runtime.</source>
<translation>Nếu ScreenPlay của bạn không hoạt đng bình thường thì đây cách tốt đ tìm ra câu trả lời. Cái này sẽ hiện tất cả các ghi chú cảnh báo trong lúc ng dụng chạy.</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="458"/>
<location filename="../qml/Settings/Settings.qml" line="461"/>
<source>Data Protection</source>
<translation>Bảo vệ dữ liệu</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="459"/>
<location filename="../qml/Settings/Settings.qml" line="462"/>
<source>We use you data very carefully to improve ScreenPlay. We do not sell or share this (anonymous) information with others!</source>
<translation>Chúng tôi dùng dữ liệu của bạn rất cẩn thận đ cải thiện ScreenPlay. Chúng tôi không bán thông tin của bạn với người khác!</translation>
</message>
<message>
<location filename="../qml/Settings/Settings.qml" line="460"/>
<location filename="../qml/Settings/Settings.qml" line="463"/>
<source>Privacy</source>
<translation>Quyền riêng </translation>
</message>

Binary file not shown.

View File

@ -1,5 +1,3 @@
cmake_minimum_required(VERSION 3.17 )
project(ScreenPlaySDK LANGUAGES CXX)
set(CMAKE_AUTORCC ON)

View File

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.17 )
project(ScreenPlayShader LANGUAGES CXX)

View File

@ -1,4 +1,3 @@
cmake_minimum_required(VERSION 3.17 )
project(ScreenPlaySysInfo LANGUAGES CXX)

View File

@ -1,4 +1,3 @@
cmake_minimum_required(VERSION 3.17 )
project(ScreenPlayWallpaper LANGUAGES CXX)

View File

@ -1,37 +1,5 @@
#include "linuxwindow.h"
#include <X11/Xatom.h>
#include <X11/Xlib.h>
#include <X11/Xproto.h>
#include <X11/Xutil.h>
#include <signal.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <unistd.h>
#define WIDTH 512
#define HEIGHT 384
#define OPAQUE 0xffffffff
#define NAME "xwinwrap"
#define ATOM(a) XInternAtom(display, #a, False)
/*
*
*
*
* This code is non functional only here for testing!
*
*
*
*/
LinuxWindow::LinuxWindow(QVector<int> activeScreensList, QString projectPath, QString id, QString volume, const QString fillmode, const bool checkWallpaperVisible, QObject* parent)
: BaseWindow(projectPath, activeScreensList, checkWallpaperVisible)
@ -74,101 +42,7 @@ LinuxWindow::LinuxWindow(QVector<int> activeScreensList, QString projectPath, QS
m_window.setTextRenderType(QQuickWindow::TextRenderType::NativeTextRendering);
m_window.setSource(QUrl("qrc:/mainWindow.qml"));
Window window = m_window.winId();
Display* display = XOpenDisplay("");
XSetWindowAttributes attrs = { ParentRelative, 0L, 0, 0L, 0, 0,
Always, 0L, 0L, False, StructureNotifyMask | ExposureMask | ButtonPressMask | ButtonReleaseMask, 0L, False, 0, 0 };
XWMHints wmHint;
Atom xa;
int flags;
flags |= CWBorderPixel | CWColormap;
XChangeWindowAttributes(display, window, flags, &attrs);
wmHint.flags = InputHint | StateHint;
wmHint.input = true;
wmHint.initial_state = WithdrawnState;
XSetWMProperties(display, window, NULL, NULL, NULL,
0, NULL, &wmHint, NULL);
xa = ATOM(_NET_WM_WINDOW_TYPE);
Atom prop;
xa = ATOM(_MOTIF_WM_HINTS);
if (xa != None) {
long prop[5] = { 2, 0, 0, 0, 0 };
XChangeProperty(display, window, xa, xa, 32,
PropModeReplace, (unsigned char*)prop, 5);
}
xa = ATOM(_NET_WM_STATE);
if (xa != None) {
Atom xa_prop = ATOM(_NET_WM_STATE_BELOW);
XChangeProperty(display, window, xa, XA_ATOM, 32,
PropModeAppend, (unsigned char*)&xa_prop, 1);
}
xa = ATOM(_NET_WM_DESKTOP);
if (xa != None) {
CARD32 xa_prop = 0xFFFFFFFF;
XChangeProperty(display, window, xa, XA_CARDINAL, 32,
PropModeAppend, (unsigned char*)&xa_prop, 1);
}
xa = ATOM(_NET_WM_STATE);
if (xa != None) {
Atom xa_prop = ATOM(_NET_WM_STATE_STICKY);
XChangeProperty(display, window, xa, XA_ATOM, 32,
PropModeAppend, (unsigned char*)&xa_prop, 1);
}
xa = ATOM(_NET_WM_STATE);
if (xa != None) {
Atom xa_prop = ATOM(_NET_WM_STATE_SKIP_TASKBAR);
XChangeProperty(display, window, xa, XA_ATOM, 32,
PropModeAppend, (unsigned char*)&xa_prop, 1);
}
xa = ATOM(_NET_WM_STATE);
if (xa != None) {
Atom xa_prop = ATOM(_NET_WM_STATE_SKIP_PAGER);
XChangeProperty(display, window, xa, XA_ATOM, 32,
PropModeAppend, (unsigned char*)&xa_prop, 1);
}
XMapWindow(display, window);
XSync(display, window);
/*QObject::connect(&m_checkForFullScreenWindowTimer, &QTimer::timeout, this, &WinWindow::checkForFullScreenWindow);
if (checkWallpaperVisible) {
m_checkForFullScreenWindowTimer.start(10);
}
QTimer::singleShot(1000, [this]() {
setupWindowMouseHook();
});*/
/*********/
/*bool ok = false;
float volumeParsed = volume.toFloat(&ok);
if (!ok) {
qFatal("Could not parse volume");
}
setVolume(volumeParsed);
// WARNING: Setting Window flags must be called *here*!
Qt::WindowFlags flags = m_window.flags();
@ -179,7 +53,7 @@ LinuxWindow::LinuxWindow(QVector<int> activeScreensList, QString projectPath, QS
// Instead of setting "renderType: Text.NativeRendering" every time
// we can set it here once :)
m_window.setTextRenderType(QQuickWindow::TextRenderType::NativeTextRendering);
m_window.setSource(QUrl("qrc:/Wallpaper.qml"));*/
m_window.setSource(QUrl("qrc:/Wallpaper.qml"));
}
void LinuxWindow::setupWallpaperForOneScreen(int activeScreen)

View File

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.17 )
project(ScreenPlayWidget LANGUAGES CXX)