MCPcopy Create free account
hub / github.com/Liniyous/ElaWidgetTools / setWindowPixmap

Method setWindowPixmap

ElaWidgetTools/ElaWindow.cpp:678–690  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

676 {
677 return;
678 }
679 auto dockWidgetList = findChildren<QDockWidget*>();
680 for (const auto otherDock: dockWidgetList)
681 {
682 if (otherDock == dockWidget)
683 {
684 continue;
685 }
686 if (dockWidgetArea(otherDock) == area && otherDock->windowTitle() == targetDockTitle)
687 {
688 tabifyDockWidget(otherDock, dockWidget);
689 return;
690 }
691 }
692 // 未找到 按Area添加
693 addDockWidget(area, dockWidget);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected