From b571217170a99ad47ad9fc40daee0962df155231 Mon Sep 17 00:00:00 2001 From: Mark Watkins Date: Fri, 2 Dec 2011 22:05:57 +1000 Subject: [PATCH] Added Zombie & Weight overview graphs --- overview.cpp | 12 ++++++++++++ overview.h | 4 ++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/overview.cpp b/overview.cpp index 45ca3317..9ff79b06 100644 --- a/overview.cpp +++ b/overview.cpp @@ -109,6 +109,18 @@ Overview::Overview(QWidget *parent,gGraphView * shared) : PTB=createGraph("Pat. Trig. Br."); PULSE=createGraph("Pulse Rate"); SPO2=createGraph("SpO2"); + WEIGHT=createGraph("Weight"); + ZOMBIE=createGraph("Zombie"); + + weight=new SummaryChart("Pulse Rate",GT_LINE); + weight->setMachineType(MT_JOURNAL); + weight->addSlice("Weight",QColor("black"),ST_SETAVG); + WEIGHT->AddLayer(weight); + + zombie=new SummaryChart("Zombie Meter",GT_LINE); + zombie->setMachineType(MT_JOURNAL); + zombie->addSlice("ZombieMeter",QColor("dark gray"),ST_SETAVG); + ZOMBIE->AddLayer(zombie); pulse=new SummaryChart("Pulse Rate",GT_LINE); pulse->setMachineType(MT_OXIMETER); diff --git a/overview.h b/overview.h index 2f9e516a..37915719 100644 --- a/overview.h +++ b/overview.h @@ -37,8 +37,8 @@ public: void PrintReport(); - gGraph *AHI,*UC, *US, *PR,*LK,*NPB,*SET,*SES,*RR,*MV,*TV,*PTB,*PULSE,*SPO2; - SummaryChart *bc,*uc, *us, *pr,*lk,*npb,*set,*ses,*rr,*mv,*tv,*ptb,*pulse,*spo2; + gGraph *AHI,*UC, *US, *PR,*LK,*NPB,*SET,*SES,*RR,*MV,*TV,*PTB,*PULSE,*SPO2,*WEIGHT,*ZOMBIE; + SummaryChart *bc,*uc, *us, *pr,*lk,*npb,*set,*ses,*rr,*mv,*tv,*ptb,*pulse,*spo2,*weight,*zombie; QVector OverviewCharts; public slots: