103 const QString _nameProperty =
"name";
104 const QString _fileProperty =
"QML file";
113 std::make_tuple(_nameProperty, QVariant::String,
true, cf(
nullptr)),
114 std::make_tuple(_fileProperty, QVariant::String,
true, cf([] {
return new PropertyFieldPath; } ))
The CANBusModel class is used to interface CAN operations with QML stack.
Definition canbusmodel.hpp:11
QMLExecutor plugin gui implementation.
Definition qmlexecutorguiimpl.h:29
Interface of gui for QMLExecutor plugin.
Definition qmlexecutorguiint.h:16
Definition qmlexecutor.h:23
QMLExecutor plugin private implementation.
Definition qmlexecutor_p.h:18
bool _simStarted
Simulation started flag.
Definition qmlexecutor_p.h:89
void startSimulation()
start simulation handler
Definition qmlexecutor_p.cpp:79
void configChanged()
Definition qmlexecutor_p.cpp:61
QMLExecutorGuiInt & _ui
gui
Definition qmlexecutor_p.h:93
ComponentInterface::ComponentProperties getSupportedProperties() const
Definition qmlexecutor_p.cpp:35
QMLExecutorCtx _ctx
ioc/iod container for a gui
Definition qmlexecutor_p.h:91
void setSettings(const QJsonObject &json)
Definition qmlexecutor_p.cpp:51
bool _docked
not used
Definition qmlexecutor_p.h:96
void setCANBusModel(CANBusModel *model)
Sets a can bus model used in QML.
Definition qmlexecutor_p.cpp:68
QJsonObject getSettings()
Definition qmlexecutor_p.cpp:40
std::map< QString, QVariant > _props
plugin properties
Definition qmlexecutor_p.h:99
~QMLExecutorPrivate()
Definition qmlexecutor_p.cpp:22
void updateUIColor()
used to align empty QQuickWidget color with current color scheme
Definition qmlexecutor_p.cpp:95
void stopSimulation()
stop simulation handler
Definition qmlexecutor_p.cpp:87
void QMLLoaded(const QUrl &url)
QMLLoaded slot used for notification of QML load.
Definition qmlexecutor_p.cpp:74
Context< QMLExecutorGuiInt > QMLExecutorCtx
single instance ioc/iod container
Definition qmlexecutor.h:18
std::vector< ComponentProperty > ComponentProperties
Definition componentinterface.h:66
std::function< QWidget *(void)> CustomEditFieldCbk
Definition componentinterface.h:64
Definition propertyfields.h:49