QtPropertyBindable annotates a method as being a QBindable
getter for
a QProperty
-based property.
You don't need to use @QtPropertyBindable
annotation if the method meets
following signature and naming convention:
- returns
QUntypedBindable
or a subtype ofQUntypedBindable
- no parameters
- method name is "
bindableProp
" for an available property "prop
" whereas "prop
" can be any name
- See Also:
-
Optional Element Summary
-
Element Details
-
enabled
boolean enabledReturns true if the property is enabled; otherwise, false.- Default:
true
-
name
String nameReturns the name of the property.- Default:
""
-