MCPcopy Create free account
hub / github.com/XRay3D/GERBER_X3 / editGcFile

Method editGcFile

GGEasy/mainwindow.cpp:893–911  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

891}
892
893void MainWindow::editGcFile(GCode::File* file)
894{
895 switch (file->gtype()) {
896 case GCode::Null:
897 case GCode::Profile:
898 toolpathActions[GCode::Profile]->triggered();
899 reinterpret_cast<FormsUtil*>(m_dockWidget->widget())->editFile(file);
900 break;
901 case GCode::Pocket:
902 case GCode::Voronoi:
903 case GCode::Thermal:
904 case GCode::Drill:
905 case GCode::GCodeProperties:
906 case GCode::Raster:
907 case GCode::LaserHLDI:
908 default:
909 break;
910 }
911}
912
913bool MainWindow::saveFile(const QString& fileName)
914{

Callers

nothing calls this directly

Calls 2

gtypeMethod · 0.80
editFileMethod · 0.45

Tested by

no test coverage detected