xarkes
ab27e09b91
Splitted Cutter.h and moved everything in core ( #1201 )
...
Sometimes it is not necessary to include the whole Cutter.h file
Hence, it's been splitted so you can include only what you require
E.g. #include "core/CutterCommon.h" to have access to the common types
2019-02-22 17:50:45 +01:00
Florian Märkl
acca40b978
Include and meson fixes
...
Fix QDir include in PythonManager
Fix cassert include
Fix assert include in PluginManager.cpp
2019-02-21 22:57:26 +01:00
Florian Märkl
f945ebf9ae
Add enable_python option to meson
2019-02-21 22:57:26 +01:00
Florian Märkl
2be8ec8456
Generate Bindings in QMake
...
Fix typesystem-paths
2019-02-21 22:57:26 +01:00
xarkes
436842222e
Modified some APIs for more consistence
...
Correct null check after create_cutter_plugin()
Fix cutter.core()
2019-02-21 22:57:26 +01:00
Florian Märkl
40274e4bf4
Kill CutterPythonPlugin and use Bindings instead
...
Simplify CutterPlugin Interface
Pull Python Plugin Metadata from class vars
Also kill cutter_plugin.py
Fix Python Plugin Module Loading
2019-02-21 22:57:26 +01:00
Florian Märkl
d544bbed77
Create Plugins dir automatically
2019-02-21 22:57:26 +01:00
Florian Märkl
ea6dea3cc1
Load Plugins from QStandardPaths::AppDataLocation
2019-02-21 22:57:26 +01:00
Florian Märkl
986041380c
Add PluginManager
2019-02-21 22:57:26 +01:00
Florian Märkl
280e10d154
Subclass CutterDockWidget in Python Plugin
...
Refactor CutterPlugin::setupInterface() and fix C++ sample
2019-02-21 22:57:26 +01:00
Florian Märkl
23115d7b1c
Generate Bindings for CutterCore in CMake
...
Refactor CMakeLists.txt for bindings
Fix for CUTTER_ENABLE_JUPYTER=OFF
2019-02-21 22:57:26 +01:00
Florian Märkl
1c98a1c42e
Partially fix shutting down Python
2019-02-21 22:57:26 +01:00
xarkes
da3e1fad29
Cleaned a bit and added a widget example
2019-02-21 22:57:26 +01:00
Florian Märkl
b9c859bc0c
Get Python Plugin Metadata
2019-02-21 22:57:26 +01:00
Florian Märkl
1f3315d020
Find MainWindow in Python
...
Return Pointer from setupInterface() in Python Plugin
Load plugins before creating MainWindow
2019-02-21 22:57:26 +01:00
Florian Märkl
7798021f03
Print Python Errors from setupPlugin() and setupInterface()
2019-02-21 22:57:26 +01:00
xarkes
73c40da3f9
PyDecref python plugin instance, Cleanup
2019-02-21 22:57:26 +01:00
xarkes
650823409d
Test setupInterface
2019-02-21 22:57:26 +01:00
xarkes
9c2de3e23d
Calling setupPlugin from python
2019-02-21 22:57:26 +01:00
xarkes
a1110ee2ac
WIP Python plugin PoC
2019-02-21 22:57:26 +01:00
Florian Märkl
d4a77d9c97
Rename src/utils to src/common
2018-10-17 15:24:56 +02:00
xarkes
bfa495321a
C++ Plugins ( #550 )
...
* Added Cutter plugins listing
* Added SetupInterface callback
* Added seekChanged signal handling to plugin
2018-06-26 09:40:08 +02:00