@Retention(RUNTIME)
@Target({METHOD,FIELD})
public @interface QtPropertyScriptable
QtPropertyScriptable specifies whether a property
can be accessed by a scripting engine. The default is true.
This annotation should be used with the read method of the property.
-
Optional Element Summary
Optional Elements
Modifier and Type |
Optional Element |
Description |
String |
value |
The value should be true or false depending on whether the
property is scriptable.
|
-
Element Details
-
The value should be true or false depending on whether the
property is scriptable. It can also be the name of a boolean
method in the same class as the annotated method; it must
return true if the property is to be scriptable; otherwise,
false.
- Default:
- "true"