Salome HOME
updated copyright message
[modules/gui.git] / src / Plot2d / Plot2d_PlotItems.h
index 2ca3719f821f1b2ff848046384b64fbed90f9a05..04917db5dfd94ae68e781987ab90643628921c80 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2016  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2023  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@ -180,11 +180,16 @@ public:
 
   QList<QRect>     getBars() const;
 
-  virtual void     updateLegend( QwtPlotItem*,
-                                 QList<QwtLegendData>& );
+
+  virtual void     updateLegend( const QwtPlotItem *,
+                                  const QList<QwtLegendData> & );
   virtual void     draw( QPainter*, const QwtScaleMap&,
                          const QwtScaleMap&, const QRectF& ) const;
 
+  virtual void     itemChanged();
+
+  virtual QwtGraphic legendIcon( int index, const QSizeF & ) const;
+
   void             setCrossItems( bool theCross );
   bool             isCrossItems() const;