QbsProjectManager: Add a settings category icon

Qbs... Cubes.. 6 cubes that result in a familiar silhouette.
No? Well, IMHO at least better than no icon at all.

Change-Id: I7d3a1824a096f4a083410df53db89eba87ff1b1e
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
Alessandro Portale
2019-12-19 00:16:58 +01:00
parent 1519dbf0c7
commit 94d5aa8b98
5 changed files with 27 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 153 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 211 B

View File

@@ -4,5 +4,7 @@
<file>images/groups@2x.png</file>
<file>images/productgear.png</file>
<file>images/productgear@2x.png</file>
<file>images/settingscategory_qbsprojectmanager.png</file>
<file>images/settingscategory_qbsprojectmanager@2x.png</file>
</qresource>
</RCC>

View File

@@ -184,6 +184,9 @@ QbsSettingsPage::QbsSettingsPage()
setCategory(Constants::QBS_SETTINGS_CATEGORY);
setDisplayCategory(QCoreApplication::translate("QbsProjectManager",
Constants::QBS_SETTINGS_TR_CATEGORY));
setCategoryIcon(
Utils::Icon({{":/qbsprojectmanager/images/settingscategory_qbsprojectmanager.png",
Utils::Theme::PanelTextColorDark}}, Utils::Icon::Tint));
}
QWidget *QbsSettingsPage::widget()