Unsolved How to enable button while giving input on lineEdit in UI files.
-
How to enable button while giving input on lineEdit in UI files of pyside2
-
Hi,
You mean you would like to enable the button once the QLineEdit is not empty anymore ?
-
@yashi95
See void QLineEdit::textEdited(const QString &text), or possibly void QLineEdit::textChanged(const QString &text). Enable/disable your button inside a slot on that according as the text is or is not empty. -
@SGaist
Hi,
yes -
@yashi95
So you'll want to implement what I wrote.