I would like to put subclasses of QWidget inline with the text in the rich text editor, for the viewing and editing of complex objects such as 3d models. Is this possible?

I would prefer a solution without third-party libraries since I'm using PyQt4.