Changeset View
Changeset View
Standalone View
Standalone View
applets/batterymonitor/package/contents/ui/PowerManagementItem.qml
Show First 20 Lines • Show All 68 Lines • ▼ Show 20 Line(s) | 49 | RowLayout { | |||
---|---|---|---|---|---|
69 | Components.Label { | 69 | Components.Label { | ||
70 | Layout.fillWidth: true | 70 | Layout.fillWidth: true | ||
71 | text: i18n("Enable Power Management") | 71 | text: i18n("Enable Power Management") | ||
72 | } | 72 | } | ||
73 | } | 73 | } | ||
74 | } | 74 | } | ||
75 | 75 | | |||
76 | Components.ToolButton { | 76 | Components.ToolButton { | ||
77 | iconSource: "battery" | ||||
78 | onClicked: batterymonitor.action_energyinformationkcm() | ||||
79 | tooltip: i18n("Energy Information...") | ||||
80 | visible: batterymonitor.kcmsEnergyInformationAuthorized | ||||
81 | } | ||||
82 | | ||||
83 | Components.ToolButton { | ||||
77 | iconSource: "configure" | 84 | iconSource: "configure" | ||
78 | onClicked: batterymonitor.action_powerdevilkcm() | 85 | onClicked: batterymonitor.action_powerdevilkcm() | ||
79 | tooltip: i18n("Configure Power Saving...") | 86 | tooltip: i18n("Configure Power Saving...") | ||
80 | visible: batterymonitor.kcmsAuthorized | 87 | visible: batterymonitor.kcmsAuthorized | ||
81 | } | 88 | } | ||
82 | } | 89 | } | ||
83 | 90 | | |||
84 | Column { | 91 | Column { | ||
Show All 40 Lines |