Skip to content

Commit

Permalink
Auto update instrument details in Calib and Diag
Browse files Browse the repository at this point in the history
Refs #10266
  • Loading branch information
DanNixon committed Nov 4, 2014
1 parent 2810681 commit 86fcd61
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Expand Up @@ -120,6 +120,9 @@ namespace CustomInterfaces
m_uiForm.cal_valIntensityScaleMultiplier->setText(" ");

// SIGNAL/SLOT CONNECTIONS
// Update instrument information when a new instrument config is selected
connect(this, SIGNAL(newInstrumentConfiguration()), this, SLOT(setDefaultInstDetails()));

connect(m_rangeSelectors["ResPeak"], SIGNAL(rangeChanged(double, double)), m_rangeSelectors["ResBackground"], SLOT(setRange(double, double)));

// Update property map when a range seclector is moved
Expand Down
Expand Up @@ -90,6 +90,9 @@ namespace CustomInterfaces

// SIGNAL/SLOT CONNECTIONS

// Update instrument information when a new instrument config is selected
connect(this, SIGNAL(newInstrumentConfiguration()), this, SLOT(setDefaultInstDetails()));

// Update properties when a range selector is changed
connect(m_rangeSelectors["SlicePeak"], SIGNAL(selectionChangedLazy(double, double)), this, SLOT(rangeSelectorDropped(double, double)));
connect(m_rangeSelectors["SliceBackground"], SIGNAL(selectionChangedLazy(double, double)), this, SLOT(rangeSelectorDropped(double, double)));
Expand Down

0 comments on commit 86fcd61

Please sign in to comment.