Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. Problem on list of checkbox signals
QtWS25 Last Chance

Problem on list of checkbox signals

Scheduled Pinned Locked Moved Unsolved Qt for Python
1 Posts 1 Posters 329 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
    Moeka_Chan
    wrote on last edited by
    #1

    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
    0

    • Login

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