mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-23 14:10:45 +00:00
Merge branch 'master' of ssh://git.code.sf.net/p/sleepyhead/code
This commit is contained in:
commit
25890a3be8
@ -266,7 +266,7 @@ void gLineChart::paint(QPainter &painter, gGraph &w, const QRegion ®ion)
|
||||
|
||||
int wid, h;
|
||||
GetTextExtent(text, wid, h);
|
||||
w.renderText(text, left + width/2 - wid/2, top -h);
|
||||
w.renderText(text, left + width/2 - wid/2, top-h+4);
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -352,10 +352,11 @@ void gLineOverlaySummary::paint(QPainter &painter, gGraph &w, const QRegion ®
|
||||
if ((w.graphView()->selectionInProgress() || w.graphView()->metaSelect()) && (!w.selDurString().isEmpty())) {
|
||||
a = QObject::tr("Duration")+": "+w.selDurString();
|
||||
} else {
|
||||
|
||||
if (!w.graphView()->metaSelect()) {
|
||||
a = QObject::tr("Events") + ": " + QString::number(cnt) + ", " +
|
||||
QObject::tr("Duration") + " " + QString().sprintf("%02i:%02i:%02i", h, m, s) + ", " + m_text + ": " + QString::number(val, 'f', 2);
|
||||
}
|
||||
}
|
||||
if (isSpan) {
|
||||
float sph;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user