Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. ScrollView vs Flickable

ScrollView vs Flickable

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 1.3k Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • MohsenNzM Offline
    MohsenNzM Offline
    MohsenNz
    wrote on last edited by
    #1

    Hi guys. exactly when should I use ScrollView and when Flickable? Is good idea to use Flickable always instead ScrollView? I know Flickable can do every thing ScrollView can do.

    1 Reply Last reply
    1
    • RokeJulianLockhartR Offline
      RokeJulianLockhartR Offline
      RokeJulianLockhart
      wrote on last edited by
      #2

      @MohsenNz, ListView appears to inherit from Flickable, which ScrollView appears to extend:

      1. ScrollView provides scrolling for user-defined content. It can be used to either replace a Flickable, or to decorate an existing one.

      2. As of Qt-6.0, ScrollView automatically clips its contents if you don't use a Flickable as a child. If this is not wanted, you can set your own Flickable as a child, and control the clip property on the Flickable explicitly.

      Consequently, their usage isn't 1:1. However, I don't understand what their uses are.

      When using a forum, remember to tag the person you are responding to, in case they are not subscribed to the thread.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved