usable
This commit is contained in:
@@ -13,6 +13,10 @@ Rectangle {
|
||||
|
||||
id: leftRect
|
||||
|
||||
property real reserve: width
|
||||
|
||||
required property QsWindow window
|
||||
|
||||
implicitHeight: parent.height
|
||||
|
||||
implicitWidth: 40
|
||||
@@ -34,5 +38,25 @@ Rectangle {
|
||||
Layout.alignment: Qt.AlignHCenter | Qt.AlignTop
|
||||
}
|
||||
|
||||
IdleInhibitor {
|
||||
x: parent.width / 2 - width / 2
|
||||
y: battery.y - height - 20
|
||||
id: idleInhibitor
|
||||
}
|
||||
|
||||
Battery {
|
||||
id: battery
|
||||
x: parent.width / 2 - width / 2
|
||||
y: tray.y - height - 20
|
||||
}
|
||||
|
||||
Tray {
|
||||
id: tray
|
||||
x: parent.width / 2 - width / 2
|
||||
y: leftRect.y + leftRect.height - height - 100
|
||||
window: leftRect.window
|
||||
popupOffset: x + leftRect.width
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user