I am developing a desktop application using Qt (Pyside) and Python.
Is there any library to validate all form fields at once on save button click? Please suggest if any.
I think you are looking for QValidator and its sublcasses QDoubleValidator
, QIntValidator
, and QRegExpValidator
.
There is usage example Line Edits Example
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.