Skip to content
Extraits de code Groupes Projets
Valider 54bb0e34 rédigé par Jordan Aurey's avatar Jordan Aurey
Parcourir les fichiers

sig stop

parent 0b8632f7
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -109,6 +109,10 @@ void MainWindow::on_comboBox_currentTextChanged(const QString &arg1) ...@@ -109,6 +109,10 @@ void MainWindow::on_comboBox_currentTextChanged(const QString &arg1)
kill(PIDselected, SIGINT); kill(PIDselected, SIGINT);
} }
if (arg1 == "Stop"){
kill(PIDselected, SIGSTOP);
}
if (arg1 == "Continue"){ if (arg1 == "Continue"){
kill(PIDselected, SIGCONT); kill(PIDselected, SIGCONT);
} }
...@@ -121,6 +125,7 @@ void MainWindow::on_comboBox_currentTextChanged(const QString &arg1) ...@@ -121,6 +125,7 @@ void MainWindow::on_comboBox_currentTextChanged(const QString &arg1)
kill(PIDselected, SIGKILL); kill(PIDselected, SIGKILL);
} }
ui->comboBox->hide(); ui->comboBox->hide();
} }
......
...@@ -234,6 +234,11 @@ ...@@ -234,6 +234,11 @@
<string>Interrupt</string> <string>Interrupt</string>
</property> </property>
</item> </item>
<item>
<property name="text">
<string>Stop</string>
</property>
</item>
<item> <item>
<property name="text"> <property name="text">
<string>Continue</string> <string>Continue</string>
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter