I'm working on a CAD app, using PythonOCC.
What I'd like to achieve is to have an editor for a Vertex, Edge, Face or a
Solid, though the editors share a single OpenGL viewer.
So I couldnt thing of anything better than using a singleton ( sigh )
and check if an instance ( ._instance ) was already created.
Fine, that works. However, in the View, each Item ( logically ) is displayed
in its proper widget. What I need is to have multiple editors refer to a single
widget, so the View is split up n number of Item's defined in the View
So rather than using an Item need to <blank>... in order not to split up
the OpenGL viewer? Should I subclass Item or use a Handler?
# one OpenGL Viewer split up in two, since two Item's are defined
# how can these refer to the same control without the split?