MCPcopy Create free account
hub / github.com/LibreCAD/LibreCAD / getWindowWithDoc

Method getWindowWithDoc

librecad/src/main/qc_applicationwindow.cpp:3834–3847  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3832
3833
3834QC_MDIWindow* QC_ApplicationWindow::getWindowWithDoc(const RS_Document* doc)
3835{
3836 QC_MDIWindow* wwd = nullptr;
3837
3838 if (doc) {
3839 foreach (QC_MDIWindow* w, window_list) {
3840 if (w && w->getDocument() == doc) {
3841 wwd = w;
3842 break;
3843 }
3844 }
3845 }
3846 return wwd;
3847}
3848
3849void QC_ApplicationWindow::activateWindowWithFile(QString& fileName)
3850{

Callers 3

triggerMethod · 0.80
closeEditBlockWindowMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected