[Qt-interest] Verify email on server in QWizard
Tony Rietwyk
tony.rietwyk at rightsoft.com.au
Tue Jun 28 03:24:50 CEST 2011
> Sent: Tuesday, 28 June 2011 10:46 AM
>
> Hello.
>
> I'm creating dialog for registration of user. In one page
> user must enter
> his email. When he clicks on Next button, program must send email to
> server and if email not exists in base, must go to next page.
> If email
> exists, QWizardPage must print error message in QLabel. How
> can I do this.
> I watch LicenseWizard in Tutorials, nextId function just
> returns Id of the
> next page.
>
> Best regards,
> Nick.
Hi Nick,
I use a QWizard dialog built in the designer, so no wizard page overrides. I use nextId to setup each page, validateCurrentPage to do validation of fields, and a currentIdChanged slot to do the actual work depending on the page transition. I used an in-progress page while accessing the network.
It was extremely painful and frustrating to use. The history and cleanup mechanism kept getting in the way. It's a shame there is nothing simpler that just displays the pages in the correct system layout and images, without the extra crap!
Good luck!
Tony.
More information about the Qt-interest-old
mailing list