forked from qt-creator/qt-creator
Added PythonEditor plugin
Contains lexical highlighter, indenter and file wizard. Icon loaded from theme, if possible. Class wizard will be added later since it needs to extend libUtils. Change-Id: If723867c01e9be83371424e406d116805c88c2b0 Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
41
src/plugins/pythoneditor/pythoneditor.qbs
Normal file
41
src/plugins/pythoneditor/pythoneditor.qbs
Normal file
@@ -0,0 +1,41 @@
|
||||
import qbs.base 1.0
|
||||
|
||||
import "../QtcPlugin.qbs" as QtcPlugin
|
||||
|
||||
QtcPlugin {
|
||||
name: "PythonEditor"
|
||||
|
||||
Depends { name: "Core" }
|
||||
Depends { name: "TextEditor" }
|
||||
Depends { name: "CppTools" }
|
||||
Depends { name: "cpp" }
|
||||
|
||||
cpp.defines: base.concat(["PYEDITOR_LIBRARY", "QT_CREATOR"])
|
||||
|
||||
files: [
|
||||
"pythoneditor.cpp",
|
||||
"pythoneditor.h",
|
||||
"pythoneditor.mimetypes.xml",
|
||||
"pythoneditor_global.h",
|
||||
"pythoneditorconstants.h",
|
||||
"pythoneditorfactory.cpp",
|
||||
"pythoneditorfactory.h",
|
||||
"pythoneditorfeatures.h",
|
||||
"pythoneditorplugin.cpp",
|
||||
"pythoneditorplugin.h",
|
||||
"pythoneditorplugin.qrc",
|
||||
"pythoneditorwidget.cpp",
|
||||
"pythoneditorwidget.h",
|
||||
"tools/lexical/sourcecodestream.h",
|
||||
"tools/lexical/pythonscanner.h",
|
||||
"tools/lexical/pythonformattoken.h",
|
||||
"tools/lexical/pythonscanner.cpp",
|
||||
"tools/pythonhighlighter.h",
|
||||
"tools/pythonindenter.cpp",
|
||||
"tools/pythonhighlighter.cpp",
|
||||
"tools/pythonindenter.h",
|
||||
"wizard/pythonfilewizard.h",
|
||||
"wizard/pythonfilewizard.cpp",
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user