mirror of
https://git.outfoxxed.me/quickshell/quickshell.git
synced 2026-04-10 06:11:54 +10:00
42 lines
843 B
QML
42 lines
843 B
QML
import QtQuick
|
|
import QtQuick.Layouts
|
|
import QtQuick.Controls.Fusion
|
|
import Quickshell
|
|
|
|
Scope {
|
|
FloatingWindow {
|
|
id: control
|
|
color: contentItem.palette.window
|
|
ColumnLayout {
|
|
CheckBox {
|
|
id: parentCb
|
|
text: "Show parent"
|
|
}
|
|
|
|
CheckBox {
|
|
id: dialogCb
|
|
text: "Show dialog"
|
|
}
|
|
}
|
|
}
|
|
|
|
FloatingWindow {
|
|
id: parentw
|
|
Text {
|
|
text: "parent"
|
|
}
|
|
visible: parentCb.checked
|
|
color: contentItem.palette.window
|
|
|
|
FloatingWindow {
|
|
id: dialog
|
|
parentWindow: parentw
|
|
visible: dialogCb.checked
|
|
color: contentItem.palette.window
|
|
|
|
Text {
|
|
text: "dialog"
|
|
}
|
|
}
|
|
}
|
|
}
|