QHelpIndexWidget 类

QHelpIndexWidget 类提供列表视图显示 QHelpIndexModel . 更多...

头: #include <QHelpIndexWidget>
qmake: QT += help
Since: Qt 4.4
继承: QListView

该类在 Qt 4.4 引入。

公共槽

void activateCurrentItem ()
void filterIndices (const QString & filter , const QString & wildcard = QString())

信号

void documentActivated (const QHelpLink & document , const QString & keyword )
void documentsActivated (const QList<QHelpLink> & documents , const QString & keyword )

详细描述

成员函数文档编制

[slot] void QHelpIndexWidget:: activateCurrentItem ()

Activates the current item which will result eventually in the emitting of a linkActivated() or linksActivated() signal.

[signal] void QHelpIndexWidget:: documentActivated (const QHelpLink & document , const QString & keyword )

This signal is emitted when an item is activated and its associated document should be shown. To know where the link belongs to, the keyword is given as a second parameter.

该函数在 Qt 5.15 引入。

[signal] void QHelpIndexWidget:: documentsActivated (const QList < QHelpLink > & documents , const QString & keyword )

This signal is emitted when the item representing the keyword is activated and the item has more than one document associated. The documents consist of the document titles and their URLs.

该函数在 Qt 5.15 引入。

[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 ().