QML binding to a function without any parameters?



  • 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?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.