forked from qt-creator/qt-creator
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:
@@ -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>
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 |
Reference in New Issue
Block a user