Hey there trolltechies,
I'm designing a Qt interface for an instant messaging app.
I've already created my custom scrollable widget :
- It contains a widget.
- This widget is containing one layout.
- In this layout, I have every single widget contained in my list.
When scrolling I'm simply moving the contained widget to a new position.
I'm using custom painting functions for every single widgets in that list.
I have two issues.
- The scrolling is quite slow, especially when there is a lot of items on the screen.
- The resizing is very very slow.
I looked at the Qt examples, it appears some of them are using QGraphicsView / Scene.
I've been wondering if in my case I could display my widgets in a GraphicView to boost up my performance.
Is there some way to use a widget as a QGraphicItem ?
Would it help in my case ?
Is there some way to boost the standard QPainter painting speed ?
Thanks.
MrArnaud.
www.zepeople.com
Bookmarks