This is more of a general programming question, but I figured it applies to
Qt programming in particular and I keep encountering it without finding any
nice enough solution.

I usually write an abstract interface for a set of classes and put
dependencies on the interface rather than their implementations.

When subclassing QWidget however, how can you make an interface for
subclasses of an already implemented class? Is multiple inheritance a good
idea in this scenario?

Currently, I'm writing the interface as a subclass of QWidget, is this a
good way?

Thanks,
Marcus


-- 
*Marcus Ottosson*
[email protected]

-- 
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/CAFRtmOBL_NwPBZrMhf12FEROVPnBV_8%2B8fAqyZ2OKXqsTabujw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to