void ShutterToolMainWindow::makeConnections() { connect( model(), SIGNAL(aodShutterControlConnected(bool)), this, SLOT(enableAutomaticShuttersOpenGUI(bool)) ); connect( model(), SIGNAL(shuttersConnected(bool)), this, SLOT(enableShutterControlGUI(bool)) ); connect( model(), SIGNAL(preInjectionControlsDisabled()), this, SLOT(onInjection()) ); connect( model(), SIGNAL(postInjectionControlsEnabled()), this, SLOT(onPostInjection()) ); connect( enableAutomaticShuttersOpenButton_, SIGNAL(clicked()), this, SLOT(onEnableButtonClicked()) ); connect( disableAutomaticShuttersOpenButton_, SIGNAL(clicked()), this, SLOT(onDisableButtonClicked()) ); connect( openShuttersButton_, SIGNAL(clicked()), this, SLOT(onOpenButtonClicked()) ); connect( closeShuttersButton_, SIGNAL(clicked()), this, SLOT(onCloseButtonClicked()) ); connect( model(), SIGNAL(shuttersOpen()), this, SLOT(onModelOpened()) ); connect( model(), SIGNAL(shuttersClosed()), this, SLOT(onModelClosed()) ); connect( model(), SIGNAL(shuttersBetween()), this, SLOT(onModelBetween()) ); }
void ExternalPlugin::modelClosed(const std::string& key) { LOG(Trace, "modelClosed, key = " << key); onModelClosed(key); }