QHelpContentWidget Class
The QHelpContentWidget class provides a tree view for displaying help content model items. More...
#include <QHelpContentWidget> Inherits: QTreeView.
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
- 8 public slots inherited from QTreeView
- 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
- 28 protected functions inherited from QTreeView
- 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() |
- 4 protected slots inherited from QTreeView
- 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 QHelpContentWidget class provides a tree view for displaying help content model items.
Member Function Documentation
QModelIndex QHelpContentWidget::indexOf(const QUrl & link)
Returns the index of the content item with the link. An invalid index is returned if no such an item exists.
void QHelpContentWidget::linkActivated(const QUrl & link) [signal]
This signal is emitted when a content item is activated and its associated link should be shown.
|