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

Method name

MiniZincIDE/solver.cpp:516–537  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

514}
515
516QString SolverConfiguration::name() const
517{
518 QStringList parts;
519
520 if (isBuiltin) {
521 parts << solverDefinition.name
522 << solverDefinition.version;
523 } else {
524 if (paramFile.isEmpty()) {
525 parts << "Unsaved Configuration";
526 } else {
527 parts << QFileInfo(paramFile).completeBaseName();
528 }
529 parts << "(" + solverDefinition.name + " " + solverDefinition.version + ")";
530 }
531
532 if (modified) {
533 parts << "*";
534 }
535
536 return parts.join(" ");
537}
538
539QByteArray SolverConfiguration::toJSON(void) const
540{

Callers 6

styleSheetMethod · 0.45
populateComboBoxMethod · 0.45
showExecutionWindowMethod · 0.45
locationToLinkMethod · 0.45
handleHttpRequestMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected