Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-140031

QtQuick for Rust: Check the parameters of the property macro for completeness

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 6.11
    • Qt Bridges
    • None

      In C++ a very flexible API is provided.

      Q_PROPERTY(type name
                 (READ getFunction [WRITE setFunction] |
                  MEMBER memberName [(READ getFunction | WRITE setFunction)])
                 [RESET resetFunction]
                 [NOTIFY notifySignal]
                 [REVISION int | REVISION(int[, int])]
                 [DESIGNABLE bool]
                 [SCRIPTABLE bool]
                 [STORED bool]
                 [USER bool]
                 [BINDABLE bindableProperty]
                 [CONSTANT]
                 [FINAL]
                 [REQUIRED]) 

      At the moment of writing this we have an implementation of READ, WRITE, MEMBER, NOTIFY and CONSTANT in Rust.

      We should see which of the remaining keywords and relevant and implement then in Rust.

      STORE for example, might be good and simple to implement.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            vminenko Vladimir Minenko
            matthias_rauter Matthias Rauter
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes