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>
This commit is contained in:
Eike Ziller
2015-01-19 17:07:49 +01:00
parent 642dc36ecb
commit 58feec49bf
7 changed files with 50 additions and 12 deletions

View File

@@ -70,6 +70,7 @@ public:
void restoreSettings();
Command *command(const QString &title) const;
void setCloseIcon(const QIcon &icon);
signals:
void splitMe(int factoryIndex);
@@ -84,6 +85,7 @@ private:
NavigationWidget *m_parentWidget;
QComboBox *m_navigationComboBox;
QMenu *m_splitMenu;
QToolButton *m_closeButton;
QWidget *m_navigationWidget;
INavigationWidgetFactory *m_navigationWidgetFactory;
Utils::StyledBar *m_toolBar;