QHelpIndexWidget Class
The QHelpIndexWidget class provides a list view displaying the QHelpIndexModel. More...
#include <QHelpIndexWidget> Inherits: QListView.
This class was introduced in Qt 4.4.
Public Types
enum | DragDropMode { NoDragDrop, DragOnly, DropOnly, DragDrop, InternalMove } |
enum | EditTrigger { NoEditTriggers, CurrentChanged, DoubleClicked, SelectedClicked, ..., AllEditTriggers } |
flags | EditTriggers |
enum | PaintDeviceMetric { PdmWidth, PdmHeight, PdmWidthMM, PdmHeightMM, ..., PdmPhysicalDpiY } |
enum | ScrollHint { EnsureVisible, PositionAtTop, PositionAtBottom, PositionAtCenter } |
enum | ScrollMode { ScrollPerItem, ScrollPerPixel } |
enum | SelectionBehavior { SelectItems, SelectRows, SelectColumns } |
enum | SelectionMode { SingleSelection, ContiguousSelection, ExtendedSelection, MultiSelection, NoSelection } |
Properties
Public Functions
Public Slots
- 19 public slots inherited from QWidget
- 1 public slot inherited from QObject
Signals
Protected Types
enum | CursorAction { MoveUp, MoveDown, MoveLeft, MoveRight, ..., MovePrevious } |
enum | DropIndicatorPosition { OnItem, AboveItem, BelowItem, OnViewport } |
enum | State { NoState, DraggingState, DragSelectingState, EditingState, ..., AnimatingState } |
Protected Functions
- 26 protected functions inherited from QListView
- 18 protected functions inherited from QAbstractScrollArea
- 3 protected functions inherited from QFrame
- 37 protected functions inherited from QWidget
- 9 protected functions inherited from QObject
Protected Slots
virtual void | closeEditor(QWidget * editor, QAbstractItemDelegate::EndEditHint hint) |
virtual void | commitData(QWidget * editor) |
virtual void | currentChanged(const QModelIndex & current, const QModelIndex & previous) |
virtual void | dataChanged(const QModelIndex & topLeft, const QModelIndex & bottomRight, const QSet<int> & roles = QSet<int> ()) |
virtual void | editorDestroyed(QObject * editor) |
virtual void | rowsAboutToBeRemoved(const QModelIndex & parent, int start, int end) |
virtual void | rowsInserted(const QModelIndex & parent, int start, int end) |
virtual void | selectionChanged(const QItemSelection & selected, const QItemSelection & deselected) |
virtual void | updateGeometries() |
- 1 protected slot inherited from QWidget
Additional Inherited Members
- 4 static public members inherited from QWidget
- 11 static public members inherited from QObject
Detailed Description
The QHelpIndexWidget class provides a list view displaying the QHelpIndexModel.
Member Function Documentation
void QHelpIndexWidget::activateCurrentItem() [slot]
Activates the current item which will result eventually in the emitting of a linkActivated() or linksActivated() signal.
void QHelpIndexWidget::filterIndices(const QString & filter, const QString & wildcard = QString()) [slot]
Filters the indices according to filter or wildcard. The item with the best match is set as current item.
See also QHelpIndexModel::filter().
void QHelpIndexWidget::linkActivated(const QUrl & link, const QString & keyword) [signal]
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.
void QHelpIndexWidget::linksActivated(const QMap<QString, QUrl> & links, const QString & keyword) [signal]
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 title and their URL.
|