##// END OF EJS Templates
Creates settings dialog and adds it to a new menu in MainWindow...
Creates settings dialog and adds it to a new menu in MainWindow The dialog will contain a set of widgets saved as a list (one entry per widget). By selecting an entry in the list, the corresponding widget will be displayed

File last commit:

r452:158d38bb6d5a
r463:6a4aa86600f2
Show More
ScalarSeries.cpp
13 lines | 480 B | text/x-c | CppLexer
/ core / src / Data / ScalarSeries.cpp
Alexandre Leroux
Creates scalar series
r126 #include <Data/ScalarSeries.h>
Alexandre Leroux
Creates constructor for ScalarSeries that directly takes vectors...
r392 ScalarSeries::ScalarSeries(QVector<double> xAxisData, QVector<double> valuesData,
const Unit &xAxisUnit, const Unit &valuesUnit)
: DataSeries{std::make_shared<ArrayData<1> >(std::move(xAxisData)), xAxisUnit,
std::make_shared<ArrayData<1> >(std::move(valuesData)), valuesUnit}
{
}
Alexandre Leroux
Use std::shared_ptr in CosinusProvider
r310 std::unique_ptr<IDataSeries> ScalarSeries::clone() const
{
return std::make_unique<ScalarSeries>(*this);
}