本页内容

VerticalHeaderViewDelegate QML Type

Import Statement: import QtQuick.Controls
Since: Qt 6.10
Inherits:

TableViewDelegate

属性

详细说明

表格列标题中的标题视图委托

VerticalHeaderViewDelegate 作为默认委托,会自动分配给VerticalHeaderView 的delegate property 。该委托负责根据应用程序预定义的样式规范渲染每个标题单元格。

VerticalHeaderViewDelegate 继承自TableViewDelegate ,这意味着它由两个组件构成:background 和contentItem 。

另请参阅 《自定义 HeaderViewDelegate》和《VerticalHeaderView 》。

属性文档

headerView : HeaderView

该属性指向包含委托项的VerticalHeaderView 。

orientation : Qt::Orientations

该属性的值与headerView 的orientation属性相同。

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.