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. QStackWidget page's widgets load multiple time
Forum Updated to NodeBB v4.3 + New Features

QStackWidget page's widgets load multiple time

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 290 Views 1 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.
  • K Offline
    K Offline
    KavadeDipak18
    wrote on last edited by
    #1

    hello all ,When I load the first index page on the Qstackwidget, there is a button. Initially, when I load this page and click the button, it works correctly. However, if I navigate to another page and then return to the first page and click the button again, the button's action is triggered twice. The number of times the button's action is called corresponds to the number of times I have loaded that index page. how to solve it ?

    mrjjM JonBJ 2 Replies Last reply
    0
    • K KavadeDipak18

      hello all ,When I load the first index page on the Qstackwidget, there is a button. Initially, when I load this page and click the button, it works correctly. However, if I navigate to another page and then return to the first page and click the button again, the button's action is triggered twice. The number of times the button's action is called corresponds to the number of times I have loaded that index page. how to solve it ?

      mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @KavadeDipak18
      Hi
      How do you "load" the page again?
      Sounds like you are call the same connect multiple times and it will then trigger multiple times.

      1 Reply Last reply
      1
      • K KavadeDipak18

        hello all ,When I load the first index page on the Qstackwidget, there is a button. Initially, when I load this page and click the button, it works correctly. However, if I navigate to another page and then return to the first page and click the button again, the button's action is triggered twice. The number of times the button's action is called corresponds to the number of times I have loaded that index page. how to solve it ?

        JonBJ Online
        JonBJ Online
        JonB
        wrote on last edited by
        #3

        @KavadeDipak18 said in QStackWidget page's widgets load multiple time:

        how to solve it ?

        Show code....

        1 Reply Last reply
        2

        • Login

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