controlcenter: corrected index of panes
This commit is contained in:
parent
28ebba0c1b
commit
ebc2772b3e
2 changed files with 7 additions and 22 deletions
|
|
@ -1,6 +1,5 @@
|
||||||
pragma ComponentBehavior: Bound
|
pragma ComponentBehavior: Bound
|
||||||
|
|
||||||
import "ethernet"
|
|
||||||
import "bluetooth"
|
import "bluetooth"
|
||||||
import "network"
|
import "network"
|
||||||
import "audio"
|
import "audio"
|
||||||
|
|
@ -29,60 +28,46 @@ ClippingRectangle {
|
||||||
|
|
||||||
Pane {
|
Pane {
|
||||||
index: 0
|
index: 0
|
||||||
sourceComponent: EthernetPane {
|
sourceComponent: NetworkingPane {
|
||||||
session: root.session
|
session: root.session
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Pane {
|
Pane {
|
||||||
index: 1
|
index: 1
|
||||||
sourceComponent: WirelessPane {
|
|
||||||
session: root.session
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
Pane {
|
|
||||||
index: 2
|
|
||||||
sourceComponent: BtPane {
|
sourceComponent: BtPane {
|
||||||
session: root.session
|
session: root.session
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Pane {
|
Pane {
|
||||||
index: 3
|
index: 2
|
||||||
sourceComponent: AudioPane {
|
sourceComponent: AudioPane {
|
||||||
session: root.session
|
session: root.session
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Pane {
|
Pane {
|
||||||
index: 4
|
index: 3
|
||||||
sourceComponent: AppearancePane {
|
sourceComponent: AppearancePane {
|
||||||
session: root.session
|
session: root.session
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Pane {
|
Pane {
|
||||||
index: 5
|
index: 4
|
||||||
sourceComponent: TaskbarPane {
|
sourceComponent: TaskbarPane {
|
||||||
session: root.session
|
session: root.session
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Pane {
|
Pane {
|
||||||
index: 6
|
index: 5
|
||||||
sourceComponent: LauncherPane {
|
sourceComponent: LauncherPane {
|
||||||
session: root.session
|
session: root.session
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Pane {
|
|
||||||
index: 7
|
|
||||||
sourceComponent: NetworkingPane {
|
|
||||||
session: root.session
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
Behavior on y {
|
Behavior on y {
|
||||||
Anim {}
|
Anim {}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -2,12 +2,12 @@ import Quickshell.Bluetooth
|
||||||
import QtQuick
|
import QtQuick
|
||||||
|
|
||||||
QtObject {
|
QtObject {
|
||||||
readonly property list<string> panes: ["ethernet", "wireless", "bluetooth", "audio", "appearance", "taskbar", "launcher", "networking"]
|
readonly property list<string> panes: ["networking", "bluetooth", "audio", "appearance", "taskbar", "launcher"]
|
||||||
|
|
||||||
required property var root
|
required property var root
|
||||||
property bool floating: false
|
property bool floating: false
|
||||||
property string active: "networking"
|
property string active: "networking"
|
||||||
property int activeIndex: 7
|
property int activeIndex: 0
|
||||||
property bool navExpanded: false
|
property bool navExpanded: false
|
||||||
|
|
||||||
readonly property Bt bt: Bt {}
|
readonly property Bt bt: Bt {}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue