Changeset 11803


Ignore:
Timestamp:
08/05/11 22:48:00 (14 years ago)
Author:
tbretz
Message:
Fixed text displayed in CameraMouseMove
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/gui/FactGui.h

    r11802 r11803  
    29742974                break;
    29752975
    2976         const int patch = ihw%4;
    2977         const int board = (ihw/4)%10;
    2978         const int crate = (ihw/4)/10;
     2976        const int patch = idx%4;
     2977        const int board = (idx/4)%10;
     2978        const int crate = (idx/4)/10;
    29792979        QString tipText;
    29802980        tipText += fRatesCanv->GetName();
    2981         tipText += " [";
    2982         tipText += "QCameraWidget";
    2983         tipText += "]: ";
    29842981        ostringstream str;
    2985         str << " (hw=" << ihw << ")  Patch=" << ii << " (hw=" << fPatchMapHW[idx] << "; Crate=" << crate << " Board=" << board << " Patch=" << patch << ")";
     2982        str << "  ||  Pixel=" << isw << " (hw=" << ihw << ")  ||  Patch=" << ii << " (hw=" << fPatchMapHW[idx] << "; Crate=" << crate << " Board=" << board << " Patch=" << patch << ")";
    29862983        tipText += str.str().c_str();
    29872984        fStatusBar->showMessage(tipText, 3000);
Note: See TracChangeset for help on using the changeset viewer.