Commit 7f4e1cf9 authored by Marco Bubke's avatar Marco Bubke
Browse files

QmlDesigner: Refactor NavigatorWidget::treeView



Change-Id: If5e1c5dbd8dd6f52bcf43d88256201a4a3c4aa9a
Reviewed-by: default avatarMarco Bubke <marco.bubke@digia.com>
parent c2bdf290
...@@ -77,6 +77,11 @@ void NavigatorWidget::setTreeModel(QAbstractItemModel* model) ...@@ -77,6 +77,11 @@ void NavigatorWidget::setTreeModel(QAbstractItemModel* model)
m_treeView->setModel(model); m_treeView->setModel(model);
} }
QTreeView *NavigatorWidget::treeView() const
{
return m_treeView;
}
QList<QToolButton *> NavigatorWidget::createToolBarWidgets() QList<QToolButton *> NavigatorWidget::createToolBarWidgets()
{ {
QList<QToolButton *> buttons; QList<QToolButton *> buttons;
......
...@@ -50,7 +50,7 @@ public: ...@@ -50,7 +50,7 @@ public:
virtual ~NavigatorWidget(); virtual ~NavigatorWidget();
void setTreeModel(QAbstractItemModel *model); void setTreeModel(QAbstractItemModel *model);
QTreeView *treeView() const { return m_treeView; } QTreeView *treeView() const;
QList<QToolButton *> createToolBarWidgets(); QList<QToolButton *> createToolBarWidgets();
QString contextHelpId() const; QString contextHelpId() const;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment