GridTile¶
Icon + title tile for launchers / galleries.
import QWinUI3.Extras · src/extras/QWinUI3/Extras/GridTile.qml
Category: Collections & data · Library: v2.80
Gallery: GridTile — src/gallery/pages/GridTilePage.qml
Extends AbstractButton.
Example¶
GridTile {
id: tile
title: qsTr("Photos")
subtitle: qsTr("12 items")
symbol: FluentIcons.Photo
onClicked: open()
}
// --- API ---
// inherits AbstractButton: text/enabled/clicked
Notes¶
Icon + title tile for grids; onClicked.
API¶
Properties¶
| Name | Type | Description |
|---|---|---|
title |
string |
Primary title text |
subtitle |
string |
Secondary subtitle text |
symbol |
var |
FluentIcons symbol (preferred over iconGlyph) |
glyph |
string |
Fluent glyph drawn in the button |
source |
url |
Image / media source |
tileWidth |
real |
Tile width |
tileHeight |
real |
Tile height |
isSelected |
alias |
Selected state |
badgeText |
string |
Badge caption |
badgeVisible |
bool |
Show avatar badge |
effectiveGlyph |
string |
Resolved glyph string |
Signals¶
No custom signals (use inherited signals from the base type).
Methods¶
No custom methods (use inherited methods from the base type).
Inherited from AbstractButton¶
Also available (base type / Qt Quick Controls):
textenableddown/pressed/hoveredclicked()
Generated from module sources by scripts/generate_component_docs.py — do not edit by hand.