diff --git a/mathmech/mainwindow.cpp b/mathmech/mainwindow.cpp index d6cdc6f..7a3ee27 100644 --- a/mathmech/mainwindow.cpp +++ b/mathmech/mainwindow.cpp @@ -579,7 +579,7 @@ void MainWindow::on_stagen_pushButton_intRem_clicked() // start signals void MainWindow::on_trj_pushButton_start_clicked() { - ui->centralWidget->setDisabled(false); + ui->centralWidget->setDisabled(true); start_events_trj(); ui->centralWidget->setEnabled(true); } @@ -608,6 +608,7 @@ void MainWindow::start_events_trj() else log = QString("#"); + ui->statusBar->showMessage(QApplication::translate("MainWindow", "Processing 'trj'...")); ui->statusBar->showMessage(QApplication::translate("MainWindow", "Processing 'trj'...")); bool check = start_events->start_trj(mm_trj_path, workDir, @@ -668,6 +669,7 @@ void MainWindow::start_events_statgen() else log = QString("#"); + ui->statusBar->showMessage(QApplication::translate("MainWindow", "Processing 'statgen'...")); ui->statusBar->showMessage(QApplication::translate("MainWindow", "Processing 'statgen'...")); bool check = start_events->start_statgen(mm_statgen_path, workDir, @@ -718,6 +720,7 @@ void MainWindow::start_events_envir() else log = QString("#"); + ui->statusBar->showMessage(QApplication::translate("MainWindow", "Processing 'envir'...")); ui->statusBar->showMessage(QApplication::translate("MainWindow", "Processing 'envir'...")); bool check = start_events->start_envir(mm_envir_path, workDir, @@ -783,6 +786,7 @@ void MainWindow::start_events_radf() else matrix = 0; + ui->statusBar->showMessage(QApplication::translate("MainWindow", "Processing 'radf'...")); ui->statusBar->showMessage(QApplication::translate("MainWindow", "Processing 'radf'...")); bool check = start_events->start_radf(mm_radf_path, workDir, @@ -838,9 +842,15 @@ void MainWindow::start_events_pdb() log = QString("#"); if (ui->pdb_comboBox_mode->currentIndex() == 0) + { ui->statusBar->showMessage(QApplication::translate("MainWindow", "Processing 'agl'...")); + ui->statusBar->showMessage(QApplication::translate("MainWindow", "Processing 'agl'...")); + } else if (ui->pdb_comboBox_mode->currentIndex() == 1) + { ui->statusBar->showMessage(QApplication::translate("MainWindow", "Processing 'trj2pdb'...")); + ui->statusBar->showMessage(QApplication::translate("MainWindow", "Processing 'trj2pdb'...")); + } bool check; if (ui->pdb_comboBox_mode->currentIndex() == 0) check = start_events->start_pdb(mm_agl_path, diff --git a/mathmech/mathmech b/mathmech/mathmech index d4c45c0..a429b54 100755 Binary files a/mathmech/mathmech and b/mathmech/mathmech differ diff --git a/mathmech/mathmech.pro.user b/mathmech/mathmech.pro.user index f88739b..a754421 100644 --- a/mathmech/mathmech.pro.user +++ b/mathmech/mathmech.pro.user @@ -1,6 +1,6 @@ - + ProjectExplorer.Project.ActiveTarget