Index: sources/gui/guiglobals.cpp =================================================================== diff -u -rc6a09899d2e46dc0bda5a6b994aa257953626f97 -r296e0e140bfeb193a9f571873afa6934143b1075 --- sources/gui/guiglobals.cpp (.../guiglobals.cpp) (revision c6a09899d2e46dc0bda5a6b994aa257953626f97) +++ sources/gui/guiglobals.cpp (.../guiglobals.cpp) (revision 296e0e140bfeb193a9f571873afa6934143b1075) @@ -19,6 +19,8 @@ // Project #include "logger.h" #include "guiview.h" +// Project - View +#include "vtreatmentflows.h" namespace Gui { QQuickView *_viewer = nullptr; @@ -35,6 +37,10 @@ qRegisterMetaType ("GuiAlarmID" ); qRegisterMetaType ("GuiAlarmPriority"); + + qRegisterMetaType < BloodFlowData >( "BloodFlowData" ); + qRegisterMetaType ("DialysateFlowData" ); + } /*! @@ -45,6 +51,8 @@ { qmlRegisterType ("Gui.View" , 0, 1, "GuiView"); qmlRegisterUncreatableType ("Gui.Actions", 0, 1, "GuiActions", QStringLiteral("Used only for enumerations no need to have an object")); + + qmlRegisterType ("Gui.VTreatmentFlows", 0, 1, "VTreatmentFlows"); } /*!