MinMin
28th April 2014, 10:51
Hi,
I have a listwidget of images in icon mode. When there are many icons, the vertical scroll bar appears. Instead of that, I want the scroll bar to be invisible and there are fading area at top and bottom of the list to indicate more images(if any).
I set the vertical bar off alr.
listView->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff) ;
But i dont know how to implement the fade out effect. Any suggestions?
Thanks,
I have a listwidget of images in icon mode. When there are many icons, the vertical scroll bar appears. Instead of that, I want the scroll bar to be invisible and there are fading area at top and bottom of the list to indicate more images(if any).
I set the vertical bar off alr.
listView->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff) ;
But i dont know how to implement the fade out effect. Any suggestions?
Thanks,