Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. update main windos dialog
Qt 6.11 is out! See what's new in the release blog

update main windos dialog

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
3 Posts 2 Posters 770 Views
  • 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.
  • M Offline
    M Offline
    MrLibya
    wrote on last edited by
    #1

    i've the main dialog , and button to open login dialog , so i make the check for the login and after login is true it will close the login dialog , but then how i can update the main dialog ? in the main dialog there stuff it should to not show unless u succse in login , so do i need to make a new function for the main dialog to update and call it when i close the login dialog , or there is already antother way for that?

    raven-worxR 1 Reply Last reply
    0
    • M MrLibya

      i've the main dialog , and button to open login dialog , so i make the check for the login and after login is true it will close the login dialog , but then how i can update the main dialog ? in the main dialog there stuff it should to not show unless u succse in login , so do i need to make a new function for the main dialog to update and call it when i close the login dialog , or there is already antother way for that?

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      @MrLibya said in update main windos dialog:

      so do i need to make a new function for the main dialog to update and call it when i close the login dialog , or there is already antother way for that?

      Thats one possible solution.
      Or you could use Signal/Slots and just trigger a loginSucessful() signal for example and connect it to a updateData() slot in your main dialog.

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      M 1 Reply Last reply
      2
      • raven-worxR raven-worx

        @MrLibya said in update main windos dialog:

        so do i need to make a new function for the main dialog to update and call it when i close the login dialog , or there is already antother way for that?

        Thats one possible solution.
        Or you could use Signal/Slots and just trigger a loginSucessful() signal for example and connect it to a updateData() slot in your main dialog.

        M Offline
        M Offline
        MrLibya
        wrote on last edited by
        #3

        @raven-worx thx :)

        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