






| The Following User Says Thank You to Diph For This Useful Post: | ||
void MainWindow::on_pushButton_clicked()
{
QProgressDialog progress("Setting up the theme, please wait...", "Abort", 0, 1, this);
progress.setWindowModality(Qt::WindowModal);
progress.setValue(0);
QStringList arguments;
arguments << ui->Transition->currentText() << ui->Font->currentText() << ui->Color->currentText();
QProcess::execute("/sbin/myscriptlauncher", arguments);
progress.setValue(1);
}
| The Following User Says Thank You to Diph For This Useful Post: | ||

