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

Method childWidgetAt

src/gui/containers/ContainerWidget.cpp:106–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104}
105
106QWidget* ContainerWidget::childWidgetAt(int index) const
107{
108 if (!m_bodyLayout) return nullptr;
109 if (index < 0 || index >= m_bodyLayout->count()) return nullptr;
110 QLayoutItem* item = m_bodyLayout->itemAt(index);
111 return item ? item->widget() : nullptr;
112}
113
114int ContainerWidget::indexOfChildWidget(QWidget* child) const
115{

Calls 2

countMethod · 0.80
widgetMethod · 0.45