summaryrefslogtreecommitdiff
path: root/modules/controlcenter/dev/DevWindowFactory.qml
diff options
context:
space:
mode:
Diffstat (limited to 'modules/controlcenter/dev/DevWindowFactory.qml')
-rw-r--r--modules/controlcenter/dev/DevWindowFactory.qml62
1 files changed, 0 insertions, 62 deletions
diff --git a/modules/controlcenter/dev/DevWindowFactory.qml b/modules/controlcenter/dev/DevWindowFactory.qml
deleted file mode 100644
index 5682588..0000000
--- a/modules/controlcenter/dev/DevWindowFactory.qml
+++ /dev/null
@@ -1,62 +0,0 @@
-pragma Singleton
-
-import "."
-import qs.components
-import qs.services
-import Quickshell
-import QtQuick
-
-Singleton {
- id: root
-
- function create(parent: Item, props: var): void {
- devControlCenter.createObject(parent ?? dummy, props);
- }
-
- QtObject {
- id: dummy
- }
-
- Component {
- id: devControlCenter
-
- FloatingWindow {
- id: win
-
- property alias active: cc.active
- property alias navExpanded: cc.navExpanded
-
- color: Colours.tPalette.m3surface
-
- onVisibleChanged: {
- if (!visible)
- destroy();
- }
-
- minimumSize.width: 1000
- minimumSize.height: 600
-
- implicitWidth: cc.implicitWidth
- implicitHeight: cc.implicitHeight
-
- title: qsTr("Dev Panel - Wireless")
-
- DevControlCenter {
- id: cc
-
- anchors.fill: parent
- screen: win.screen
- floating: true
-
- function close(): void {
- win.destroy();
- }
- }
-
- Behavior on color {
- CAnim {}
- }
- }
- }
-}
-