本页内容

QAccessibleTableCellInterface Class

QAccessibleTableCellInterface 类实现了对 IAccessibleTable2 Cell 接口的支持。更多内容...

头文件: #include <QAccessibleTableCellInterface>
CMake: find_package(Qt6 REQUIRED COMPONENTS Gui)
target_link_libraries(mytarget PRIVATE Qt6::Gui)
qmake: QT += gui

公共函数

QAccessibleTableCellInterface()
virtual ~QAccessibleTableCellInterface()
virtual int columnExtent() const = 0
virtual QList<QAccessibleInterface *> columnHeaderCells() const = 0
virtual int columnIndex() const = 0
virtual bool isSelected() const = 0
virtual int rowExtent() const = 0
virtual QList<QAccessibleInterface *> rowHeaderCells() const = 0
virtual int rowIndex() const = 0
virtual QAccessibleInterface *table() const = 0

详细说明

IAccessible2 规范

成员函数文档

[constexpr noexcept default] QAccessibleTableCellInterface::QAccessibleTableCellInterface()

默认——构造一个QAccessibleTableCellInterface 的实例。

[virtual noexcept] QAccessibleTableCellInterface::~QAccessibleTableCellInterface()

销毁QAccessibleTableCellInterface 。

[pure virtual] int QAccessibleTableCellInterface::columnExtent() const

返回该单元格所占用的列数。

[pure virtual] QList<QAccessibleInterface *> QAccessibleTableCellInterface::columnHeaderCells() const

将列标题作为可访问单元格的数组返回。

[pure virtual] int QAccessibleTableCellInterface::columnIndex() const

将该单元格的“可访问”转换为相应的列索引。

[pure virtual] bool QAccessibleTableCellInterface::isSelected() const

返回一个布尔值,用于指示该单元格是否被选中。

[pure virtual] int QAccessibleTableCellInterface::rowExtent() const

返回该单元格所占的行数。

[pure virtual] QList<QAccessibleInterface *> QAccessibleTableCellInterface::rowHeaderCells() const

将行标题作为单元格访问对象的数组返回。

[pure virtual] int QAccessibleTableCellInterface::rowIndex() const

将此单元格的可访问地址转换为相应的行索引。

[pure virtual] QAccessibleInterface *QAccessibleTableCellInterface::table() const

返回包含该单元格的表格的QAccessibleInterface 。

© 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.