Core: Toolbar icons improvements

Change the type of OutputPaneManager::m_maximizeIcon and
::m_minimizeIcon from QPixmap to QIcon to have the automatic @2x
loading.

Small retouches of the graphics: arrowup and arrowdown got the same
color and shadow like the other toolbar icons. The line width of
button_close got adjusted.

Change-Id: Ia985ae23b8c9f301fecee64e8283c6e556e6e0c2
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
Alessandro Portale
2014-07-16 23:36:46 +02:00
parent f552049ea6
commit d905aa818b
8 changed files with 66 additions and 28 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 362 B

After

Width:  |  Height:  |  Size: 177 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 205 B

After

Width:  |  Height:  |  Size: 231 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 352 B

After

Width:  |  Height:  |  Size: 183 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 203 B

After

Width:  |  Height:  |  Size: 232 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 291 B

After

Width:  |  Height:  |  Size: 209 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 378 B

After

Width:  |  Height:  |  Size: 314 B

View File

@@ -132,8 +132,8 @@ private:
QStackedWidget *m_outputWidgetPane;
QStackedWidget *m_opToolBarWidgets;
QWidget *m_buttonsWidget;
QPixmap m_minimizeIcon;
QPixmap m_maximizeIcon;
QIcon m_minimizeIcon;
QIcon m_maximizeIcon;
bool m_maximised;
int m_outputPaneHeight;
};