diff options
| -rw-r--r-- | QmlCustomPlot.cpp | 4 | ||||
| -rw-r--r-- | main.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/QmlCustomPlot.cpp b/QmlCustomPlot.cpp index bba287e..4d560ce 100644 --- a/QmlCustomPlot.cpp +++ b/QmlCustomPlot.cpp @@ -128,8 +128,8 @@ void QmlCustomPlot::setLines(const QVector<QLineF> lines) // QRgb green = QRandomGenerator::generate(); // QRgb blue = QRandomGenerator::generate(); QColor color { QRgb { QRandomGenerator::global()->generate() } }; - color.setAlpha(100); - const QPen linePen(color, 4); + color.setAlpha(150); + const QPen linePen(color, 6); QCPItemLine * l; if(i >= m_lineItems.count()) @@ -162,7 +162,7 @@ int main(int argc, char *argv[]) } else { - qDebug() << "set lines. count is" << lines.count(); + // qDebug() << "set lines. count is" << lines.count(); qmlCustomPlot->setLines(lines); } |
