The QHelpIndexWidget class provides a list view displaying the QHelpIndexModel . 更多...
头: | #include <QHelpIndexWidget> |
qmake: | QT += help |
Since: | Qt 4.4 |
继承: | QListView |
void | activateCurrentItem () |
void | filterIndices (const QString & filter , const QString & wildcard = QString()) |
void | linkActivated (const QUrl & link , const QString & keyword ) |
void | linksActivated (const QMap<QString, QUrl> & 链接 , const QString & keyword ) |
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 () 或 linksActivated () 信号。
[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
> &
链接
, 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 链接 consist of the document titles and their URLs.