##// END OF EJS Templates
Adds plugin column to variable widget...
Adds plugin column to variable widget To retrieve the "plugin" field, we add to the metadata of the variable the name of the data source root item

File last commit:

r351:057ef7ee6e0d
r551:b0a7e1650d9f
Show More
MockPlugin.h
25 lines | 535 B | text/x-c | CLexer
Alexandre Leroux
Create mock plugin
r99 #ifndef SCIQLOP_MOCKPLUGIN_H
#define SCIQLOP_MOCKPLUGIN_H
Alexandre Leroux
Adds Q_DECL_EXPORT for Mock plugin
r351 #include "MockPluginGlobal.h"
Alexandre Leroux
Create mock plugin
r99 #include <Plugin/IPlugin.h>
#include <QLoggingCategory>
#include <memory>
Q_DECLARE_LOGGING_CATEGORY(LOG_MockPlugin)
class DataSourceItem;
Alexandre Leroux
Adds Q_DECL_EXPORT for Mock plugin
r351 class SCIQLOP_MOCKPLUGIN_EXPORT MockPlugin : public QObject, public IPlugin {
Alexandre Leroux
Create mock plugin
r99 Q_OBJECT
Q_INTERFACES(IPlugin)
Q_PLUGIN_METADATA(IID "sciqlop.plugin.IPlugin" FILE "mockplugin.json")
public:
/// @sa IPlugin::initialize()
void initialize() override;
};
#endif // SCIQLOP_MOCKPLUGIN_H