diff options
| author | Nikita Kostovsky <luntik2012@gmail.com> | 2024-12-04 19:57:23 +0100 |
|---|---|---|
| committer | Nikita Kostovsky <luntik2012@gmail.com> | 2024-12-04 19:57:23 +0100 |
| commit | 80f2cf91af7706e56c871dfc9b826a5412869386 (patch) | |
| tree | 4d653ef76e6eeb488e460e3a5652b7f95feaac2b | |
| parent | 8f383df0c295e1049bcf2211869e0b069fb3890e (diff) | |
minor
| -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); } |
