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 |
@@ -3126,6 +3126,27 @@
|
||||
style="fill:#000000"
|
||||
id="path1746" />
|
||||
</g>
|
||||
<g
|
||||
id="src/plugins/cmakeprojectmanager/images/settingscategory_cmakeprojectmanager">
|
||||
<use
|
||||
x="0"
|
||||
y="0"
|
||||
xlink:href="#backgroundRect_24"
|
||||
id="use3468-6"
|
||||
width="100%"
|
||||
height="100%"
|
||||
transform="translate(1090,64)"
|
||||
style="display:inline;fill:none" />
|
||||
<path
|
||||
id="path4544-1"
|
||||
style="fill:#000000"
|
||||
d="m 1078,478.85 -8.5,16.15 h 17 z m 0.7724,8.61732 0.4208,4.69491 -4.1948,-1.62916 z" />
|
||||
<path
|
||||
id="path6034"
|
||||
style="fill:none;stroke:#ffffff"
|
||||
d="m 1078,478.85469 1.189,13.30208 m -4.1861,-1.62746 L 1086.5,495 m -17,0 9.272,-7.52758"
|
||||
sodipodi:nodetypes="cccccc" />
|
||||
</g>
|
||||
<g
|
||||
id="src/plugins/valgrind/images/kcachegrind"
|
||||
transform="translate(112)">
|
||||
|
Before Width: | Height: | Size: 356 KiB After Width: | Height: | Size: 356 KiB |
Reference in New Issue
Block a user