forked from qt-creator/qt-creator
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:
Binary file not shown.
|
After Width: | Height: | Size: 153 B |
Binary file not shown.
|
After Width: | Height: | Size: 211 B |
@@ -4,5 +4,7 @@
|
|||||||
<file>images/groups@2x.png</file>
|
<file>images/groups@2x.png</file>
|
||||||
<file>images/productgear.png</file>
|
<file>images/productgear.png</file>
|
||||||
<file>images/productgear@2x.png</file>
|
<file>images/productgear@2x.png</file>
|
||||||
|
<file>images/settingscategory_qbsprojectmanager.png</file>
|
||||||
|
<file>images/settingscategory_qbsprojectmanager@2x.png</file>
|
||||||
</qresource>
|
</qresource>
|
||||||
</RCC>
|
</RCC>
|
||||||
|
|||||||
@@ -184,6 +184,9 @@ QbsSettingsPage::QbsSettingsPage()
|
|||||||
setCategory(Constants::QBS_SETTINGS_CATEGORY);
|
setCategory(Constants::QBS_SETTINGS_CATEGORY);
|
||||||
setDisplayCategory(QCoreApplication::translate("QbsProjectManager",
|
setDisplayCategory(QCoreApplication::translate("QbsProjectManager",
|
||||||
Constants::QBS_SETTINGS_TR_CATEGORY));
|
Constants::QBS_SETTINGS_TR_CATEGORY));
|
||||||
|
setCategoryIcon(
|
||||||
|
Utils::Icon({{":/qbsprojectmanager/images/settingscategory_qbsprojectmanager.png",
|
||||||
|
Utils::Theme::PanelTextColorDark}}, Utils::Icon::Tint));
|
||||||
}
|
}
|
||||||
|
|
||||||
QWidget *QbsSettingsPage::widget()
|
QWidget *QbsSettingsPage::widget()
|
||||||
|
|||||||
@@ -3487,6 +3487,28 @@
|
|||||||
width="100%"
|
width="100%"
|
||||||
height="100%" />
|
height="100%" />
|
||||||
</g>
|
</g>
|
||||||
|
<g
|
||||||
|
id="src/plugins/qbsprojectmanager/images/settingscategory_qbsprojectmanager">
|
||||||
|
<use
|
||||||
|
style="display:inline"
|
||||||
|
transform="translate(1040,64)"
|
||||||
|
height="100%"
|
||||||
|
width="100%"
|
||||||
|
id="use6243"
|
||||||
|
xlink:href="#backgroundRect_24"
|
||||||
|
y="0"
|
||||||
|
x="0" />
|
||||||
|
<path
|
||||||
|
style="fill:#b3b3b3"
|
||||||
|
d="m 1021.5,485.5 h 12 v 8 l 2,-2 v -8 h -12 z"
|
||||||
|
id="path6323"
|
||||||
|
inkscape:connector-curvature="0" />
|
||||||
|
<path
|
||||||
|
id="path6314"
|
||||||
|
style="fill:none;stroke:#000000"
|
||||||
|
d="m 1033.5,485.5 v 8 m -12,-8 h 12 l 2,-2 m -14,2 2,-2 h 12 v 8 l -2,2 h -12 z m 8,8 v -8 l 2,-2 m -6,10 v -8 l 2,-2 m -6,6 h 12 l 2,-2"
|
||||||
|
inkscape:connector-curvature="0" />
|
||||||
|
</g>
|
||||||
<g
|
<g
|
||||||
id="src/plugins/valgrind/images/kcachegrind"
|
id="src/plugins/valgrind/images/kcachegrind"
|
||||||
transform="translate(112)">
|
transform="translate(112)">
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 384 KiB After Width: | Height: | Size: 384 KiB |
Reference in New Issue
Block a user