mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-05 10:40:42 +00:00
Disable Flex EPAP trace, seeing it doesn't want to plot. Will revisit later
This commit is contained in:
parent
e785a1b604
commit
09f47ef2f1
@ -286,7 +286,6 @@ void MinutesAtPressure::paint(QPainter &painter, gGraph &graph, const QRegion &r
|
||||
row++;
|
||||
}
|
||||
|
||||
#ifdef UGLYLINES
|
||||
float maxmins = float(maxtime) / 60.0;
|
||||
float ymult = height / maxmins;
|
||||
|
||||
@ -308,7 +307,7 @@ void MinutesAtPressure::paint(QPainter &painter, gGraph &graph, const QRegion &r
|
||||
float minutes = float(it.value()) / 60.0;
|
||||
y2 = minutes * ymult;
|
||||
|
||||
painter.drawLine(xpos, bottom-y1, xpos+pix, bottom-y2);
|
||||
// painter.drawLine(xpos, bottom-y1, xpos+pix, bottom-y2);
|
||||
y1 = y2;
|
||||
xpos += pix;
|
||||
}
|
||||
@ -349,7 +348,7 @@ void MinutesAtPressure::paint(QPainter &painter, gGraph &graph, const QRegion &r
|
||||
schema::ChanType type = chan.type();
|
||||
if (type == schema::SPAN)
|
||||
continue;
|
||||
painter.setPen(QPen(QColor(chan.defaultColor()), 2));
|
||||
//painter.setPen(QPen(QColor(chan.defaultColor()), 2));
|
||||
eit = events.find(code);
|
||||
xpos = left;//+pix/2;
|
||||
|
||||
@ -362,7 +361,7 @@ void MinutesAtPressure::paint(QPainter &painter, gGraph &graph, const QRegion &r
|
||||
y2 = value * emult;
|
||||
//painter.drawPoint(xpos, bottom-y1);
|
||||
|
||||
painter.drawLine(xpos, bottom-y1, xpos+pix, bottom-y2);
|
||||
// painter.drawLine(xpos, bottom-y1, xpos+pix, bottom-y2);
|
||||
|
||||
xpos += pix;
|
||||
y1 = y2;
|
||||
@ -371,7 +370,6 @@ void MinutesAtPressure::paint(QPainter &painter, gGraph &graph, const QRegion &r
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
// QString txt=QString("%1 %2").arg(maxmins).arg(float(maxevents * 60.0) / maxmins);
|
||||
// graph.renderText(txt, rect.left(), rect.top()-10);
|
||||
|
||||
|
@ -1428,10 +1428,10 @@ bool PRS1Import::ParseF0Events()
|
||||
|
||||
// Perhaps this check is not necessary, as it will theoretically add extra resolution to pressure chart
|
||||
// for bipap models and above???
|
||||
if (mode <= MODE_BILEVEL_FIXED) {
|
||||
if (!(EPAP = session->AddEventList(CPAP_EPAP, EVL_Event, 0.1F))) { return false; }
|
||||
EPAP->AddEvent(t, data[0]);
|
||||
}
|
||||
// if (mode <= MODE_BILEVEL_FIXED) {
|
||||
// if (!(EPAP = session->AddEventList(CPAP_EPAP, EVL_Event, 0.1F))) { return false; }
|
||||
// EPAP->AddEvent(t, data[0]);
|
||||
// }
|
||||
}
|
||||
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user