Changeset 12282 for trunk


Ignore:
Timestamp:
10/26/11 23:00:29 (13 years ago)
Author:
tbretz
Message:
Added some N/4 controls
Location:
trunk/FACT++/gui
Files:
2 edited

Legend:

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

    r12273 r12282  
    108108}
    109109
     110void MainWindow::on_fNoutof4Val_valueChanged(int val)
     111{
     112    const uint32_t data[2] = { -1, val };
     113
     114    if (!fInHandler)
     115        Dim::SendCommand("FTM_CONTROL/SET_N_OUT_OF_4", data);
     116}
     117
    110118void MainWindow::on_fRatesMin_valueChanged(int min)
    111119{
     
    122130    Dim::SendCommand("DIS_DNS/KILL_SERVERS");
    123131}
    124 
    125132
    126133void MainWindow::on_fShutdownAll_clicked()
  • trunk/FACT++/gui/MainWindow.h

    r12273 r12282  
    205205    virtual void on_fThresholdIdx_valueChanged(int) = 0;
    206206
     207    void on_fNoutof4Val_valueChanged(int);
     208
    207209    void on_fRatesMin_valueChanged(int); // FIXME: Could be set as slot in the designer
    208210    void on_fRatesMax_valueChanged(int); // FIXME: Could be set as slot in the designer
Note: See TracChangeset for help on using the changeset viewer.