In a dialog, how can i determine which widget I want to make the active one upon load?
Unsolved
General and Desktop
-
I have a dialog box with 4 line edit widgets and I want the first one to have the focus everytime I display the dialog.
What do I need to set?
I thought putting the tab order would do it but it doesn't. -
use setFocus() for this line edit.
https://doc.qt.io/qt-6/qwidget.html#setFocus -
@jdent said in In a dialog, how can i determine which widget I want to make the active one upon load?:
is there no equivalent in Qt Designer?
1/4