Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. signal action only specific object
QtWS25 Last Chance

signal action only specific object

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 122 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.
  • elicatE Offline
    elicatE Offline
    elicat
    wrote on last edited by elicat
    #1

    Hello,
    In my project into a main qml I create more object from an specific component.
    So I have

    main.qml
    tabSplit.qml
    

    And with dynamic code into main.qml I create other object from tabSplit.qml where signals are also defined (example : onLoadButton , so I have:

    main.qml
    VirtualObjectCreated_A.qml (from component tabSplit.qml)
    VirtualObjectCreated_B.qml (from component tabSplit.qml)
    

    When in my program I call the signal loadButton into c++ and the call start from the VirtualObjectCreated_B or VirtualObjectCreated_A

    emit loadButton(parameter);
    

    it happens that it is called twice

    how can I refer the signal to the object created in dynamic mode?

    Saluti, Gianfranco Elicat

    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