Hi!
How to tell a QListWidget (QAbstractItemView) to never show any scrollbars and display all content all the time.
Because it is part of an extra QScrollArea, I do not need the scrolling in the QListWidget.
Any ideas?
Greetings
Hi!
How to tell a QListWidget (QAbstractItemView) to never show any scrollbars and display all content all the time.
Because it is part of an extra QScrollArea, I do not need the scrolling in the QListWidget.
Any ideas?
Greetings
Set the vertical size policy to expanding and turn off the scrollbars using by setting their policy to AlwaysOff.
Well, does not work.
If I modify the "minimumHeight" at item-inserting it seems to work best ... but not perfect for all item views:
Greetings
Last edited by youkai; 30th August 2008 at 00:04.
Get rid of all the nested views and place a single QTreeViewand apply a custom delegate to it that will paint your items accordingly.
Well, I think it's a custom view - not a delegate - that I needHmm....
No, it's a custom delegate you need. From the picture you have shown us it is obvious that I'm looking at a "would be" tree view. The only thing that might be reimplemented from it is the item layout mechanism (so that they flow from left to right).
Bookmarks