mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
Add battery icon
This commit is contained in:
parent
20840f27b7
commit
5ae2e2e56d
1 changed files with 11 additions and 0 deletions
|
|
@ -24,6 +24,7 @@ import org.kde.plasma.core 2.0 as PlasmaCore
|
|||
import org.kde.plasma.shell 2.0 as Shell
|
||||
import org.kde.satellite.components 0.1 as SatelliteComponents
|
||||
import org.kde.plasma.components 2.0 as PlasmaComponents
|
||||
import org.kde.plasma.workspace.components 2.0 as PlasmaWorkspace
|
||||
import org.nemomobile.voicecall 1.0
|
||||
import MeeGo.QOfono 0.2
|
||||
import "../components"
|
||||
|
|
@ -349,6 +350,16 @@ Item {
|
|||
}
|
||||
onReleased: slidingPanel.updateState();
|
||||
}
|
||||
|
||||
PlasmaWorkspace.BatteryIcon {
|
||||
id: batteryIcon
|
||||
anchors {
|
||||
right: parent.right
|
||||
verticalCenter: parent.verticalCenter
|
||||
}
|
||||
width: units.iconSizes.small
|
||||
height: width
|
||||
}
|
||||
}
|
||||
|
||||
SlidingPanel {
|
||||
|
|
|
|||
Loading…
Reference in a new issue