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. Best way to slide contents
Forum Updated to NodeBB v4.3 + New Features

Best way to slide contents

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
qmlslidecontents
3 Posts 2 Posters 1.2k Views 1 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.
  • M Offline
    M Offline
    Mark81
    wrote on last edited by Mark81
    #1

    Hi!
    I'm working on a QML application that will be based upon a single page with static contents on top and bottom sides. Then, in the central part I need to display different components (contents) which should enter/exit offscreen with a slide animation.

    What would be the best approach for such a layout?

    p3c0P 1 Reply Last reply
    0
    • M Mark81

      Hi!
      I'm working on a QML application that will be based upon a single page with static contents on top and bottom sides. Then, in the central part I need to display different components (contents) which should enter/exit offscreen with a slide animation.

      What would be the best approach for such a layout?

      p3c0P Offline
      p3c0P Offline
      p3c0
      Moderators
      wrote on last edited by
      #2

      Hi @Mark81,
      IMO, SwipeView suits your needs. For Static contents on top and bottom you can create Item's which can be easily customized.
      All these 3 components can be added inside a ColumnLayout.

      157

      M 1 Reply Last reply
      2
      • p3c0P p3c0

        Hi @Mark81,
        IMO, SwipeView suits your needs. For Static contents on top and bottom you can create Item's which can be easily customized.
        All these 3 components can be added inside a ColumnLayout.

        M Offline
        M Offline
        Mark81
        wrote on last edited by
        #3

        @p3c0 Thank for the hints. I'm reading the documentation!

        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