MCPcopy Create free account
hub / github.com/GilesBathgate/RapCAD / openFile

Method openFile

src/ui/codeeditor.cpp:136–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134}
135
136bool CodeEditor::openFile()
137{
138 QString fileName=QFileDialog::getOpenFileName(this, tr("Open File..."),
139 QString(),tr("RapCAD Files (*.rcad);;All Files (*)"));
140 if(!fileName.isEmpty())
141 loadFile(fileName);
142 else
143 return false;
144
145 return true;
146}
147
148void CodeEditor::preferencesUpdated()
149{

Callers

nothing calls this directly

Calls 1

isEmptyMethod · 0.45

Tested by

no test coverage detected