diff options
| author | ATMDA <atdma2600@gmail.com> | 2025-11-13 16:56:49 -0500 |
|---|---|---|
| committer | ATMDA <atdma2600@gmail.com> | 2025-11-13 16:56:49 -0500 |
| commit | baa10d6ccfe8ad03a8832c4a43179c21020997ab (patch) | |
| tree | ba74b57591ccc83e5311e4cb89b3d75f8f27e4c4 /modules/controlcenter/dev/DevSession.qml | |
| parent | controlcenter: wireless debug removal (preparing for rewrite) (diff) | |
| download | caelestia-shell-baa10d6ccfe8ad03a8832c4a43179c21020997ab.tar.gz caelestia-shell-baa10d6ccfe8ad03a8832c4a43179c21020997ab.tar.bz2 caelestia-shell-baa10d6ccfe8ad03a8832c4a43179c21020997ab.zip | |
controlcenter: created dev panel for wireless testing
Diffstat (limited to 'modules/controlcenter/dev/DevSession.qml')
| -rw-r--r-- | modules/controlcenter/dev/DevSession.qml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/modules/controlcenter/dev/DevSession.qml b/modules/controlcenter/dev/DevSession.qml new file mode 100644 index 0000000..d911386 --- /dev/null +++ b/modules/controlcenter/dev/DevSession.qml @@ -0,0 +1,23 @@ +import QtQuick + +QtObject { + readonly property list<string> panes: ["wireless", "debug"] + + required property var root + property bool floating: false + property string active: panes[0] + property int activeIndex: 0 + property bool navExpanded: false + + component Network: QtObject { + property var active + property bool showPasswordDialog: false + property var pendingNetwork + } + + readonly property Network network: Network {} + + onActiveChanged: activeIndex = panes.indexOf(active) + onActiveIndexChanged: active = panes[activeIndex] +} + |