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

Method errorStr

static_libs/tooldatabase/tool.cpp:218–236  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216}
217
218QString Tool::errorStr() const
219{
220 QString errorString;
221 if (qFuzzyIsNull(m_diameter))
222 errorString += "Tool diameter = 0!\n";
223 if (qFuzzyIsNull(m_passDepth)) {
224 if (type() == Drill)
225 errorString += "Pass = 0!\n";
226 else
227 errorString += "Depth = 0!\n";
228 }
229 if (qFuzzyIsNull(m_feedRate))
230 errorString += "Feed rate = 0\n";
231 if (qFuzzyIsNull(m_stepover))
232 errorString += "Stepover = 0\n";
233 if (qFuzzyIsNull(m_plungeRate))
234 errorString += "Plunge rate = 0!\n";
235 return errorString;
236}
237
238void Tool::errorMessageBox(QWidget* parent) const
239{

Callers 1

ToolDatabaseMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected