Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

How to customize tumbler model?



  • Hi,
    I want to customize a tumbler model, but I can't find how!
    I can't find how to give my custom data to tumbler model. I need two tumbler that are synchronized.
    for example:
    Tumbler #1 data: "10 20 30 40 ... 360"
    Tumbler #2 data: "--------------------"

    In fact I want to make something like this image:
    0535e686-5510-4ceb-bf30-c74335faa717-image.png

    Any suggestions?
    thanks



  • I did that. Created data manually in three arrays and added to the three tumblers' model property.
    Manipulated model's text to make that look. Added three tumblers on top of each others.
    Thanks.



  • I did that. Created data manually in three arrays and added to the three tumblers' model property.
    Manipulated model's text to make that look. Added three tumblers on top of each others.
    Thanks.


Log in to reply