changeset 2377 | f3fab2b09e0c |
parent 1904 | 20348675b015 |
child 2948 | 3f21a9dc93d0 |
2376:ece7b87f1334 | 2377:f3fab2b09e0c |
---|---|
74 QVector<quint32> hps = i.value(); |
74 QVector<quint32> hps = i.value(); |
75 |
75 |
76 QPainterPath path; |
76 QPainterPath path; |
77 if (hps.size()) |
77 if (hps.size()) |
78 path.moveTo(0, hps[0]); |
78 path.moveTo(0, hps[0]); |
79 |
79 |
80 for(int t = 1; t < hps.size(); ++t) |
80 for(int t = 1; t < hps.size(); ++t) |
81 path.lineTo(t, hps[t]); |
81 path.lineTo(t, hps[t]); |
82 |
82 |
83 scene->addPath(path, QPen(c)); |
83 scene->addPath(path, QPen(c)); |
84 ++i; |
84 ++i; |