Hi
I have a small problem in the vertical scrollbar
My issue is that , I have a QListView and QScrollbar in my mainwindow. The ListView is filled up with images ,
I need to scroll the images in the listview using the scrollbar.
Hi
I have a small problem in the vertical scrollbar
My issue is that , I have a QListView and QScrollbar in my mainwindow. The ListView is filled up with images ,
I need to scroll the images in the listview using the scrollbar.
Last edited by kamlmish; 19th January 2011 at 07:58.
you have a separate scrollbar instead of the default one provided by QListView? Can you explain more.
I have attached the screenshot for the same.
In the screenshot , you can see the images getting displayed in LISTVIEW, but I need to display the vertical scrollbar besides the LISTVIEW
How can I do it ?
what about listview->setVerticalScrollbarPolicy( Always show )?
That doesnt work
give a minimal compilable program that reproduces the problem.
Solved
I used
QScrollArea* scrollarea = new QScrollArea;
scrollArea->setWidget(this);
scrollArea->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysO ff);
Bookmarks