QHelpIndexWidget Class
The QHelpIndexWidget class provides a list view displaying the QHelpIndexModel. 更多...
头文件: | #include <QHelpIndexWidget> |
qmake: | QT += help |
开始支持版本: | Qt 4.4 |
基类: | QListView |
公有槽函数
void | activateCurrentItem() |
void | filterIndices(const QString &filter, const QString &wildcard = QString()) |
- 9 个公有槽函数继承自 QAbstractItemView
- 19 个公有槽函数继承自 QWidget
信号
void | linkActivated(const QUrl &link, const QString &keyword) |
void | linksActivated(const QMap<QString, QUrl> &links, const QString &keyword) |
- 1 个信号继承自 QListView
- 7 个信号继承自 QAbstractItemView
- 3 个信号继承自 QWidget
其他继承的成员
- 13 个属性继承自 QListView
- 16 个属性继承自 QAbstractItemView
- 3 个属性继承自 QAbstractScrollArea
- 6 个属性继承自 QFrame
- 59 个属性继承自 QWidget
- 32 个公有函数继承自 QListView
- 59 个公有函数继承自 QAbstractItemView
- 20 个公有函数继承自 QAbstractScrollArea
- 14 个公有函数继承自 QFrame
- 216 个公有函数继承自 QWidget
- 5 个静态公有成员继承自 QWidget
- 28 个受保护的函数继承自 QListView
- 37 个受保护的函数继承自 QAbstractItemView
- 20 个受保护的函数继承自 QAbstractScrollArea
- 4 个受保护的函数继承自 QFrame
- 35 个受保护的函数继承自 QWidget
- 9 个受保护的槽函数继承自 QAbstractItemView
- 1 个受保护的槽函数继承自 QWidget
详细描述
The QHelpIndexWidget class provides a list view displaying the QHelpIndexModel.
成员函数
[slot]
void QHelpIndexWidget::activateCurrentItem()
Activates the current item which will result eventually in the emitting of a linkActivated() or linksActivated() signal.
[slot]
void QHelpIndexWidget::filterIndices(const QString &filter, const QString &wildcard = QString())
Filters the indices according to filter or wildcard. The item with the best match is set as current item.
参见 QHelpIndexModel::filter().
[signal]
void QHelpIndexWidget::linkActivated(const QUrl &link, const QString &keyword)
This signal is emitted when an item is activated and its associated link should be shown. To know where the link belongs to, the keyword is given as a second paremeter.
[signal]
void QHelpIndexWidget::linksActivated(const QMap<QString, QUrl> &links, const QString &keyword)
This signal is emitted when the item representing the keyword is activated and the item has more than one link associated. The links consist of the document titles and their URLs.