Ya that is Qt4. Good to hear you got a speed increase from that setting! Have you tried comparing the speed difference between the view/model and the widget approach? Depending on whether you have alot of custom logic in your model and view or not, maybe leaving more of the logic in C++ might end up faster for your use case? If your model is making a ton of calls to custom python data() methods it could be a performance hit over a default C++ implementation. And then there is always that QGraphics route which is more involved.
On Tue, Jun 20, 2017, 7:55 PM Rémi Deletrain <[email protected]> wrote: > Thanks for your reply Justin, > > I use PySide of Maya 2014. So it seems to me that it is more or less the > version QT4. I am wrong ? > I made a class with a parent class QListView and I manage the model inside. > It may change a bit to also play with the QT proxy for the filters. > > I tried the function uniform sizes and actually I have a big gain of > performance with that! > I will try in my time lost to do with a QGraphicsScene but I do not know > if I would have time to do the same thing from scratch ... This is the > advantage of the QListView. > But it can be a very good exercise. I will try today and following how I > advance I will see if I continue or not on this objective. > > -- > 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/6c8fbd00-5204-47f1-9e89-54b9140124ac%40googlegroups.com > <https://groups.google.com/d/msgid/python_inside_maya/6c8fbd00-5204-47f1-9e89-54b9140124ac%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/CAPGFgA3_bFAbt%3DMYZgdU9L%3DdjfNQy%2BArjCgjnj6Me6paU4YBeg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
