feat: rename Game Bar to Quickpanel and support DMS 2.0
This commit is contained in:
27 files changed
+158
-145
No files matched your search
@@ -2,14 +2,14 @@ import QtQuick
|
||||
import Quickshell
|
||||
import qs.Common
|
||||
import qs.Services
|
||||
import qs.Widgets
|
||||
import qs.DCommon.Widgets
|
||||
|
||||
Item {
|
||||
id: haSettings
|
||||
|
||||
property var settings: null
|
||||
|
||||
readonly property var daemon: (typeof PluginService !== "undefined" && PluginService.pluginInstances) ? PluginService.pluginInstances["gameBar"] : null
|
||||
readonly property var daemon: PluginService.pluginDaemonInstances["quickpanel"] || null
|
||||
readonly property var service: daemon ? daemon.homeService : null
|
||||
readonly property var entityList: service ? service.entityList : []
|
||||
|
||||
@@ -122,7 +122,7 @@ Item {
|
||||
elide: Text.ElideRight
|
||||
}
|
||||
|
||||
DankButton {
|
||||
DButton {
|
||||
id: refreshButton
|
||||
|
||||
text: "Refresh"
|
||||
@@ -132,7 +132,7 @@ Item {
|
||||
}
|
||||
}
|
||||
|
||||
DankTextField {
|
||||
DTextField {
|
||||
width: parent.width
|
||||
placeholderText: "Filter entities (e.g. light, kitchen)"
|
||||
leftIconName: "search"
|
||||
@@ -151,7 +151,7 @@ Item {
|
||||
border.width: Theme.layerOutlineWidth
|
||||
visible: haSettings.entityList.length > 0
|
||||
|
||||
DankListView {
|
||||
DListView {
|
||||
id: entityListView
|
||||
|
||||
anchors.fill: parent
|
||||
@@ -198,7 +198,7 @@ Item {
|
||||
}
|
||||
}
|
||||
|
||||
DankToggle {
|
||||
DToggle {
|
||||
id: pickToggle
|
||||
|
||||
anchors.right: parent.right
|
||||
|
||||
Reference in new issue
Block a user