HorizontalHeaderViewDelegate QML Type
| Import Statement: | import QtQuick.Controls |
| Since: | Qt 6.10 |
| Inherits: |
属性
- headerView : HeaderView
- orientation : Qt::Orientations
详细说明

HorizontalHeaderViewDelegate 作为默认委托,会自动分配给HorizontalHeaderView 的delegate property 。该委托负责根据应用程序预定义的样式规范渲染每个标题单元格。
HorizontalHeaderViewDelegate 继承自TableViewDelegate ,这意味着它由两个组件构成:background 和contentItem 。
另请参阅 《自定义 HeaderViewDelegate》和《HorizontalHeaderView 》。
属性文档
headerView : HeaderView
该属性指向包含委托项的HorizontalHeaderView 。
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.