5#include <QtCore/QScopedPointer>
53 void setConfig(
const QJsonObject& json)
override;
58 void setConfig(
const QWidget& qobject)
override;
68 std::shared_ptr<QWidget>
getQConfig()
const override;
102 void simBcastSnd(
const QJsonObject &msg,
const QVariant ¶m = QVariant())
override;
118 void simBcastRcv(
const QJsonObject &msg,
const QVariant ¶m)
override;
124 QScopedPointer<QMLExecutorPrivate> d_ptr;
The CANBusModel class is used to interface CAN operations with QML stack.
Definition canbusmodel.hpp:11
Interface of gui for QMLExecutor plugin.
Definition qmlexecutorguiint.h:16
Definition qmlexecutor.h:23
bool mainWidgetDocked() const override
Definition qmlexecutor.cpp:63
void simBcastRcv(const QJsonObject &msg, const QVariant ¶m) override
Definition qmlexecutor.cpp:87
ComponentInterface::ComponentProperties getSupportedProperties() const override
Definition qmlexecutor.cpp:68
QWidget * mainWidget() override
Definition qmlexecutor.cpp:25
QJsonObject getConfig() const override
Definition qmlexecutor.cpp:46
void mainWidgetDockToggled(QWidget *widget) override
void startSimulation() override
Definition qmlexecutor.cpp:80
void simBcastSnd(const QJsonObject &msg, const QVariant ¶m=QVariant()) override
void stopSimulation() override
Definition qmlexecutor.cpp:73
virtual ~QMLExecutor()
virtual dtor
Definition qmlexecutor.cpp:21
QMLExecutor()
constructor
Definition qmlexecutor.cpp:11
std::shared_ptr< QWidget > getQConfig() const override
Definition qmlexecutor.cpp:51
void configChanged() override
Definition qmlexecutor.cpp:58
void setCANBusModel(CANBusModel *model)
sets can bus model used from QML
Definition qmlexecutor.cpp:98
void setConfig(const QJsonObject &json) override
Definition qmlexecutor.cpp:32
QMLExecutor plugin private implementation.
Definition qmlexecutor_p.h:18
Context< QMLExecutorGuiInt > QMLExecutorCtx
single instance ioc/iod container
Definition qmlexecutor.h:18
Interface to be implemented by every component.
Definition componentinterface.h:15
std::vector< ComponentProperty > ComponentProperties
Definition componentinterface.h:66