Paul I
40452c9826
Some micro optimizations ( #1346 )
2019-03-23 13:54:34 +03:00
Florian Märkl
31a832c34d
Add PluginManager::getPluginsDirectory()
2019-03-11 11:55:02 +01:00
Florian Märkl
7a77eeee06
Fix NewFileDialog leaking MainWindow
...
This also fixes segfaults on quitting when using plugins
2019-03-11 10:42:22 +01:00
Florian Märkl
d4a6b031ff
Use only cutter module in sample plugin
2019-03-09 14:07:20 +01:00
Florian Märkl
732f2d8cde
Use cutter-deps on macOS ( #1238 )
...
* Update deps scripts for macOS
* Update deps
* Update appbundle_embed_python.sh
* Use cutter-deps for macOS
* Remove qt from Brewfile
* Fix .travis.yml
* Disable Homebrew update
* Fix llvm for macOS
* Fix regex in update_deps.py
* Fix PYTHON_FRAMEWORK_DIR
* Some debug output in travis
* Enable Python Bindings for cmake on macOS
* QMake debug
* Update deps
* Hopefully fix pkg-config
* QMake hack for shiboken2 and pyside2
* Deploy on deps-test
* Update deps
* Fix call to appbundle_embed_python.sh
* Update deps
* Fix Python for cmake on macOS
* Update deps
* Fix appbundle_embed_python.sh
* Copy pyside libs in appbundle_embed_python.sh
* Fix includes for CMake on macOS
* Copy PySide2 and Shiboke2 libs to Frameworks dir
* Manually deploy QtDBus and QtPrintSupport
* Print plugins dir
* Fix appbundle_embed_python.sh
* Update deps
* Remove some debug output
* Use last release of linuxdeployqt
2019-03-09 00:01:24 +01:00
xarkes
003d0d3c26
Modified documentation format ( #1240 )
2019-03-06 21:30:39 +01:00
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