add slide-in applet dock with collapsible cards, edge trigger, and bar module toggle
This commit is contained in:
parent
6fd36c812f
commit
c22eb51dcd
14 changed files with 689 additions and 14 deletions
15
shell/modules/DockModule.qml
Normal file
15
shell/modules/DockModule.qml
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
import QtQuick
|
||||
import "." as M
|
||||
import "../services" as S
|
||||
import "../dock" as D
|
||||
|
||||
M.BarModule {
|
||||
id: root
|
||||
tooltip: D.DockState.open ? "Close dock" : "Open dock"
|
||||
onTapped: D.DockState.toggle()
|
||||
|
||||
M.BarIcon {
|
||||
icon: D.DockState.open ? "\uDB80\uDD8B" : "\uDB80\uDD89"
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue