Changeset 12293


Ignore:
Timestamp:
10/27/11 04:58:33 (13 years ago)
Author:
tbretz
Message:
Added controls for rate scan tab.
Location:
trunk/FACT++/gui
Files:
2 edited

Legend:

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

    r12282 r12293  
    110110void MainWindow::on_fNoutof4Val_valueChanged(int val)
    111111{
    112     const uint32_t data[2] = { -1, val };
    113 
    114     if (!fInHandler)
    115         Dim::SendCommand("FTM_CONTROL/SET_N_OUT_OF_4", data);
     112    const uint32_t v[2] = { -1, val };
     113
     114    if (!fInHandler)
     115        Dim::SendCommand("FTM_CONTROL/SET_N_OUT_OF_4", v);
    116116}
    117117
  • trunk/FACT++/gui/MainWindow.h

    r12282 r12293  
    205205    virtual void on_fThresholdIdx_valueChanged(int) = 0;
    206206
     207    virtual void on_fBoardRatesEnabled_toggled(bool) = 0;
     208
    207209    void on_fNoutof4Val_valueChanged(int);
    208210
     
    222224    void on_fRateBoard1_valueChanged(int) { DisplayRates(); }
    223225    void on_fRateBoard2_valueChanged(int) { DisplayRates(); }
     226
     227    // Tab: RateScan
     228
     229    virtual void DisplayRateScan() = 0;
     230    void on_fRateScanPatch1_valueChanged(int) { DisplayRateScan(); }
     231    void on_fRateScanPatch2_valueChanged(int) { DisplayRateScan(); }
     232    void on_fRateScanBoard1_valueChanged(int) { DisplayRateScan(); }
     233    void on_fRateScanBoard2_valueChanged(int) { DisplayRateScan(); }
    224234
    225235    // Tab: Chat
Note: See TracChangeset for help on using the changeset viewer.