I tried using this way but I did not succeed, the focus disappears and does not go to the next.
Code:
{ if(event->key()==Qt::Key_Enter) { this->nextInFocusChain()->setFocus(); } }
thanks for help!
Printable View
I tried using this way but I did not succeed, the focus disappears and does not go to the next.
Code:
{ if(event->key()==Qt::Key_Enter) { this->nextInFocusChain()->setFocus(); } }
thanks for help!
Simpy call QWidget::focusNextPrevChild(true).
Thanks, is perfect.
Code:
{ if(event->key()==Qt::Key_Enter) { this->focusNextPrevChild(true); } }