From: ageay Date: Fri, 22 Jul 2011 09:26:16 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: V5_1_6~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=74783557ebe24f3c77e8fdf0f9fb0c33efa84d60;p=modules%2Fgui.git *** empty log message *** --- diff --git a/src/Plot2d/Plot2d_ViewFrame.h b/src/Plot2d/Plot2d_ViewFrame.h index a903be0b8..685c26ac3 100755 --- a/src/Plot2d/Plot2d_ViewFrame.h +++ b/src/Plot2d/Plot2d_ViewFrame.h @@ -141,7 +141,8 @@ public: void incrementalPan ( const int incrX, const int incrY ); void incrementalZoom( const int incrX, const int incrY ); - + Plot2d_Plot2d* getPlot() { return myPlot; } + void closingLaunched() { myViewIsClosing = true; } protected: int testOperation( const QMouseEvent& ); void readPreferences(); @@ -180,7 +181,7 @@ signals: void vpCurveChanged(); void contextMenuRequested( QContextMenuEvent *e ); void legendClicked( QwtPlotItem* ); - + void fitAllDone(); protected: Plot2d_Plot2d* myPlot; int myOperation; @@ -200,6 +201,7 @@ protected: int myXMode, myYMode; double myXDistance, myYDistance, myYDistance2; bool mySecondY; + bool myViewIsClosing; }; class Plot2d_Plot2d : public QwtPlot