reload-popup: add example
This commit is contained in:
parent
7d0bfb6b61
commit
c30a4faf18
5 changed files with 165 additions and 0 deletions
25
reload-popup/shell.qml
Normal file
25
reload-popup/shell.qml
Normal file
|
@ -0,0 +1,25 @@
|
|||
import QtQuick
|
||||
import Quickshell
|
||||
|
||||
ShellRoot {
|
||||
// Add the popup to the shell.
|
||||
ReloadPopup {}
|
||||
|
||||
// The rest of your shell, in this case a very simple bar.
|
||||
// Try editing this.
|
||||
PanelWindow {
|
||||
anchors {
|
||||
left: true
|
||||
top: true
|
||||
right: true
|
||||
}
|
||||
|
||||
height: 30
|
||||
|
||||
Text {
|
||||
anchors.centerIn: parent
|
||||
text: "I'm a bar!"
|
||||
an error
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue