@Retention(RUNTIME)
@Target({METHOD,FIELD})
public @interface QtPropertyDesignable
QtPropertyDesignable specifies whether a property
is suitable for editing in a GUI builder (e.g. the Qt Designer). 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 designable.
|
-
Element Details
-
The value should be true or false depending on whether the
property is designable. 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 designable; otherwise,
false.
- Default:
- "true"