diff --git a/KomplexHubModule/CMakeLists.txt b/KomplexHubModule/CMakeLists.txt index 3caf62f..17c4c5c 100644 --- a/KomplexHubModule/CMakeLists.txt +++ b/KomplexHubModule/CMakeLists.txt @@ -13,9 +13,9 @@ qt6_add_qml_module(KomplexHubModule RESOURCE_PREFIX "/qt/qml" QML_FILES "Constants.qml" - "EventListModel.qml" - "EventListSimulator.qml" - "WallpaperModelData.qml" + + + ) set_target_properties(KomplexHubModule PROPERTIES VERSION "1.0") diff --git a/KomplexHubModule/Constants.qml b/KomplexHubModule/Constants.qml index f9bd061..b69797d 100644 --- a/KomplexHubModule/Constants.qml +++ b/KomplexHubModule/Constants.qml @@ -1,8 +1,27 @@ +/* + * Komplex Wallpaper Engine + * Copyright (C) 2026 @DigitalArtifex + * https://digitalartifex.dev - https://github.com/DigitalArtifex + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see + */ pragma Singleton import QtQuick import QtQuick.Studio.Application -QtObject { +QtObject +{ readonly property int width: 1920 readonly property int height: 1080 @@ -62,8 +81,4 @@ QtObject { readonly property int slowAnimationDuration: 750 readonly property int normalAnimationDuration: 250 readonly property int fastAnimationDuration: 125 - - // property StudioApplication application: StudioApplication { - // fontPath: Qt.resolvedUrl("../KomplexHubContent/" + relativeFontDirectory) - // } } diff --git a/KomplexHubModule/EventListModel.qml b/KomplexHubModule/EventListModel.qml deleted file mode 100644 index 00c7065..0000000 --- a/KomplexHubModule/EventListModel.qml +++ /dev/null @@ -1,12 +0,0 @@ -import QtQuick - -ListModel { - id: eventListModel - - ListElement { - eventId: "enterPressed" - eventDescription: "Emitted when pressing the enter button" - shortcut: "Return" - parameters: "Enter" - } -} diff --git a/KomplexHubModule/EventListSimulator.qml b/KomplexHubModule/EventListSimulator.qml deleted file mode 100644 index d26ae6d..0000000 --- a/KomplexHubModule/EventListSimulator.qml +++ /dev/null @@ -1,22 +0,0 @@ -import QtQuick -import QtQuick.Studio.EventSimulator -import QtQuick.Studio.EventSystem - -QtObject { - id: simulator - property bool active: true - - property Timer __timer: Timer { - id: timer - interval: 100 - onTriggered: { - EventSimulator.show() - } - } - - Component.onCompleted: { - EventSystem.init(Qt.resolvedUrl("EventListModel.qml")) - if (simulator.active) - timer.start() - } -} diff --git a/KomplexHubModule/WallpaperModelData.qml b/KomplexHubModule/WallpaperModelData.qml deleted file mode 100644 index 435c388..0000000 --- a/KomplexHubModule/WallpaperModelData.qml +++ /dev/null @@ -1,67 +0,0 @@ -import QtQuick -import QtQuick.Controls - -ListModel { - ListElement { - author: "Wizmart" - name: "Some cool name 1" - description: "This is not a real wallpaper or person" - thumbnail: "" - uuid: "{aafd-311-afaa}" - url: "" - } - - ListElement { - author: "Wizmart" - name: "Some cool name 2" - description: "This is not a real wallpaper or person" - thumbnail: "" - uuid: "{aafd-311-afaa}" - url: "" - } - - ListElement { - author: "Wizmart" - name: "Some cool name 3" - description: "This is not a real wallpaper or person" - thumbnail: "" - uuid: "{aafd-311-afaa}" - url: "" - } - - ListElement { - author: "Wizmart" - name: "Some cool name 4" - description: "This is not a real wallpaper or person" - thumbnail: "" - uuid: "{aafd-311-afaa}" - url: "" - } - - ListElement { - author: "Wizmart" - name: "Some cool name 5" - description: "This is not a real wallpaper or person" - thumbnail: "" - uuid: "{aafd-311-afaa}" - url: "" - } - - ListElement { - author: "Wizmart" - name: "Some cool name 6" - description: "This is not a real wallpaper or person" - thumbnail: "" - uuid: "{aafd-311-afaa}" - url: "" - } - - ListElement { - author: "Wizmart" - name: "Some cool name 7" - description: "This is not a real wallpaper or person" - thumbnail: "" - uuid: "{aafd-311-afaa}" - url: "" - } -}