https://bugs.kde.org/show_bug.cgi?id=494557

Kevin Kofler <kevin.kof...@chello.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kevin.kof...@chello.at

--- Comment #4 from Kevin Kofler <kevin.kof...@chello.at> ---
Have you tried setting it programmatically from the code using
QWidget::setTabOrder (https://doc.qt.io/qt-6/qwidget.html#setTabOrder)?

If that does not work, you can try to use QObject introspection to get the
KPasswordLineEdit embedded in the KNewPasswordWidget:
KPasswordLineEdit *passwordLineEdit =
m_EditPassphrase->findChild<KPasswordLineEdit *>(QString(),
Qt::FindDirectChildrenOnly);
and then playing around with that, maybe:
m_EditPassphrase->setFocusProxy(passwordLineEdit);
setTabOrder(…, m_EditPassphrase); // now that it has a valid focus proxy set

I also think this needs to be reported against KNewPasswordWidget. All widgets
ought to support setting the tab order.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to