Designer's Tab Order Editing Mode makes this pretty painless (and doesn't require physically editing the construction order of ui elements). We can't use Designer for MainWindow but it works fine for most of our other widgets/dialogs.
https://doc.qt.io/qt-6/designer-tab-order.html