void MainWindow::stopScript()
    {
        QueryWidget *widget = _workArea->currentQueryWidget();
        if (!widget)
            return;

        widget->stop();
    }
Exemple #2
0
 void WorkAreaWidget::stopScript()
 {
     QueryWidget *currentWidget = (QueryWidget *)_tabWidget->currentWidget();
     if (currentWidget)
         currentWidget->stop();
 }