Re: [Maya-Python] QPushButton hover

2018-08-24 Thread Justin Israel
One thing... This is a bug: self.setParent = parentWindow You replace the actual setParent() method on your button which might cause confusing errors later. There isn't a reason to save that parent since you can query it any time with self.parent() On Fri, Aug 24, 2018, 5:58 PM wrote: > Hi.

Re: [Maya-Python] Re: How to embed modelPanel to a pyqt ui (again) ?

2018-08-24 Thread Timothy Kim
Thanks for looking into Justin. From: python_inside_maya@googlegroups.com on behalf of Justin Israel Sent: Thursday, August 23, 2018 5:42 PM To: python_inside_maya@googlegroups.com Subject: Re: [Maya-Python] Re: How to embed modelPanel to a pyqt ui (again) ?

[Maya-Python] Get the current Maya session

2018-08-24 Thread kiteh
Is there a way to check if the current maya session is 'new'? I have a tool created using PyQt, in which it stores the widgets inputs using QSettings (asked this question previously). The settings and all works out great, however I realized that if I launched a new maya session, followed by

Re: [Maya-Python] Capture inputs from PyQt dialog

2018-08-24 Thread kiteh
Noted with thanks! -- 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 python_inside_maya+unsubscr...@googlegroups.com. To view this

Re: [Maya-Python] Get the current Maya session

2018-08-24 Thread Justin Israel
On Sat, Aug 25, 2018 at 11:27 AM kiteh wrote: > Is there a way to check if the current maya session is 'new'? > > I have a tool created using PyQt, in which it stores the widgets inputs > using QSettings (asked this question previously). The settings and all > works out great, however I realized