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

add Tumbler to Qt QuickControls

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.4.0 RC
    • 5.3.0 Beta1
    • Quick: Controls 1
    • None

      Nokia gave Qt/QML the Tumbler object, part of the original Qt Quick Components for Symbian and Meego, cf. http://doc.qt.digia.com/qtquick-components-symbian-1.1/qml-tumbler.html

      It was a neat way of enabling a user to pick an item from a list, by spinning through the list. Works great on a touch interface.

      Some of the Qt Quick Components have now made their way into Qt5 (Qt Quick Controls). But the Tumbler is not among them. SpinBox and Slider are similar, but not the same.

      I'd like to request to have the Tumbler added to Qt Quick Controls.

      The old symbian/meego qml source code is still available (e.g. within https://qt.gitorious.org/qt-components/qt-components), but it’s not so trivial to port it across to Qt5.

      That is to say, it's easy to make a trivial port, but the behaviour is inconsistent. For instance within the use I'm trying to create, some TumblerColumns appear more or less normally, the contents of others do not appear unless an inordinate width is used (e.g. width: 33 just to display a colon (, when width: 5 should do), others TumblerColumns do not display content at all. Not so trivial to sort it all out consistently.

        1. Tumbler.js
          5 kB
        2. Tumbler.qml
          5 kB
        3. TumblerColumn.qml
          2 kB
        4. TumblerConstants.js
          2 kB
        5. TumblerTemplate.qml
          8 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            mitch_curtis Mitch Curtis
            rizzer Drew Parsons
            Votes:
            4 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes