Module qtjambi
Package io.qt

Annotation Type QtPropertyUser


@Retention(RUNTIME) @Target({METHOD,FIELD}) public @interface QtPropertyUser
QtPropertyUser specifies that a property is designated as the user-facing or user-editable property for the class. e.g., QAbstractButton.checked is the user editable property for (checkable) buttons. Note that QItemDelegate gets and sets a widget's USER property. This annotation should be used with the read method of the property.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The value should be true or false depending on whether the property is user property.
  • Element Details

    • value

      String value
      The value should be true or false depending on whether the property is user property. 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 editable; otherwise, false.
      Default:
      "true"