Snippets for zegrapher 3.1.1 from Nix aarch64-darwin
Sourced from https://hydra.nixos.org/log/glb19hpbw53jcfb38cv3lq40piskzrxj-zegrapher-3.1.1.drv.
-
GraphDraw/printpreview.cpp:58:14: warning: 'setPaperSize' is deprecated: Use setPageSize(QPageSize) instead. [-Wdeprecated-declarations] 58 | printer->setPaperSize(QPrinter::A4); | ^ -
GraphDraw/printpreview.cpp:67:18: warning: 'setOrientation' is deprecated: Use setPageOrientation() instead. [-Wdeprecated-declarations] 67 | printer->setOrientation(QPrinter::Portrait); | ^ -
GraphDraw/printpreview.cpp:68:19: warning: 'setOrientation' is deprecated: Use setPageOrientation() instead. [-Wdeprecated-declarations] 68 | else printer->setOrientation(QPrinter::Landscape); | ^ -
GraphDraw/printpreview.cpp:73:28: warning: 'paperRect' is deprecated: Use pageLayout().fullRectPixels(resolution()) instead. [-Wdeprecated-declarations] 73 | QRect sheet = printer->paperRect(); | ^ -
GraphDraw/printpreview.cpp:86:35: warning: 'paperRect' is deprecated: Use pageLayout().fullRectPixels(resolution()) instead. [-Wdeprecated-declarations] 86 | painter.drawRect(printer->paperRect()); | ^ -
GraphDraw/maingraph.cpp:263:23: warning: 'pos' is deprecated: Use position() [-Wdeprecated-declarations] 263 | double x = event->pos().x(); | ^ -
GraphDraw/maingraph.cpp:264:23: warning: 'pos' is deprecated: Use position() [-Wdeprecated-declarations] 264 | double y = event->pos().y(); | ^ -
GraphDraw/maingraph.cpp:380:42: warning: 'qrand' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 380 | qDebug() << "indirect paint " << qrand(); | ^ -
GraphDraw/maingraph.cpp:385:40: warning: 'qrand' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 385 | qDebug() << "direct paint " << qrand(); | ^ -
GraphDraw/imagepreview.cpp:197:50: warning: 'width' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 197 | int xLegendWidth = painter.fontMetrics().width(xLegend); | ^ -
GraphDraw/imagepreview.cpp:208:50: warning: 'width' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 208 | int yLegendWidth = painter.fontMetrics().width(yLegend); | ^ -
GraphDraw/imagepreview.cpp:264:33: warning: 'width' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 264 | space = fontMetrics.width(num); | ^ -
GraphDraw/imagepreview.cpp:270:33: warning: 'width' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 270 | space = fontMetrics.width("0"); | ^ -
GraphDraw/imagepreview.cpp:308:33: warning: 'width' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 308 | space = fontMetrics.width(num) + 5; | ^ -
GraphDraw/imagepreview.cpp:318:33: warning: 'width' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 318 | space = fontMetrics.width("0") + 5; | ^ -
DataPlot/datatable.cpp:262:9: warning: 'qSort<QList<double>::iterator, int (*)(double, double)>' is deprecated: Use std::sort [-Wdeprecated-declarations] 262 | qSort(values[col].begin(), values[col].end(), doubleCompareAscend); | ^ -
DataPlot/datatable.cpp:263:10: warning: 'qSort<QList<double>::iterator, int (*)(double, double)>' is deprecated: Use std::sort [-Wdeprecated-declarations] 263 | else qSort(values[col].begin(), values[col].end(), doubleCompareDescend); | ^ -
DataPlot/datatable.cpp:272:41: warning: 'setBackgroundColor' is deprecated: Use QTableWidgetItem::setBackground() instead [-Wdeprecated-declarations] 272 | tableWidget->item(row,col)->setBackgroundColor(backgroundColor); | ^ -
DataPlot/datatable.cpp:273:41: warning: 'setTextColor' is deprecated: Use QTableWidgetItem::setForeground() instead [-Wdeprecated-declarations] 273 | tableWidget->item(row,col)->setTextColor(textColor); | ^ -
DataPlot/datatable.cpp:278:41: warning: 'setBackgroundColor' is deprecated: Use QTableWidgetItem::setBackground() instead [-Wdeprecated-declarations] 278 | tableWidget->item(row,col)->setBackgroundColor(VALID_COLOR); | ^ -
DataPlot/datatable.cpp:279:41: warning: 'setTextColor' is deprecated: Use QTableWidgetItem::setForeground() instead [-Wdeprecated-declarations] 279 | tableWidget->item(row,col)->setTextColor(Qt::black); | ^ -
DataPlot/datatable.cpp:317:9: warning: 'qSort<QList<QList<double>>::iterator, int (*)(QList<double>, QList<double>)>' is deprecated: Use std::sort [-Wdeprecated-declarations] 317 | qSort(vals.begin(), vals.end(), listCompareAscend); | ^ -
DataPlot/datatable.cpp:318:10: warning: 'qSort<QList<QList<double>>::iterator, int (*)(QList<double>, QList<double>)>' is deprecated: Use std::sort [-Wdeprecated-declarations] 318 | else qSort(vals.begin(), vals.end(), listCompareDescend); | ^ -
DataPlot/datatable.cpp:330:45: warning: 'setBackgroundColor' is deprecated: Use QTableWidgetItem::setBackground() instead [-Wdeprecated-declarations] 330 | tableWidget->item(row,col)->setBackgroundColor(backgroundColor); | ^ -
DataPlot/datatable.cpp:331:45: warning: 'setTextColor' is deprecated: Use QTableWidgetItem::setForeground() instead [-Wdeprecated-declarations] 331 | tableWidget->item(row,col)->setTextColor(textColor); | ^ -
DataPlot/datatable.cpp:336:45: warning: 'setBackgroundColor' is deprecated: Use QTableWidgetItem::setBackground() instead [-Wdeprecated-declarations] 336 | tableWidget->item(row,col)->setBackgroundColor(VALID_COLOR); | ^ -
DataPlot/datatable.cpp:337:45: warning: 'setTextColor' is deprecated: Use QTableWidgetItem::setForeground() instead [-Wdeprecated-declarations] 337 | tableWidget->item(row,col)->setTextColor(Qt::black); | ^ -
DataPlot/datatable.cpp:371:15: warning: 'setBackgroundColor' is deprecated: Use QTableWidgetItem::setBackground() instead [-Wdeprecated-declarations] 371 | item->setBackgroundColor(VALID_COLOR); | ^ -
DataPlot/datatable.cpp:372:15: warning: 'setTextColor' is deprecated: Use QTableWidgetItem::setForeground() instead [-Wdeprecated-declarations] 372 | item->setTextColor(Qt::black); | ^ -
DataPlot/datatable.cpp:418:19: warning: 'setBackgroundColor' is deprecated: Use QTableWidgetItem::setBackground() instead [-Wdeprecated-declarations] 418 | item->setBackgroundColor(backgroundColor); | ^ -
DataPlot/datatable.cpp:419:19: warning: 'setTextColor' is deprecated: Use QTableWidgetItem::setForeground() instead [-Wdeprecated-declarations] 419 | item->setTextColor(textColor); | ^ -
DataPlot/datatable.cpp:424:19: warning: 'setBackgroundColor' is deprecated: Use QTableWidgetItem::setBackground() instead [-Wdeprecated-declarations] 424 | item->setBackgroundColor(VALID_COLOR); | ^ -
DataPlot/datatable.cpp:425:19: warning: 'setTextColor' is deprecated: Use QTableWidgetItem::setForeground() instead [-Wdeprecated-declarations] 425 | item->setTextColor(Qt::black); | ^ -
DataPlot/datatable.cpp:466:15: warning: 'setBackgroundColor' is deprecated: Use QTableWidgetItem::setBackground() instead [-Wdeprecated-declarations] 466 | item->setBackgroundColor(backgroundColor); | ^ -
DataPlot/datatable.cpp:467:15: warning: 'setTextColor' is deprecated: Use QTableWidgetItem::setForeground() instead [-Wdeprecated-declarations] 467 | item->setTextColor(textColor); | ^ -
DataPlot/datatable.cpp:477:19: warning: 'setBackgroundColor' is deprecated: Use QTableWidgetItem::setBackground() instead [-Wdeprecated-declarations] 477 | item->setBackgroundColor(VALID_COLOR); | ^ -
DataPlot/datatable.cpp:478:19: warning: 'setTextColor' is deprecated: Use QTableWidgetItem::setForeground() instead [-Wdeprecated-declarations] 478 | item->setTextColor(Qt::black); | ^ -
DataPlot/datatable.cpp:487:19: warning: 'setBackgroundColor' is deprecated: Use QTableWidgetItem::setBackground() instead [-Wdeprecated-declarations] 487 | item->setBackgroundColor(INVALID_COLOR); | ^ -
DataPlot/datatable.cpp:488:19: warning: 'setTextColor' is deprecated: Use QTableWidgetItem::setForeground() instead [-Wdeprecated-declarations] 488 | item->setTextColor(Qt::black); | ^ -
/nix/store/96dd61jhi1rk5cilr4rblnhxwjd00pgk-boost-1.86.0-dev/include/boost/math/tools/config.hpp:26:6: warning: "Boost.Math requires C++14" [-W#warnings] 26 | # warning "Boost.Math requires C++14" | ^ -
Calculus/polynomialregression.cpp:63:5: warning: 'qSort<QList<Point>>' is deprecated: Use std::sort [-Wdeprecated-declarations] 63 | qSort(dataPoints); | ^ -
/nix/store/96dd61jhi1rk5cilr4rblnhxwjd00pgk-boost-1.86.0-dev/include/boost/multiprecision/detail/standalone_config.hpp:36:7: warning: "The minimum language standard to use Boost.Math will be C++14 starting in July 2023 (Boost 1.82 release)" [-W#warnings] 36 | # warning "The minimum language standard to use Boost.Math will be C++14 starting in July 2023 (Boost 1.82 release)" | ^