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

Add a MouseArea property containing `pressed && containsMouse`

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • 5.4.0
    • None
    • None
    • 112efda64ba24e7d9255a36065223e9800a50c21

      There is a lot of instances of:

      MouseArea {
          property bool highlighted: pressed && containsMouse
      }
      

      which could be simplified and optimized by providing a property equivalent to `pressed && containsMouse`, perhaps named `containsPress`

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

            martinj Martin Jones
            martinj Martin Jones
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes