24 mock.get().loadQML(url);
29 mock.get().setModel(model);
34 return mock.get().mainWidget();
39 return mock.get().updateUIColor();
43 fakeit::Mock<QMLExecutorGuiInt>
mock;
The CANBusModel class is used to interface CAN operations with QML stack.
Definition canbusmodel.hpp:11
fakeit is broken so wrap broken solution to get it working with qt signals
Definition guimock.h:14
void updateUIColor() override
used to align empty QQuickWidget color with current color scheme
Definition guimock.h:37
QWidget * mainWidget() override
not used, return main widget for ui
Definition guimock.h:32
void setModel(CANBusModel *model) override
sets can bus model pointer
Definition guimock.h:27
fakeit::Mock< QMLExecutorGuiInt > mock
Definition guimock.h:43
void loadQML(const QUrl &url) override
Definition guimock.h:22
GuiMock(QObject *parent=nullptr)
Definition guimock.h:17
Interface of gui for QMLExecutor plugin.
Definition qmlexecutorguiint.h:16