void BioXASGenericStepScanConfigurationAxesView::setControls(AMControlSet *newControls)
{
	if (controls_ != newControls) {
		controls_ = newControls;
		emit controlsChanged(controls_);
	}

	updateAxisViews();
}
Esempio n. 2
0
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()));
    }
}