1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-01-20 10:04:01 +03:00

add tooltips to some of the settings

--some of the settings cant be understood
very easy for the simple users. Tooltips
give them some assistance
This commit is contained in:
Michail Vourlakos 2017-03-19 12:53:09 +02:00
parent 8fdec50114
commit 08c2363263
3 changed files with 8 additions and 2 deletions

View File

@ -139,7 +139,7 @@ PlasmaComponents.Page {
PlasmaComponents.Label {
text: proportionSizeSlider.value>=proportionSizeSlider.realMinimum ?
proportionSizeSlider.value.toFixed(1) + "%" : "---%"
proportionSizeSlider.value.toFixed(1) + "%" : "---%"
horizontalAlignment: Text.AlignRight
Layout.minimumWidth: theme.mSize(theme.defaultFont).width * 4
enabled: proportionSizeSlider.value >= proportionSizeSlider.realMinimum
@ -168,7 +168,7 @@ PlasmaComponents.Page {
onPressedChanged: {
if (!pressed) {
plasmoid.configuration.iconMargin = value;
plasmoid.configuration.iconMargin = value;
}
}
}

View File

@ -75,6 +75,7 @@ PlasmaComponents.Page {
Layout.leftMargin: units.smallSpacing * 2
text: i18n("Indicator for active window group")
checked: plasmoid.configuration.dotsOnActive
tooltip: i18n("Grouped windows show both a line and a dot when \none of them is active")
onClicked: {
plasmoid.configuration.dotsOnActive = checked
@ -140,6 +141,8 @@ PlasmaComponents.Page {
Layout.leftMargin: units.smallSpacing * 2
text: i18n("Show progress information for tasks")
checked: plasmoid.configuration.smartLaunchersEnabled
tooltip: i18n("Show a beautiful progress animation e.g. when copying \nfiles with Dolphin")
onClicked: {
plasmoid.configuration.smartLaunchersEnabled = checked

View File

@ -157,6 +157,7 @@ PlasmaComponents.Page {
text: i18n("Alternative Session")
checked: globalSettings.currentSession === Latte.Dock.AlternativeSession
checkable: true
tooltip: i18n("Sometimes the current layout of your panels is not sufficient \nfor example when you are travelling. Latte provides you with a full \nalternative sessionn to work on.")
onClicked: {
if (globalSettings.currentSession === Latte.Dock.DefaultSession){
@ -191,6 +192,8 @@ PlasmaComponents.Page {
iconSource: "distribute-horizontal-x"
text: i18n("Add Spacer")
Layout.alignment: Qt.AlignLeft
tooltip: i18n("Add a spacer to separate applets")
onClicked: {
dockConfig.addPanelSpacer();
}