Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

Best practice associating event handlers with state changes

$
0
0
The only workaround I’ve found so far is:   Keys.onPressed: keyHandler(event)   property var keyHandler: function(event){}   ... PropertyChanges {             target: whatever             keyHandler: function(event){console.log(event.text)}      }

Viewing all articles
Browse latest Browse all 4972

Trending Articles