| 1388 | } |
| 1389 | |
| 1390 | bool Layout::checkFocusEnabledChild() const |
| 1391 | { |
| 1392 | bool ret = false; |
| 1393 | for (Node* node : _children) |
| 1394 | { |
| 1395 | Widget* widget = dynamic_cast<Widget*>(node); |
| 1396 | if (widget && widget->isFocusEnabled()) |
| 1397 | { |
| 1398 | ret = true; |
| 1399 | break; |
| 1400 | } |
| 1401 | } |
| 1402 | return ret; |
| 1403 | } |
| 1404 | |
| 1405 | Widget* Layout::getChildWidgetByIndex(ssize_t index) const |
| 1406 | { |
nothing calls this directly
no test coverage detected