UrlButton QML Type
A link to a URL or other remote resource. More...
Import Statement: | import org.kde.kirigami |
Inherits: |
Properties
- externalLink : bool
(since 6.11)
- url : string
Detailed Description
UrlButton will open the URL when left-clicked, tapped, or activated with the keyboard. It will show a context menu with a "Copy" action when right-clicked.
Property Documentation
externalLink : bool |
This property holds whether the URL is an external link.
External links will have a small icon on their right to show that the link goes to an external website.
default: true
This property was introduced in 6.11.
url : string |
This property holds the URL to open when clicked or tapped.
default: empty string; set a URL to make it work.