What kind of configuration are you using? QListView+model? QListWidget?
Custom?
If QListview, did you try enabling uniform sizes (
http://doc.qt.io/qt-4.8/qlistview.html#uniformItemSizes-prop) and raise the
batch size?

If you are still getting performance issues, you may need to experiment
with a custom solution. QGraphicsScene is more performant when you need to
display a lot of custom graphics at once that need to paint. You might need
to look at porting the example Flow layout that comes with Qt from QWidget
to QGraphics (something I had to do as well).

Is it Qt4 or Qt5? If the later then you may need to try this in QML.

Justin

On Tue, Jun 20, 2017, 12:58 AM Rémi Deletrain <[email protected]>
wrote:

> Hello everybody,
>
> I try a new exercise with QT, a PoseManager. We already have it, but it's
> getting old now and I have to update it for the next production.
> So I made a list with icons like the StudioLibrary:
> http://www.studiolibrary.com.
> Why not use StudioLybrarie directly? Simply because the class that allows
> to do the display will also serve us on other tools and so must be generic
> and with our libs.
>
> So I can start displaying 13,000 icons in less than two seconds.
> However, once the interface is initialized and a UI with a large display
> the refresh begins to be long.
> To give an idea with 280 icons of 60 * 60 it's good the refresh is ok. On
> the other hand 280 icons between 100 * 100 and 200 * 200 is too long ...
>
> Where I came from here. Do any of you know techniques to optimize the
> image display with QT?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Python Programming for Autodesk Maya" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/python_inside_maya/f70cc48e-15cb-4f2b-9b48-c308ca4541b4%40googlegroups.com
> <https://groups.google.com/d/msgid/python_inside_maya/f70cc48e-15cb-4f2b-9b48-c308ca4541b4%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA2yFeywZTLQzh39v3p_XyLvFDDA%3DmvE3RuAd1LNdef14Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to