NavigationTreeView Class

(Utils::NavigationTreeView)

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

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

Public Functions

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

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

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)