MCPcopy Create free account
hub / github.com/aethersdr/AetherSDR / removeAll

Method removeAll

src/gui/PanadapterStack.cpp:427–446  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

425}
426
427void PanadapterStack::removeAll()
428{
429 // Close floating windows first
430 for (auto* fw : m_floatingWindows) {
431 fw->takeApplet();
432 delete fw;
433 }
434 m_floatingWindows.clear();
435
436 qDeleteAll(m_pans);
437 m_pans.clear();
438 m_activePanId.clear();
439
440 // Delete the old splitter and create a fresh one
441 delete m_splitter;
442 m_splitter = new QSplitter(Qt::Vertical, this);
443 m_splitter->setHandleWidth(3);
444 m_splitter->setChildrenCollapsible(false);
445 layout()->addWidget(m_splitter);
446}
447
448void PanadapterStack::rebuildDockedSplitter()
449{

Callers 5

unsubscribeMethod · 0.80
pushDspLevelTargetMethod · 0.80
popDspLevelTargetMethod · 0.80
rememberManualIpMethod · 0.80
tailFileFunction · 0.80

Calls 2

takeAppletMethod · 0.80
clearMethod · 0.45

Tested by

no test coverage detected