NavigationTreeView Class | Extending Qt Creator Manual

Extending Qt Creator Manual | NavigationTreeView

Extending Qt Creator Manual 4.6.0

# NavigationTreeView Class

(Utils::NavigationTreeView)

The NavigationTreeView class implements a general TreeView for any sidebar widget. More...

Header: | #include <NavigationTreeView>
Inherits: | Utils::TreeView

- List of all members, including inherited members

## Public Functions

| NavigationTreeView(QWidget *parent = 0)
void | scrollTo(const QModelIndex &index, ScrollHint hint = EnsureVisible) override

- 3 public functions inherited from Utils::View

## Protected Functions

void | focusInEvent(QFocusEvent *event) override
void | focusOutEvent(QFocusEvent *event) override
void | resizeEvent(QResizeEvent *event) override

## Detailed Description

The NavigationTreeView class implements a general TreeView for any sidebar widget.

Common initialization etc, e.g. Mac specific behaviour.

See also Core::NavigationView and Core::INavigationWidgetFactory.

## Member Function Documentation

### NavigationTreeView::NavigationTreeView(QWidget *parent = 0)

Default constructs an instance of NavigationTreeView.

### `[protected]` void NavigationTreeView::focusInEvent(QFocusEvent *event)

### `[protected]` void NavigationTreeView::focusOutEvent(QFocusEvent *event)

### `[protected]` void NavigationTreeView::resizeEvent(QResizeEvent *event)

### void NavigationTreeView::scrollTo(const QModelIndex &index, ScrollHint hint = EnsureVisible)