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

Method activeDialog

src/Gui/Control.cpp:197–210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

195}
196
197Gui::TaskView::TaskDialog* ControlSingleton::activeDialog(App::Document* attachedTo) const
198{
199 attachedTo = docOrDefault(attachedTo);
200 if (!attachedTo) {
201 return nullptr;
202 }
203
204 Gui::TaskView::TaskView* taskView = taskPanel();
205
206 if (taskView) {
207 return taskView->dialog(attachedTo);
208 }
209 return nullptr;
210}
211
212void ControlSingleton::accept(App::Document* attachedTo)
213{

Callers 15

setEditMethod · 0.45
canCloseMethod · 0.45
isActiveMethod · 0.45
setEditMethod · 0.45
isActiveMethod · 0.45
exerciseFunction · 0.45
setEditMethod · 0.45
setEditMethod · 0.45
isActiveMethod · 0.45
setEditMethod · 0.45
setEditMethod · 0.45

Calls 1

dialogMethod · 0.80

Tested by 2

cleanup_gui_documentMethod · 0.36
testPDCreateSketchMethod · 0.36