MCPcopy Create free account
hub / github.com/cpvrlab/ImagePlay / unloadPlugins

Method unloadPlugins

ImagePlay/src/MainWindow.cpp:572–595  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

570}
571
572void MainWindow::unloadPlugins()
573{
574 // don't try to reload while running
575 if(ui->graphicsView->isRunning())
576 return;
577
578 setActiveProcessStep(NULL);
579 _allowChangeActiveProcessStep = false;
580 writeProcessFile();
581 clearScene();
582 _pluginManager->unloadPlugins();
583 readProcessFile();
584
585 // activate plugin tab
586 ui->processTabWidget->setCurrentIndex(ui->processTabWidget->count()-1);
587
588 // refresh process library
589 ui->processTabWidget->init(this);
590
591 // switch to last tab again
592 ui->processTabWidget->setCurrentIndex(ui->processTabWidget->count()-1);
593
594 _allowChangeActiveProcessStep = true;
595}
596
597void MainWindow::setFilterFocus()
598{

Callers 2

reloadPluginsMethod · 0.45

Calls 2

isRunningMethod · 0.80
initMethod · 0.45

Tested by

no test coverage detected