add tray items, no menu
This commit is contained in:
parent
f6eab13094
commit
0d9392b744
6 changed files with 131 additions and 0 deletions
18
modules/bar/components/tray/menu/MenuItem.qml
Normal file
18
modules/bar/components/tray/menu/MenuItem.qml
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
import QtQuick
|
||||
import QtQuick.Layouts
|
||||
import Quickshell
|
||||
import "../../../../../styled/"
|
||||
|
||||
Clickable {
|
||||
id: item
|
||||
property QsMenuEntry menuEntry
|
||||
|
||||
implicitWidth: text.width
|
||||
|
||||
Text {
|
||||
id: text
|
||||
text: item.menuEntry.text
|
||||
|
||||
padding: 8
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue