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

Method codeEditors

MiniZincIDE/mainwindow.cpp:2751–2761  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2749}
2750
2751QList<CodeEditor*> MainWindow::codeEditors()
2752{
2753 QList<CodeEditor*> ret;
2754 for (int i=0; i<ui->tabWidget->count(); i++) {
2755 CodeEditor* ce = qobject_cast<CodeEditor*>(ui->tabWidget->widget(i));
2756 if (ce) {
2757 ret << ce;
2758 }
2759 }
2760 return ret;
2761}
2762
2763void MainWindow::on_projectBrowser_runRequested(const QStringList& files)
2764{

Callers 5

MOOCSubmissionMethod · 0.80
testProject106GoodMethod · 0.80
testProject106BadMethod · 0.80
testProject105GoodMethod · 0.80
testProject105BadMethod · 0.80

Calls 2

countMethod · 0.80
widgetMethod · 0.45

Tested by 4

testProject106GoodMethod · 0.64
testProject106BadMethod · 0.64
testProject105GoodMethod · 0.64
testProject105BadMethod · 0.64