From 74783557ebe24f3c77e8fdf0f9fb0c33efa84d60 Mon Sep 17 00:00:00 2001 From: ageay Date: Fri, 22 Jul 2011 09:26:16 +0000 Subject: [PATCH] *** empty log message *** --- src/Plot2d/Plot2d_ViewFrame.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 -- 2.39.2