move on to modernize towards modern c++.

This commit is contained in:
2022-05-31 12:32:58 +02:00
parent 357e5d6069
commit d977a8cd1a
21 changed files with 97 additions and 97 deletions

View File

@@ -38,11 +38,11 @@
#include "PVarHandler.h"
//----------------------------------------------------------------------------
typedef struct {
struct PmuppPlotEntry {
int collIdx; ///< collection index
QString xLabel; ///< x-axis label
QVector<QString> yLabel; ///< y-axis label(s)
} PmuppPlotEntry;
};
//----------------------------------------------------------------------------
/**

View File

@@ -50,20 +50,20 @@
#define P_MENU_ID_ABOUT 10002
//--------------------------------------------------------------------------
typedef struct {
struct PDataPoint {
Double_t y;
Double_t eYpos;
Double_t eYneg;
} PDataPoint;
};
//--------------------------------------------------------------------------
typedef struct {
struct PDataCollection {
TString name; // collection name
TString xLabel;
PStringVector yLabel;
PDoubleVector xValue;
std::vector< std::vector<PDataPoint> > yValue;
} PDataCollection;
};
//--------------------------------------------------------------------------
class PMuppCanvas : public TObject, public TQObject