Module qtjambi
Package io.qt

Annotation Type QtPropertyReader


@Retention(RUNTIME)
@Target({METHOD,FIELD})
public @interface QtPropertyReader
This annotation is used to mark a method as a getter for a Qt property. The annotation gives the name of the property, and whether it is enabled for reading.
  • 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
    Returns the name of the property.
  • Element Details

    • enabled

      boolean enabled
      Returns true if the property is enabled; otherwise, returns false.
      Default:
      true
    • name

      String name
      Returns the name of the property.
      Default:
      ""