mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-06 19:20:45 +00:00
AntiAliasing stuff
This commit is contained in:
parent
484d6ae6c7
commit
04b37d0f7c
@ -249,6 +249,7 @@ void gLineChart::paint(QPainter &painter, gGraph &w, int left, int top, int widt
|
|||||||
painter.setClipping(true);
|
painter.setClipping(true);
|
||||||
QVector<QLine> lines;
|
QVector<QLine> lines;
|
||||||
lines.reserve(100000);
|
lines.reserve(100000);
|
||||||
|
painter.setRenderHint(QPainter::Antialiasing, true);
|
||||||
|
|
||||||
for (int gi = 0; gi < m_codes.size(); gi++) {
|
for (int gi = 0; gi < m_codes.size(); gi++) {
|
||||||
ChannelID code = m_codes[gi];
|
ChannelID code = m_codes[gi];
|
||||||
@ -699,6 +700,7 @@ void gLineChart::paint(QPainter &painter, gGraph &w, int left, int top, int widt
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
painter.setClipping(false);
|
painter.setClipping(false);
|
||||||
|
painter.setRenderHint(QPainter::Antialiasing, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -832,7 +832,7 @@ bool FPIconLoader::OpenDetail(Machine *mach, QString filename, Profile *profile)
|
|||||||
ti = qint64(sessid) * 1000L;
|
ti = qint64(sessid) * 1000L;
|
||||||
sess->really_set_first(ti);
|
sess->really_set_first(ti);
|
||||||
EventList *LK = sess->AddEventList(CPAP_LeakTotal, EVL_Event, 1);
|
EventList *LK = sess->AddEventList(CPAP_LeakTotal, EVL_Event, 1);
|
||||||
EventList *PR = sess->AddEventList(CPAP_Pressure, EVL_Event, 0.1);
|
EventList *PR = sess->AddEventList(CPAP_Pressure, EVL_Event, 0.1F);
|
||||||
EventList *FLG = sess->AddEventList(CPAP_FLG, EVL_Event);
|
EventList *FLG = sess->AddEventList(CPAP_FLG, EVL_Event);
|
||||||
EventList *OA = sess->AddEventList(CPAP_Obstructive, EVL_Event);
|
EventList *OA = sess->AddEventList(CPAP_Obstructive, EVL_Event);
|
||||||
EventList *H = sess->AddEventList(CPAP_Hypopnea, EVL_Event);
|
EventList *H = sess->AddEventList(CPAP_Hypopnea, EVL_Event);
|
||||||
|
Loading…
Reference in New Issue
Block a user