aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/coreplugin/sidebarwidget.h
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@theqtcompany.com>2015-01-19 17:07:49 +0100
committerEike Ziller <eike.ziller@theqtcompany.com>2015-01-21 15:02:55 +0100
commit58feec49bfc491ee69632e88e766013c70622aad (patch)
tree59bdc96bc97dd3397f6cc67d30d39257da0a7c7b /src/plugins/coreplugin/sidebarwidget.h
parent642dc36ecb85c239220bb6485e94359aa218b6be (diff)
Make "close view" buttons more consistent
Use the same icons that we already use for editor splits. Change-Id: Ice052f637968918a15b16e00a39c5dbc06948dbc Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com> Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
Diffstat (limited to 'src/plugins/coreplugin/sidebarwidget.h')
-rw-r--r--src/plugins/coreplugin/sidebarwidget.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/coreplugin/sidebarwidget.h b/src/plugins/coreplugin/sidebarwidget.h
index f916e1cc8f..339db62e6a 100644
--- a/src/plugins/coreplugin/sidebarwidget.h
+++ b/src/plugins/coreplugin/sidebarwidget.h
@@ -64,6 +64,8 @@ public:
Command *command(const QString &title) const;
+ void setCloseIcon(const QIcon &icon);
+
signals:
void splitMe();
void closeMe();
@@ -77,6 +79,7 @@ private:
SideBarItem *m_currentItem;
QToolBar *m_toolbar;
QAction *m_splitAction;
+ QAction *m_closeAction;
QList<QAction *> m_addedToolBarActions;
SideBar *m_sideBar;
};