forked from qt-creator/qt-creator
Core: Move expand and collapse icons from autotest to core
...and replaced the duplicates of them in the debugger console. Change-Id: If545800c47f3560e1f91d87bdd117abaf04dbd89 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
committed by
Alessandro Portale
parent
fe8c717a6a
commit
40c5213fdd
@@ -202,11 +202,11 @@ QList<QToolButton *> TestNavigationWidget::createToolButtons()
|
||||
m_sort->setToolTip(tr("Sort Naturally"));
|
||||
|
||||
QToolButton *expand = new QToolButton(this);
|
||||
expand->setIcon(Icons::EXPAND.icon());
|
||||
expand->setIcon(Core::Icons::EXPAND_TOOLBAR.icon());
|
||||
expand->setToolTip(tr("Expand All"));
|
||||
|
||||
QToolButton *collapse = new QToolButton(this);
|
||||
collapse->setIcon(Icons::COLLAPSE.icon());
|
||||
collapse->setIcon(Core::Icons::COLLAPSE_TOOLBAR.icon());
|
||||
collapse->setToolTip(tr("Collapse All"));
|
||||
|
||||
connect(expand, &QToolButton::clicked, m_view, &TestTreeView::expandAll);
|
||||
|
||||
Reference in New Issue
Block a user