#ifndef VVITALS_H #define VVITALS_H // Qt #include // Project #include "BLEScanner.h" #include "main.h" #define UNSET 9999 // forward declarations class tst_views; namespace View { /*! * \brief The VVitals class * \details View for handling BP/HR data * * */ class VVitals : public QObject { Q_OBJECT private: // friends friend class ::tst_views; public: explicit VVitals(QObject *parent = nullptr); protected: PROPERTY(quint32, bloodPressureSystolic, UNSET) PROPERTY(quint32, bloodPressureDiastolic, UNSET) PROPERTY(quint32, pulseBPM, UNSET) private slots: void onReceiveBPMeasurement(BLEScanner::bp_measurement measurement); }; } #endif // VVITALS_H