Another method that might be worth reimplementing for simplicity : QWidget::focusNextPrevChild()