void BioXASGenericStepScanConfigurationAxesView::setControls(AMControlSet *newControls) { if (controls_ != newControls) { controls_ = newControls; emit controlsChanged(controls_); } updateAxisViews(); }
void GcWindow::setControls(QWidget *x) { _controls = x; emit controlsChanged(_controls); if (x != NULL) { menu->clear(); menu->addAction(tr("Chart Settings"), this, SIGNAL(showControls())); menu->addAction(tr("Close"), this, SLOT(_closeWindow())); } }