Skip to content
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.

Commit

Permalink
add tooltips to the tool buttons; markt 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
librehat committed Jul 12, 2020
1 parent 20418ce commit 348c32e
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
8 changes: 8 additions & 0 deletions plasmoid/contents/ui/PriceChart.qml
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,21 @@ PlasmaComponents.Page {
checked: true
icon.name: "office-chart-scatter" // TODO: a better icon for candlesticks
onToggled: updateChartView()

PlasmaComponents.ToolTip {
text: "Plot candlesticks chart"
}
}
PlasmaComponents.ToolButton {
id: lineChartBtn
autoExclusive: true
checkable: true
icon.name: "office-chart-line"
onToggled: updateChartView()

PlasmaComponents.ToolTip {
text: "Plot line chart"
}
}
}
}
Expand Down
4 changes: 4 additions & 0 deletions plasmoid/contents/ui/main.qml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@ Item {
visible: stack.depth > 1
icon.name: "draw-arrow-back"
onClicked: stack.pop()

PlasmaComponents3.ToolTip {
text: "Return to previous page"
}
}
}
PlasmaComponents.PageStack {
Expand Down
2 changes: 1 addition & 1 deletion plasmoid/metadata.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ X-KDE-PluginInfo-Category=Education
X-KDE-PluginInfo-Email[email protected]
X-KDE-PluginInfo-License=GPL
X-KDE-PluginInfo-Name=com.librehat.yapstocks
X-KDE-PluginInfo-Version=2.1
X-KDE-PluginInfo-Version=3.0
X-KDE-PluginInfo-Website=https://github.com/librehat/yapstocks
X-KDE-ServiceTypes=Plasma/Applet
X-Plasma-API=declarativeappletscript
Expand Down

0 comments on commit 348c32e

Please sign in to comment.