You can use QWidget::setTabOrder() to fix it, but you need to know the order of widgets. You can ask layouts for it or after you show the form, create a list of editors sorted by widgets' coordinates.