MCPcopy Create free account
hub / github.com/MiniZinc/MiniZincIDE / requireMiniZinc

Method requireMiniZinc

MiniZincIDE/mainwindow.cpp:2708–2721  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2706}
2707
2708bool MainWindow::requireMiniZinc()
2709{
2710 if (!MznDriver::get().isValid()) {
2711 int ret = QMessageBox::warning(this,
2712 "MiniZinc IDE",
2713 "Could not find the minizinc executable.\nDo you want to open the solver settings dialog?",
2714 QMessageBox::Ok | QMessageBox::Cancel);
2715 if (ret == QMessageBox::Ok) {
2716 on_actionManage_solvers_triggered();
2717 }
2718 return false;
2719 }
2720 return true;
2721}
2722
2723void MainWindow::on_moocChanged(const MOOCAssignment* mooc)
2724{

Callers

nothing calls this directly

Calls 1

isValidMethod · 0.80

Tested by

no test coverage detected