Yeah Justin thats what the issue , i updated with code like this
def __init__(self, parent=None, **kwargs):
super(MyDialog, self).__init__(parent, **kwargs)
then its working and I am using 4.6
On Mon, Nov 21, 2011 at 1:08 PM, jo benayoun <[email protected]> wrote:
> Hi Justin,
>
> Actually, I just wrote the function from scratch. Didn't try your
> implementation. Did it now. It works fine, for me on 2012 (don't have 2011
> too).
> To be sure my code always run, I call baseclasses with the oldstyle and
> never make a use of keyword args (to be compatible with older versions of
> sip).
> The "super" call was mainly designed to resolve baseclasses conflicts in a
> multiple inheritance case and bringing more features to the metaclass
> concept.
> I make a cast to QWidget, since this is something I probably do in cpp.
>
>
> http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/keyword_arguments.html
>
> jo
>
> --
> view archives: http://groups.google.com/group/python_inside_maya
> change your subscription settings:
> http://groups.google.com/group/python_inside_maya/subscribe
>
--
--:: Kurian ::--
--
view archives: http://groups.google.com/group/python_inside_maya
change your subscription settings:
http://groups.google.com/group/python_inside_maya/subscribe