On Mon, Sep 8, 2014 at 6:35 PM, Bay Gann Boon <[email protected]> wrote:
> Hi Marcus > thank you so much for taking the time to look at my > question and giving suggestions on how to resolve my problem! Just want to > let you know I've attempted some of your solutions and just want to let you > know some of the limitations I've faced using them. Just for anyone who may > have also ran into the problems I've had. > > One of the design idea is for the user to be able to save > all the thumb nails used and be able to transfer it to another user, also > the user can put in their own images for their own conveniences. The > problem with creating a 2nd "reaction" image is that the saved file would > need to store 2 images for every thumbnail used. And when the user tries to > use their own custom images, another image would have to be created to do > this.That was the reason I avoided this solution. > > Using a hover widget is indeed something I haven't thought > of. I'd definitely give this a try and see if it can be an option, thank > you! > > A problem I've had with putting widgets in the > qlistwidgetitem is being unable to link the selection behavior of the > qlistwidgetitem with the widgets. For example, I couldn't figure out how to > tell Pyside to send the "clear selections" behavior to the widgets in the > qlistwidgetitems( The way, we click on an open spot to clear selections in > My Computer/Finder). So I have avoided using widgets in my > qlistwidgetitems, if you happen to know the solution to this, it would be > much appreciated! > That is a complication with using the item widgets, since they have their own events and are kind of disconnected from the view for the most part as their own little mini entities. That's why I thought to suggest delegates because you have a direct hook into the state of the view. As far as I know, delegates are a bit more efficient than having a bunch of widget instances in your view, since widgets each have their own events and signals. > > Thank you > Gann Boon Bay > > -- > 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/CAO52s0Ffm7R8gMRhMyq4-ZNZa-QgX5NWGtFwt%2BB7dqp70%2BRtNA%40mail.gmail.com > <https://groups.google.com/d/msgid/python_inside_maya/CAO52s0Ffm7R8gMRhMyq4-ZNZa-QgX5NWGtFwt%2BB7dqp70%2BRtNA%40mail.gmail.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/CAPGFgA2RXWbegFay9yhssUDAOs6ZBochSKS0v6-kQBr4M9nT8g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
