The documentation for QWidget :: winId states (among other things): "If the widget is not native (alien) and winId is called, this widget will be provided with its own descriptor.
I'm not sure what βalienβ means in this context, but now I prefer to ignore it. :)
So, assuming that my widget now has a corresponding native handle associated with it, can I pass this custom handle to another process and to QWidget :: find and return the actual QWidget to this second process?
I probably don't need to do too much for the widget in the second process except show / hide and attach it to the parent widget. (It is guaranteed that it will not be attached to any parent widgets in the first process and will never be visible in the context of the first process).
If all this works:
How much control will be performed in the second process on this widget?
Will the first process receive user input events as if it were attached to the first user interface of the process and will the first process be able to update the widget as usual?
James
user420442
source share