@Retention(RUNTIME)
@Target({METHOD,FIELD})
public @interface QtPropertyWriter
QtPropertyWriter annotates a method as being a setter for a property.
The annotation specifies the name of the property and whether the
property is enabled for writing.
-
Optional Element Summary
Optional Elements
Modifier and Type |
Optional Element |
Description |
boolean |
enabled |
Returns true if the property is enabled; otherwise, returns false.
|
String |
name |
Returnd the name of the property.
|
-
Element Details
-
boolean enabled
Returns true if the property is enabled; otherwise, returns false.
- Default:
- true
-
Returnd the name of the property.
- Default:
- ""