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

How properly use Flickable?



  • I have following working structure:

    Item {
        ListView {
             delegate: Rectangle {
                    MouseArea {
                    }
                    <texts, images and controls> {
                    }
             }
        }
    }
    

    I need emit signal when user starts flick. I used Flickable type

            Flickable {
                onFlickStarted: console.warn(contentY)
            }
    

    In any structure places. But I did not get any output. How use this type? There no complete examples anywhere.



  • Flickable is a base class, ListView inherits it so ListView is already a Flickable



  • @VRonin yes, you are right. I did not notice this first.


Log in to reply