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. QML delegate slots and signals
QtWS25 Last Chance

QML delegate slots and signals

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

    Hi, I am faced to problem how to connect delegate slots (functions) with signal from its object (that should be represented by delegate). I need to do some staff in delegate when the signal in "base" class is fired. I hope the questions is clear. Thanks in advance.

    1 Reply Last reply
    0
    • J Offline
      J Offline
      jarosda
      wrote on last edited by
      #2

      So, more generally. Is possible to define slots (java-script functions) for delegates? If yes, how to bind it? I am able to bind properties, but didn't find any example with slots.

      1 Reply Last reply
      0
      • S Offline
        S Offline
        shkryab
        wrote on last edited by
        #3

        http://qt-project.org/doc/qt-5.1/qtqml/qtqml-syntax-signals.html

        or you mean bind it in C++ code?

        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