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:
Sergey Shambir
2013-01-14 23:11:10 +04:00
committed by hjk
parent e5b304c808
commit 04b9d7614e
27 changed files with 2349 additions and 0 deletions

View 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",
]
}