QHelpIndexWidget Class
The QHelpIndexWidget class provides a list view displaying the QHelpIndexModel. More...
Header: | #include <QHelpIndexWidget> |
qmake: | QT += help |
Since: | Qt 4.4 |
Inherits: | QListView |
Public Slots
void | activateCurrentItem() |
void | filterIndices(const QString &filter, const QString &wildcard = QString()) |
- 9 public slots inherited from QAbstractItemView
- 19 public slots inherited from QWidget
- 1 public slot inherited from QObject
Signals
void | linkActivated(const QUrl &link, const QString &keyword) |
void | linksActivated(const QMap<QString, QUrl> &links, const QString &keyword) |
- 1 signal inherited from QListView
- 7 signals inherited from QAbstractItemView
- 3 signals inherited from QWidget
- 2 signals inherited from QObject
Static Public Members
const QMetaObject | staticMetaObject |
Additional Inherited Members
- 14 properties inherited from QListView
- 16 properties inherited from QAbstractItemView
- 3 properties inherited from QAbstractScrollArea
- 6 properties inherited from QFrame
- 59 properties inherited from QWidget
- 1 property inherited from QObject
- 34 public functions inherited from QListView
- 60 public functions inherited from QAbstractItemView
- 20 public functions inherited from QAbstractScrollArea
- 14 public functions inherited from QFrame
- 216 public functions inherited from QWidget
- 31 public functions inherited from QObject
- 28 protected functions inherited from QListView
- 38 protected functions inherited from QAbstractItemView
- 20 protected functions inherited from QAbstractScrollArea
- 4 protected functions inherited from QFrame
- 35 protected functions inherited from QWidget
- 9 protected functions inherited from QObject
- 9 protected slots inherited from QAbstractItemView
- 1 protected slot inherited from QWidget
Detailed Description
The QHelpIndexWidget class provides a list view displaying the QHelpIndexModel.
Member Function Documentation
[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.
See also 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.
© 2021 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.