Ignore:
Timestamp:
06/05/12 14:10:02 (13 years ago)
Author:
lyard
Message:
fixed zooming with qwt < 0x06
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/gui/RawEventsViewer/RawEventsViewer.cc

    r12967 r14076  
    370370
    371371    PixelMap mypMap;
    372     if (!mypMap.Read("FACTmap111030.txt"))
     372    if (!mypMap.Read("/swdev_nfs/FACT++/FACTmap111030.txt"))
    373373    {
    374374        cerr << "ERROR - Problems reading FACTmap111030.txt" << endl;
     
    411411    //Should not be required, but apparently it helps when piping it through X forwarding
    412412    glFinish();
    413     makeCurrent();
    414413    glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
    415414    glLoadIdentity();
     
    638637    catch (const runtime_error&)
    639638    {
    640         try
     639            try
    641640        {
    642641            inputFile->SetPtrAddress("PCTime", pcTime);
     
    19401939    QStack< QRectF > stack;
    19411940    stack.push(scaleBoundingRectangle(pixelValueCurveItem.boundingRect(), 1.5f));
     1941    curveZoom->setZoomBase(scaleBoundingRectangle(pixelValueCurveItem.boundingRect(), 1.5f));
    19421942    curveZoom->setZoomStack(stack);
    19431943    stack.pop();
    19441944    stack.push(scaleBoundingRectangle(pixelAverageCurveItem.boundingRect(), 1.5f));
     1945    averageCurveZoom->setZoomBase(scaleBoundingRectangle(pixelAverageCurveItem.boundingRect(), 1.5f));
    19451946    averageCurveZoom->setZoomStack(stack);
    19461947    stack.pop();
Note: See TracChangeset for help on using the changeset viewer.