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

Expose QRect(F) API to QML

XMLWordPrintable

      That way you can call e.g. intersects() from QML, which is useful for hiding items outside of the view (since we still don't have a solution for QTBUG-67274).

      For example:

           visible: Qt.rect(x, y, width, height).intersects(viewportRect)
      

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

            qtqmlteam Qt Qml Team User
            mitch_curtis Mitch Curtis
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes