Qt World Summit: Register Today!

QSlider Vertical - Start scrolling from Top

  • Qt Champions 2017


    Trying on ubuntu with Vertical QSlider. I would like to have QSlider to start scrolling from top. QSlider handle starts from bottom. How can we make the slider handle to start from top ?

    I'm displaying the data in QTableView. I would like to remove the scrollbar and add my own Qslider. This slider always starts from bottom irrespective of setmax, set position etc. I have already tried with following


    All this works If I use the QSlider without TableView. If attach the slider as part of QTableView, slider handle is always in the bottom.

  • @dheerendra ,

    Hi Sir,


    It will make the slider handle to start from top.

Log in to reply