##// END OF EJS Templates
PySide2 bindings + some GUI clean...
PySide2 bindings + some GUI clean - simple Python plugin with scalar product works - launcher args are forwarded to SciQLop app, this allow to choose between wayland and xcb for example - removed all not implemented widgets on main GUI - moved all widgets except plots into QDocWidgets Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r1430:ecc8b7b09c3d
r1478:6e3f56cd8c8b
Show More
python_providers.h
32 lines | 780 B | text/x-c | CLexer
#ifndef PYTHON_PROVIDERS_H
#define PYTHON_PROVIDERS_H
#include <Plugin/IPlugin.h>
#include <QUuid>
#include <memory>
#include <python_interpreter.h>
#ifndef SCIQLOP_PLUGIN_JSON_FILE_PATH
#define SCIQLOP_PLUGIN_JSON_FILE_PATH "python_providers.json"
#endif
class DataSourceItem;
class PythonProviders : public QObject, public IPlugin
{
Q_OBJECT
Q_INTERFACES(IPlugin)
Q_PLUGIN_METADATA(IID "sciqlop.plugin.IPlugin" FILE SCIQLOP_PLUGIN_JSON_FILE_PATH)
public:
/// @sa IPlugin::initialize()
void initialize() override;
~PythonProviders();
private:
void register_product(const std::vector<PythonInterpreter::product_t>& product_list,
PythonInterpreter::provider_funct_t f);
PythonInterpreter _interpreter;
};
#endif // PYTHON_PROVIDERS_H