[TD]add progress reporting framework
This commit is contained in:
committed by
WandererFan
parent
5a92b30f17
commit
ae3a955877
@@ -581,7 +581,12 @@ void DrawView::requestPaint()
|
||||
signalGuiPaint(this);
|
||||
}
|
||||
|
||||
PyObject *DrawView::getPyObject()
|
||||
void DrawView::showProgressMessage(std::string featureName, std::string text)
|
||||
{
|
||||
signalProgressMessage(this, featureName, text);
|
||||
}
|
||||
|
||||
PyObject *DrawView::getPyObject(void)
|
||||
{
|
||||
if (PythonObject.is(Py::_None())) {
|
||||
// ref counter is set to 1
|
||||
@@ -590,6 +595,8 @@ PyObject *DrawView::getPyObject()
|
||||
return Py::new_reference_to(PythonObject);
|
||||
}
|
||||
|
||||
#include <Mod/TechDraw/App/moc_DrawView.cpp>
|
||||
|
||||
// Python Drawing feature ---------------------------------------------------------
|
||||
|
||||
namespace App {
|
||||
|
||||
Reference in New Issue
Block a user