QAccessibleTableCellInterface Class

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

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

公共函数

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 规范

成员函数文档

[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

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