Added Zombie & Weight overview graphs

This commit is contained in:
Mark Watkins 2011-12-02 22:05:57 +10:00
parent fbe75a63b3
commit b571217170
2 changed files with 14 additions and 2 deletions

View File

@ -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);

View File

@ -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<SummaryChart *> OverviewCharts;
public slots: