Salome HOME
PAL9636
[modules/gui.git] / src / Plot2d / Plot2d_Prs.h
1 #ifndef PLOT2D_PRS_H
2 #define PLOT2D_PRS_H
3
4 #include "Plot2d_Curve.h"
5
6 #include <qptrlist.h>
7
8 typedef QPtrList<Plot2d_Curve> curveList;
9
10 class PLOT2D_EXPORT Plot2d_Prs
11 {
12 public:
13   Plot2d_Prs( bool theDelete = false );
14   Plot2d_Prs( const Plot2d_Curve* obj, bool theDelete = false );
15   ~Plot2d_Prs();
16
17   curveList getCurves() const;
18   void AddObject( const Plot2d_Curve* obj );
19
20   bool IsNull() const;
21
22   bool isSecondY() const;
23
24   void setAutoDel(bool theDel);
25
26 protected:
27   curveList myCurves;
28   bool      mySecondY;
29 };
30
31 #endif