InfoButton¶
Icon button that opens a TeachingTip.
import QWinUI3.Extras · src/extras/QWinUI3/Extras/InfoButton.qml
Category: Buttons & commands · Library: v2.80
Gallery: InfoButton — src/gallery/pages/InfoButtonPage.qml
Extends IconButton.
Example¶
InfoButton {
tipTitle: qsTr("Density")
tipSubtitle: qsTr("Compact shrinks control metrics.")
}
// --- API ---
// tipTitle / tipSubtitle / tipSymbol, isOpen, open()/close()
// property alias tip: teachingTip
Notes¶
Fluent Info glyph; hosts TeachingTip anchored to itself (overlay-parented). Prefer for settings help.
API¶
Properties¶
| Name | Type | Description |
|---|---|---|
tipTitle |
string |
— |
tipSubtitle |
string |
— |
tipSymbol |
var |
— |
tip |
alias |
— |
isOpen |
alias |
— |
preferredPlacement |
int |
— |
Signals¶
No custom signals (use inherited signals from the base type).
Methods¶
| Signature | Description |
|---|---|
open() |
— |
close() |
— |
Generated from module sources by scripts/generate_component_docs.py — do not edit by hand.