Skip to content
AtlasOSFramework API
Browse the docs

TextButton

A link-styled button: accent text, no fill.

TextButton is a quiet button for an action that should read like a link, such as "Learn more" or "Skip". It shows accent text with a grey hover and press tint, never an accent fill. Use AtlasButton for an action that needs a stronger look.

TextButton is a Qt Quick Templates AbstractButton (Qt documentation); its inherited properties (text, checkable, checked, clicked) work as usual. It has no properties of its own.

Example

TextButton { text: qsTr("Learn more"); onClicked: showHelp() }

Keyboard

TextButton takes the keyboard focus with Tab and shows a focus ring; Return, Enter and Space click it.