Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Language Bindings
  4. QML binding to a function without any parameters?
QtWS25 Last Chance

QML binding to a function without any parameters?

Scheduled Pinned Locked Moved Language Bindings
1 Posts 1 Posters 601 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.
  • D Offline
    D Offline
    dynamo72
    wrote on last edited by dynamo72
    #1

    In the qt docs 5.5 property binding chapter is this example for a binding:

    height: someMethodThatReturnsHeight()

    Is this really a dynamic binding? If so, what triggers it?
    I know that height: someMethodThatReturnsHeight(width) works and will be triggered by width changes... But without any parameters?

    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