Changeset 12023


Ignore:
Timestamp:
09/08/11 09:59:37 (13 years ago)
Author:
tbretz
Message:
Added setting of min/max for feedback cameras.
Location:
trunk/FACT++/gui
Files:
2 edited

Legend:

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

    r11982 r12023  
    565565}
    566566
     567void MainWindow::on_fFeedbackDevMin_valueChanged(int min)
     568{
     569    fFeedbackDevCam->SetMin(min);
     570    fFeedbackDevCam->updateCamera();
     571}
     572
     573void MainWindow::on_fFeedbackDevMax_valueChanged(int max)
     574{
     575    fFeedbackDevCam->SetMax(max);
     576    fFeedbackDevCam->updateCamera();
     577}
     578
     579void MainWindow::on_fFeedbackRefMin_valueChanged(int min)
     580{
     581    fFeedbackRefCam->SetMin(min);
     582    fFeedbackRefCam->updateCamera();
     583}
     584
     585void MainWindow::on_fFeedbackRefMax_valueChanged(int max)
     586{
     587    fFeedbackRefCam->SetMax(max);
     588    fFeedbackRefCam->updateCamera();
     589}
     590
    567591void MainWindow::on_fBiasVoltDac_valueChanged(int val)
    568592{
     
    645669{
    646670    fBiasCamV->SetMin(min);
     671    fBiasCamV->updateCamera();
    647672}
    648673
     
    650675{
    651676    fBiasCamV->SetMax(max);
     677    fBiasCamV->updateCamera();
    652678}
    653679
     
    655681{
    656682    fBiasCamA->SetMin(min);
     683    fBiasCamA->updateCamera();
    657684}
    658685
     
    660687{
    661688    fBiasCamA->SetMax(max);
     689    fBiasCamA->updateCamera();
    662690}
    663691
  • trunk/FACT++/gui/MainWindow.h

    r11982 r12023  
    154154    void on_fFtuAllOff_clicked();
    155155
     156    // Tab: Feedback
     157    void on_fFeedbackDevMin_valueChanged(int);
     158    void on_fFeedbackDevMax_valueChanged(int);
     159    void on_fFeedbackRefMin_valueChanged(int);
     160    void on_fFeedbackRefMax_valueChanged(int);
     161
    156162    // Tab: Bias
    157163    virtual void BiasHvChannelChanged() = 0;
Note: See TracChangeset for help on using the changeset viewer.