CMakePM: Standardize the appearance of the settings category icon

... and have it in the icons svg.

Change-Id: I1610bbe211b8ac67a4ebcc1704863b2a49b37ce1
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
Alessandro Portale
2022-07-20 14:46:27 +02:00
parent 1bc8d0353e
commit 180116fdf1
8 changed files with 25 additions and 5 deletions

View File

@@ -2,7 +2,7 @@
<qresource prefix="/cmakeproject">
<file>images/fileoverlay_cmake.png</file>
<file>images/fileoverlay_cmake@2x.png</file>
<file>images/logo_cmake_bw.png</file>
<file>images/logo_cmake_bw@2x.png</file>
<file>images/settingscategory_cmakeprojectmanager.png</file>
<file>images/settingscategory_cmakeprojectmanager@2x.png</file>
</qresource>
</RCC>

View File

@@ -59,8 +59,7 @@ const char CMAKE_SNIPPETS_GROUP_ID[] = "CMake";
namespace Icons {
const char FILE_OVERLAY[] = ":/cmakeproject/images/fileoverlay_cmake.png";
const char LOGO_BW[] = ":/cmakeproject/images/logo_cmake_bw.png";
const char LOGO_BW_2X[] = ":/cmakeproject/images/logo_cmake_bw@2x.png";
const char SETTINGS_CATEGORY[] = ":/cmakeproject/images/settingscategory_cmakeprojectmanager.png";
} // namespace Icons
// Actions

View File

@@ -88,7 +88,7 @@ CMakeSpecificSettingsPage::CMakeSpecificSettingsPage(CMakeSpecificSettings *sett
setDisplayName(tr("General"));
setDisplayCategory("CMake");
setCategory(Constants::Settings::CATEGORY);
setCategoryIconPath(Constants::Icons::LOGO_BW);
setCategoryIconPath(Constants::Icons::SETTINGS_CATEGORY);
setSettings(settings);
setLayouter([settings](QWidget *widget) {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 352 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 503 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 259 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 519 B