1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-24 21:42:51 -05:00

Add support for plugin registry + install + management

This commit is contained in:
bbedward
2025-10-06 15:26:44 -04:00
parent 89793d2d62
commit 1e2489ca76
9 changed files with 968 additions and 34 deletions

View File

@@ -167,12 +167,24 @@ PanelWindow {
y: root.shouldBeVisible ? 0 : -30
}
Loader {
id: contentLoader
FocusScope {
anchors.fill: parent
active: root.keepContentLoaded || root.shouldBeVisible || root.visible
asynchronous: false
focus: root.shouldBeVisible
Loader {
id: contentLoader
anchors.fill: parent
active: root.keepContentLoaded || root.shouldBeVisible || root.visible
asynchronous: false
focus: true
onLoaded: {
if (item) {
Qt.callLater(() => item.forceActiveFocus())
}
}
}
}
layer.effect: MultiEffect {

View File

@@ -2,11 +2,12 @@ import QtQuick
import qs.Common
import qs.Modules.Settings
Item {
FocusScope {
id: root
property int currentIndex: 0
property var parentModal: null
focus: true
Rectangle {
anchors.fill: parent
@@ -163,6 +164,7 @@ Item {
asynchronous: true
sourceComponent: PluginsTab {
parentModal: root.parentModal
}
}

View File

@@ -115,7 +115,7 @@ DankModal {
}
settingsContent: Component {
Item {
FocusScope {
anchors.fill: parent
focus: true