forked from qt-creator/qt-creator
CMakeProjectManager: Conform Modules icon
The Modules node in the tree of a loaded CMake project looks quite different than the rest of the icons. Also, it is neither available as High-DPI variant nor do we have the original vector graphics for it. Thich change fixes the above issues. Task-number: QTCREATORBUG-25412 Change-Id: I4ad5853330424f9fec2520b8b539a325b6c80176 Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
@@ -46,7 +46,9 @@ CMakeInputsNode::CMakeInputsNode(const Utils::FilePath &cmakeLists) :
|
||||
{
|
||||
setPriority(Node::DefaultPriority - 10); // Bottom most!
|
||||
setDisplayName(QCoreApplication::translate("CMakeFilesProjectNode", "CMake Modules"));
|
||||
setIcon(QIcon(":/projectexplorer/images/session.png")); // TODO: Use a better icon!
|
||||
static const QIcon modulesIcon = Core::FileIconProvider::directoryIcon(
|
||||
ProjectExplorer::Constants::FILEOVERLAY_MODULES);
|
||||
setIcon(modulesIcon);
|
||||
setListInProject(false);
|
||||
}
|
||||
|
||||
|
||||
BIN
src/plugins/projectexplorer/images/fileoverlay_modules.png
Normal file
BIN
src/plugins/projectexplorer/images/fileoverlay_modules.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 461 B |
BIN
src/plugins/projectexplorer/images/fileoverlay_modules@2x.png
Normal file
BIN
src/plugins/projectexplorer/images/fileoverlay_modules@2x.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 792 B |
Binary file not shown.
|
Before Width: | Height: | Size: 583 B |
@@ -24,7 +24,6 @@
|
||||
<file>images/debugger_overlay_small@2x.png</file>
|
||||
<file>images/analyzer_overlay_small.png</file>
|
||||
<file>images/analyzer_overlay_small@2x.png</file>
|
||||
<file>images/session.png</file>
|
||||
<file>images/BuildSettings.png</file>
|
||||
<file>images/CodeStyleSettings.png</file>
|
||||
<file>images/RunSettings.png</file>
|
||||
@@ -67,6 +66,8 @@
|
||||
<file>images/fileoverlay_product@2x.png</file>
|
||||
<file>images/fileoverlay_group.png</file>
|
||||
<file>images/fileoverlay_group@2x.png</file>
|
||||
<file>images/fileoverlay_modules.png</file>
|
||||
<file>images/fileoverlay_modules@2x.png</file>
|
||||
<file>images/fileoverlay_ui.png</file>
|
||||
<file>images/fileoverlay_ui@2x.png</file>
|
||||
<file>images/fileoverlay_scxml.png</file>
|
||||
|
||||
@@ -215,6 +215,7 @@ const char PROJECTTREE_ID[] = "Projects";
|
||||
const char FILEOVERLAY_QT[]=":/projectexplorer/images/fileoverlay_qt.png";
|
||||
const char FILEOVERLAY_GROUP[] = ":/projectexplorer/images/fileoverlay_group.png";
|
||||
const char FILEOVERLAY_PRODUCT[] = ":/projectexplorer/images/fileoverlay_product.png";
|
||||
const char FILEOVERLAY_MODULES[] = ":/projectexplorer/images/fileoverlay_modules.png";
|
||||
const char FILEOVERLAY_QML[]=":/projectexplorer/images/fileoverlay_qml.png";
|
||||
const char FILEOVERLAY_UI[]=":/projectexplorer/images/fileoverlay_ui.png";
|
||||
const char FILEOVERLAY_QRC[]=":/projectexplorer/images/fileoverlay_qrc.png";
|
||||
|
||||
Reference in New Issue
Block a user