MCPcopy Create free account
hub / github.com/FreeCAD/FreeCAD / setStatusText

Method setStatusText

src/Mod/Test/Gui/UnitTestPy.cpp:121–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119}
120
121Py::Object UnitTestDialogPy::setStatusText(const Py::Tuple& args)
122{
123 char* pstr = nullptr;
124 if (!PyArg_ParseTuple(args.ptr(), "s", &pstr)) {
125 throw Py::Exception();
126 }
127
128 UnitTestDialog::instance()->setStatusText(QString::fromLatin1(pstr));
129 return Py::None();
130}
131
132Py::Object UnitTestDialogPy::setProgressFrac(const Py::Tuple& args)
133{

Callers 6

clickedMethod · 0.45
addFaceMethod · 0.45
startedMethod · 0.45
initGUIMethod · 0.45
notifyStoppedMethod · 0.45
notifyTestStartedMethod · 0.45

Calls 3

ExceptionClass · 0.50
instanceFunction · 0.50
ptrMethod · 0.45

Tested by

no test coverage detected