New file overlay icons

Change-Id: Icba67a1404b6e4604aef56def00bfe2098b8c8fe
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Alessandro Portale
2016-04-22 15:42:30 +02:00
parent 600693af2c
commit fdad4bf7b0
52 changed files with 389 additions and 63 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 254 B

View File

@@ -61,8 +61,6 @@ SOURCES += \
qmljswrapinloader.cpp \
qmljseditordocument.cpp
RESOURCES += qmljseditor.qrc
FORMS += \
quicktoolbarsettingspage.ui \
qmljscomponentnamedialog.ui

View File

@@ -28,7 +28,6 @@ QtcPlugin {
"qmljscomponentnamedialog.ui",
"qmljseditor.cpp",
"qmljseditor.h",
"qmljseditor.qrc",
"qmljseditor_global.h",
"qmljseditorconstants.h",
"qmljseditordocument.cpp",
@@ -72,7 +71,6 @@ QtcPlugin {
"quicktoolbarsettingspage.cpp",
"quicktoolbarsettingspage.h",
"quicktoolbarsettingspage.ui",
"images/qmlfile.png",
]
Export {

View File

@@ -1,5 +0,0 @@
<RCC>
<qresource prefix="/qmljseditor">
<file>images/qmlfile.png</file>
</qresource>
</RCC>

View File

@@ -50,6 +50,7 @@
#include <coreplugin/actionmanager/command.h>
#include <coreplugin/editormanager/editormanager.h>
#include <projectexplorer/taskhub.h>
#include <projectexplorer/projectexplorerconstants.h>
#include <texteditor/texteditorconstants.h>
#include <utils/qtcassert.h>
#include <utils/json.h>
@@ -186,7 +187,7 @@ bool QmlJSEditorPlugin::initialize(const QStringList & /*arguments*/, QString *e
errorMessage->clear();
FileIconProvider::registerIconOverlayForSuffix(":/qmljseditor/images/qmlfile.png", "qml");
FileIconProvider::registerIconOverlayForSuffix(ProjectExplorer::Constants::FILEOVERLAY_QML, "qml");
registerQuickFixes(this);