In the class QCustomPlot have enums that I want to use in the constructor of the QWidget class, which uses class QCustomPlot.
#include "qcustomplot.h"
SignalViewerDialog::SignalViewerDialog(QVector<double> x_1,
QVector<double> y_1,
QCPScatterStyle::ScatterProperty ScatterProp,
QCPScatterStyle::ScatterShape ScatterShp,
QCPGraph::LineStyle LineSt,
QWidget *parent) : QDialog(parent)
ERROR
/Users/konstantin/Desktop/SVMGLEP/signalviewerdialog.cpp:72: ошибка: reference to type 'const QCPScatterStyle' could not bind to an lvalue of type 'QCPScatterStyle::ScatterProperty' ui.widgetGraph->graph()->setScatterStyle(ScatterProp); ^~~~~~~~~~~