[Qt-interest] QWizard with server validation
Николай Шатохин
n.shatokhin at gmail.com
Tue Aug 9 12:54:59 CEST 2011
Hello.
I want to validate email that entered by the user on server (email can be
already registered or not yet).
What is my plan:
I create a two QWizardPage: first for input email, second has waiting
animation. When user entered email and pressed next, I disable next button
and send email to server. Server validate email and send response back. If
email good I go to the next page (QWizard::next()), else - go to the
previous (QWizard::back()). But I have some problems:
1. How to disablle buttons? And enable when I will be on next page.
2. Can I receive signal if user clicked Back or Cancel buttons? I must abort
validation in this case.
3. How to validate email on client? If the user enters an invalid address I
do not need to send data to the server.
4. How to play animation?
Best regards,
Nick.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110809/f600accd/attachment.html
More information about the Qt-interest-old
mailing list