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. Connect to Qml onCompleted attached signal from C++
Forum Updated to NodeBB v4.3 + New Features

Connect to Qml onCompleted attached signal from C++

Scheduled Pinned Locked Moved QML and Qt Quick
3 Posts 2 Posters 3.2k 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.
  • I Offline
    I Offline
    inean
    wrote on last edited by
    #1

    Hey

    I want to push a dynamically created QtComponents Page based instance into a PageStack. To be able to do that, I need to call pagestack.push method AFTER pageStack is initiated with all property bindings up and running.
    Can I in someway, connect to the Component.onCompleted signal from C++ land? Keep on mind that this is an attached signal...

    1 Reply Last reply
    0
    • S Offline
      S Offline
      srikanth_trulyit
      wrote on last edited by
      #2

      You can call a C++ slot/signal inside Component.onCompleted. BTW, I did not understand what you mean by pageStack is initiated properly.

      1 Reply Last reply
      0
      • I Offline
        I Offline
        inean
        wrote on last edited by
        #3

        Fire a signal from inside Component.onCompleted was my last attempt ;-) .

        When you make use of a PageStackWindow (on meego) you need to wait for component.onCompleted signal to push a page onto the stack...

        The fact is that it doesn't matter. The question is:
        Could we connect to attached signals from C++?

        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