fixed zooming problem

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorGui@241 af1100a4-978c-4157-bff7-07162d2ba061
This commit is contained in:
l_maliakal_d 2013-10-02 16:41:50 +00:00
parent 38570080b9
commit 4c662270cd
2 changed files with 6 additions and 1 deletions

View File

@ -64,6 +64,11 @@ INCLUDEPATH = \
slsDetectorPlotting/include\ slsDetectorPlotting/include\
include\ include\
forms/include\ forms/include\
/usr/include/qwt\ #these are not included for standard installations, also bin path should include qt4 bin, not qt3 bin
/usr/include/qt4\
/usr/include/Qt\
/usr/include/QtCore\
/usr/include/QtGui\
$(INCLUDES) $(INCLUDES)
#epics #epics
# $(INCLUDES) /usr/local/epics/base/include/ -I /usr/local/epics/base/include/os/Linux/ # $(INCLUDES) /usr/local/epics/base/include/ -I /usr/local/epics/base/include/os/Linux/

View File

@ -488,7 +488,7 @@ bool qDrawPlot::StartOrStopThread(bool start){
plot2D->GetPlot()->SetYMinMax(startPixel,endPixel); plot2D->GetPlot()->SetYMinMax(startPixel,endPixel);
plot2D->GetPlot()->SetZoom(-0.5,startPixel,nPixelsX,endPixel-startPixel); plot2D->GetPlot()->SetZoom(-0.5,startPixel,nPixelsX,endPixel-startPixel);
plot2D->GetPlot()->UnZoom(); plot2D->GetPlot()->UnZoom();
XYRangeChanged = true;
cout << "Starting new acquisition thread ...." << endl; cout << "Starting new acquisition thread ...." << endl;
// Start acquiring data from server // Start acquiring data from server