Logo FluentUI

RefreshGridView QML Type

A grid view with pull-to-refresh support. More...

Import Statement: import FluentUI.Controls 1.0

Properties

Signals

Detailed Description

RefreshGridView extends a standard grid view with pull-to-refresh functionality. When the user pulls down past a threshold, the refresh signal is emitted to trigger data reloading.

Property Documentation

cellHeight : real

The fixed height of each cell in the grid view.

cellWidth : real

The fixed width of each cell in the grid view.

currentIndex : int

The index of the currently selected item in the grid view.

delegate : Component

The delegate component used to render each item in the grid view.

model : var

The model providing data for the grid view. This can be a ListModel, QML object model, or any Qt-compatible model.

Signal Documentation

void refresh()

Emitted when the user triggers a pull-to-refresh gesture. This signal indicates that the data should be reloaded or refreshed.

Note: The corresponding handler is onRefresh.