Index: sources/view/vview.h =================================================================== diff -u -r3bdf58e8bee7d76eb19c1116738ff1e2c534ccc7 -rfe9182d85a7e707c5a476331e03ed493371f7f7f --- sources/view/vview.h (.../vview.h) (revision 3bdf58e8bee7d76eb19c1116738ff1e2c534ccc7) +++ sources/view/vview.h (.../vview.h) (revision fe9182d85a7e707c5a476331e03ed493371f7f7f) @@ -13,6 +13,25 @@ */ #pragma once +/*! + * \brief Denali Message UI usage instruction + * \details This comment explains how to use a Denali Message populated data in Denali UI Application + * + * 1 - Look at the message structure in the "message list.xlsx" + * + * 2 - View Implementation : + * Implement a view like VPressureOcclusion by copy/paste the closest model .h/.cpp file + * and adding it to project and modify to fit the new model. + * + * 3 - Register View : + * Add the required lines like the other models in the vview.h file. + * + * 4 - Usage in UI : + * Import : import VTreatmentPressureOcclusion 0.1; + * Instantiate : VTreatmentPressureOcclusion { id: vTreatmentPressureOcclusion } + * Access : value: vTreatmentPressureOcclusion.pressureocclusion_ArterialPressure + * + */ //--------------------------------------------------------------------------------// //--------------------------------------------------------------------------------// // The child declaration in header @@ -42,6 +61,7 @@ #include "vtreatmentbloodflow.h" #include "vtreatmentdialysateflow.h" #include "vtreatmentultrafiltration.h" +#include "vtreatmentpressureocclusion.h" #include "vtreatmenttime.h" #include "valarmstatus.h" #include "vpoweroff.h" @@ -50,6 +70,7 @@ REGISTER_TYPE( VTreatmentBloodFlow ) \ REGISTER_TYPE( VTreatmentDialysateFlow ) \ REGISTER_TYPE( VTreatmentUltrafiltration ) \ + REGISTER_TYPE( VTreatmentPressureOcclusion ) \ REGISTER_TYPE( VTreatmentTime ) \ REGISTER_TYPE( VAlarmStatus ) \ REGISTER_TYPE( VPowerOff )