Logo FluentUI

HorizontalHeaderView QML Type

A styled horizontal table header view. More...

Import Statement: import FluentUI 1.0

Properties

Detailed Description

HorizontalHeaderView is a QML component that extends QtQuick.Controls.HorizontalHeaderView with Fluent Design theme support. It provides a horizontal header for use with TableView, displaying column titles with themed styling and sort indicators.

Usage Example

 import QtQuick
 import FluentUI

 HorizontalHeaderView {
     model: ["Name", "Age", "Email"]
     syncView: tableView
 }

See also QtQuick.Controls.HorizontalHeaderView and TableView.

Property Documentation

columns : list

The list of column definitions for the header. This property is inherited from QtQuick.Controls.HorizontalHeaderView.

model : var

The model providing the header labels. This property is inherited from QtQuick.Controls.HorizontalHeaderView.

syncView : TableView

The TableView that this header is synchronized with. Scrolling and column sizing are automatically coordinated. This property is inherited from QtQuick.Controls.HorizontalHeaderView.