Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. how can i use QWizard make a register/login wizard?
Forum Updated to NodeBB v4.3 + New Features

how can i use QWizard make a register/login wizard?

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 1.3k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O Offline
    O Offline
    opengpu2
    wrote on last edited by
    #1

    how can i use QWizard make a register/login wizard?
    eg.

    1. i want to quit the app when the user click Cancel button.
    2. when the username and password are right, then the code goes into the app.
    p3c0P 1 Reply Last reply
    0
    • O opengpu2

      how can i use QWizard make a register/login wizard?
      eg.

      1. i want to quit the app when the user click Cancel button.
      2. when the username and password are right, then the code goes into the app.
      p3c0P Offline
      p3c0P Offline
      p3c0
      Moderators
      wrote on last edited by
      #2

      @opengpu2 Did you check example this and this ? I guess it explains everything.

      157

      1 Reply Last reply
      0
      • O Offline
        O Offline
        opengpu2
        wrote on last edited by
        #3

        can i write like this?

        MyWizard w;
        w.show();
        if (w.IsRegisterFailed())
        return;

        QMainWindow mainWin;
        .....
        ....

        p3c0P 1 Reply Last reply
        0
        • O opengpu2

          can i write like this?

          MyWizard w;
          w.show();
          if (w.IsRegisterFailed())
          return;

          QMainWindow mainWin;
          .....
          ....

          p3c0P Offline
          p3c0P Offline
          p3c0
          Moderators
          wrote on last edited by
          #4

          @opengpu2 Sure why not. But depends on what IsRegisterFailed does and the requirement ?

          157

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved