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. ScrollViews and stackVIews
Forum Updated to NodeBB v4.3 + New Features

ScrollViews and stackVIews

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

    Hi everybody
    I have few questions about things i can't do :

    • I want to change the content of a view when i click on a button ( actually its inside a scrollView , maybe there is something for that case ) , kinda having a view inside a view no ?

    • When i use the scrollView and go down with it the content of this view go in front of the other things in the page that aren't in the scrollView , do you have a solution ?

    Thanks for your helping , my project is going very fast .

    1 Reply Last reply
    0
    • I Offline
      I Offline
      igor_stravinsky
      wrote on last edited by
      #2

      So you've got two different things you'd like to show inside a scroll view, depending on how a toggle button is set?

      You could just put both items inside the scroll view, and change the opacity of one or the other of the items to hide it. You'll have to update the size of the scrollView's content when you switch back and forth.

      I'm not sure what the problem is in your second question. It sounds as if you've put things at the bottom of the first page in a scroll view, and they're scrolling off the top. If you want a footer to stay around while you scroll above it, then the content of that footer should be outside the scroll view.

      1 Reply Last reply
      0
      • E Offline
        E Offline
        echo55
        wrote on last edited by
        #3

        Hi , someone answered me somewhere else for the first question , the answer was using Loader{}

        For the second question i can show a picture it maybe a better way.
        On the first picture you can see a black ligne which is the delimitation between the scrollview and the others things on the app, down its scrollview , up it's not .
        first : https://i.imgur.com/fEXYtNP.png
        I want when i scroll my view that the content down the line disappear , i don't want it to go in front of the two button up the black line.
        As you can see in the second one it's not working and it's going in front.
        second : https://i.imgur.com/LYgxtHh.png

        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