コード例 #1
0
ファイル: DPDFFitControl.cpp プロジェクト: liyulun/mantid
/**
 * @brief Establish connections between objects instantiated in
 * DPDFBackgroundRemover. Thus, this method is called there.
 */
void FitControl::setConnections() {
  // rangeSelectorFit has been changed in the DisplayControl
  connect(m_displayControl, SIGNAL(signalRangeSelectorFitUpdated()), this,
          SLOT(updateFitRangeFromDisplayControl()));
  connect(this, SIGNAL(signalModelEvaluationFinished(const QString &)),
          m_displayControl,
          SLOT(updateModelEvaluationDisplay(const QString &)));
}
コード例 #2
0
/**
 * @brief pass the signal received from the fit-range selector
 */
void DisplayControl::rangeSelectorFitUpdated(const double &boundary) {
  UNUSED_ARG(boundary);
  emit signalRangeSelectorFitUpdated();
}