CANdevStudio
Development tool for CAN bus simulation
Loading...
Searching...
No Matches
QMLExecutorPrivate Class Reference

QMLExecutor plugin private implementation. More...

#include <qmlexecutor_p.h>

Inheritance diagram for QMLExecutorPrivate:
Collaboration diagram for QMLExecutorPrivate:

Public Slots

void setCANBusModel (CANBusModel *model)
 Sets a can bus model used in QML.
 
void QMLLoaded (const QUrl &url)
 QMLLoaded slot used for notification of QML load.
 

Public Member Functions

 QMLExecutorPrivate (QMLExecutor *q, QMLExecutorCtx &&ctx=QMLExecutorCtx(new QMLExecutorGuiImpl(nullptr)))
 constructor carring interface class and ui
 
 ~QMLExecutorPrivate ()
 
ComponentInterface::ComponentProperties getSupportedProperties () const
 
QJsonObject getSettings ()
 
void setSettings (const QJsonObject &json)
 
void configChanged ()
 
void startSimulation ()
 start simulation handler
 
void stopSimulation ()
 stop simulation handler
 
void updateUIColor ()
 used to align empty QQuickWidget color with current color scheme
 

Public Attributes

bool _simStarted { false }
 Simulation started flag.
 
QMLExecutorCtx _ctx
 ioc/iod container for a gui
 
QMLExecutorGuiInt_ui
 gui
 
bool _docked { true }
 not used
 
std::map< QString, QVariant > _props
 plugin properties
 

Detailed Description

QMLExecutor plugin private implementation.

Constructor & Destructor Documentation

◆ QMLExecutorPrivate()

QMLExecutorPrivate::QMLExecutorPrivate ( QMLExecutor q,
QMLExecutorCtx &&  ctx = QMLExecutorCtx(new QMLExecutorGuiImpl(nullptr)) 
)

constructor carring interface class and ui

Parameters
qqt stuff, interface class
ioc/iodcontainer with gui, created when not supplied

◆ ~QMLExecutorPrivate()

QMLExecutorPrivate::~QMLExecutorPrivate ( )

Member Function Documentation

◆ configChanged()

void QMLExecutorPrivate::configChanged ( )

◆ getSettings()

QJsonObject QMLExecutorPrivate::getSettings ( )
See also
ComponentInterface::getSettings

◆ getSupportedProperties()

ComponentInterface::ComponentProperties QMLExecutorPrivate::getSupportedProperties ( ) const

◆ QMLLoaded

void QMLExecutorPrivate::QMLLoaded ( const QUrl &  url)
slot

QMLLoaded slot used for notification of QML load.

Parameters
urlurl of a qml file

◆ setCANBusModel

void QMLExecutorPrivate::setCANBusModel ( CANBusModel model)
slot

Sets a can bus model used in QML.

Parameters
modelcan bus interface model

◆ setSettings()

void QMLExecutorPrivate::setSettings ( const QJsonObject &  json)
See also
ComponentInterface::setSettings

◆ startSimulation()

void QMLExecutorPrivate::startSimulation ( )

start simulation handler

◆ stopSimulation()

void QMLExecutorPrivate::stopSimulation ( )

stop simulation handler

◆ updateUIColor()

void QMLExecutorPrivate::updateUIColor ( )

used to align empty QQuickWidget color with current color scheme

Member Data Documentation

◆ _ctx

QMLExecutorCtx QMLExecutorPrivate::_ctx

ioc/iod container for a gui

◆ _docked

bool QMLExecutorPrivate::_docked { true }

not used

◆ _props

std::map<QString, QVariant> QMLExecutorPrivate::_props

plugin properties

See also
ComponentInterface

◆ _simStarted

bool QMLExecutorPrivate::_simStarted { false }

Simulation started flag.

◆ _ui

QMLExecutorGuiInt& QMLExecutorPrivate::_ui

gui


The documentation for this class was generated from the following files: