Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved Problem on list of checkbox signals

    Qt for Python
    1
    1
    213
    Loading More Posts
    • 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
      Moeka_Chan last edited by

      Hi,
      I created a list of checkboxes.
      The top one is for users to select/deselect all.
      When an instance is checked, it will be shown in the GUI.

      I use Qtstandarditemmodel for the checkboxes and itemChanged for signals.
      When 'all' is checked, it makes others checked by a loop.
      The problem is that all the instances are shown in GUI one after another.
      I want to make all the instances shown at the same time.

      The reason for showing one after another:

      When any single instance is check, it sends a signal to show the checked instance.
      However, when 'all' is checked, it checks all the instances one by one. When each instance is checked, this is like running the sentence above one by one. Thus, all the instances are not shown at the same time.

      1 Reply Last reply Reply Quote 0
      • First post
        Last post