Skip to content
Commit 367f035f authored by Felix Ernst's avatar Felix Ernst 🇺🇦
Browse files

Introduce KContextualHelpButton

KContextualHelpButton allows to hide text of any length behind a
small icon-only button. Hovering over the button with a mouse
cursor or pressing the button will show the text. It can contain
images and links. It is accessible by keyboard and to screen
readers.

This is the QtWidgets equivalent to the popular QML
ContextualHelpButton which I implemented a few years ago. Since
then it has found a lot of use in KDE's QML software, especially on
settings pages. It is even being added to our new Human Interface
Guidelines.

This commit makes sure we also have a very similar component
available in QtWidgets.
parent e18cbb08
Pipeline #671875 passed with stage
in 6 minutes and 48 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment