diff --git a/applet/contents/ui/SwitchButton.qml b/applet/contents/ui/SwitchButton.qml --- a/applet/contents/ui/SwitchButton.qml +++ b/applet/contents/ui/SwitchButton.qml @@ -28,15 +28,15 @@ property alias icon: switchButtonIcon.source property alias checked: switchButtonCheckbox.checked property alias enabled: switchButtonCheckbox.enabled + property alias tooltip: switchButtonCheckbox.tooltip signal clicked height: switchButtonIcon.height + units.gridUnit / 2 width: switchButtonCheckbox.width + switchButtonIcon.width + units.gridUnit PlasmaComponents.CheckBox { id: switchButtonCheckbox - anchors { bottomMargin: Math.round(units.gridUnit / 3) left: parent.left diff --git a/applet/contents/ui/Toolbar.qml b/applet/contents/ui/Toolbar.qml --- a/applet/contents/ui/Toolbar.qml +++ b/applet/contents/ui/Toolbar.qml @@ -66,6 +66,7 @@ checked: enabled && enabledConnections.wirelessEnabled enabled: enabledConnections.wirelessHwEnabled && availableDevices.wirelessDeviceAvailable && !planeModeSwitchButton.airplaneModeEnabled + tooltip: i18n("Enable wireless") icon: enabled ? "network-wireless-on" : "network-wireless-off" visible: availableDevices.wirelessDeviceAvailable @@ -79,6 +80,7 @@ checked: enabled && enabledConnections.wwanEnabled enabled: enabledConnections.wwanHwEnabled && availableDevices.modemDeviceAvailable && !planeModeSwitchButton.airplaneModeEnabled + tooltip: i18n("Enable mobile network") icon: enabled ? "network-mobile-on" : "network-mobile-off" visible: availableDevices.modemDeviceAvailable @@ -93,6 +95,7 @@ property bool airplaneModeEnabled: false checked: airplaneModeEnabled + tooltip: i18n("Enable airplane mode") icon: airplaneModeEnabled ? "network-flightmode-on" : "network-flightmode-off" onClicked: {