Changeset View
Changeset View
Standalone View
Standalone View
lookandfeel/contents/components/Battery.qml
Show First 20 Lines • Show All 41 Lines • ▼ Show 20 Line(s) | 36 | PW.BatteryIcon { | |||
---|---|---|---|---|---|
42 | height: batteryLabel.height | 42 | height: batteryLabel.height | ||
43 | width: height | 43 | width: height | ||
44 | } | 44 | } | ||
45 | 45 | | |||
46 | PlasmaComponents.Label { | 46 | PlasmaComponents.Label { | ||
47 | id: batteryLabel | 47 | id: batteryLabel | ||
48 | height: undefined | 48 | height: undefined | ||
49 | text: i18nd("plasma_lookandfeel_org.kde.lookandfeel","%1%", battery.percent) | 49 | text: i18nd("plasma_lookandfeel_org.kde.lookandfeel","%1%", battery.percent) | ||
50 | Accessible.name: i18nd("plasma_lookandfeel_org.kde.lookandfeel","Battery at %1%", battery.percent) | ||||
50 | } | 51 | } | ||
51 | } | 52 | } |