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

Remove/deprecate Tumbler::visibleItemCount

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.7.0 Beta
    • Fix Version/s: None
    • Component/s: Quick: Controls 2
    • Labels:
      None

      Description

      Arbitrary model item count, control geometry, and configurable fonts make the concept of "visible item count" a bit confusing and problematic. I'm always unsure what to specify, and seeing the property immediately raises questions like:

      • What if the items don't fit? Do they overlap?
      • Why can't Tumbler calculate a suitable value for me?
      • What if the model item count is less than the visible item count?

      Therefore, I'd like to propose removing/deprecating the visibleItemCount property. Tumbler should calculate something that fits the available geometry. Furthermore, there probably should be a bool wrap -property that is by default:

        Attachments

          Issue Links

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

            Activity

              People

              • Assignee:
                mitch_curtis Mitch Curtis
                Reporter:
                jpnurmi J-P Nurmi
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes