Instead of making the plugin itself a QWidget, make it allocate and return a QWidget when requested, more or less like this:
Qt Code:
class MyPluginInterface { ... ... };To copy to clipboard, switch view to plain text mode
Instead of making the plugin itself a QWidget, make it allocate and return a QWidget when requested, more or less like this:
Qt Code:
class MyPluginInterface { ... ... };To copy to clipboard, switch view to plain text mode
J-P Nurmi
With some retooling, it worked!
Thank you.
I'd discovered a similar (though more convoluted) way just before reading your post, but your suggestion is, IMO, better than mine...
Follow-on question:
These modules are an aggregation of widgets and code, connected through module-private signals and slots. Now that the UI is drawn on a parent object, how I do re-connect these private signals and slots so that the interface is processed properly? I might have thought they would be reconnected as they're part of the same block of code, but they don't seem to be.. Thoughts?
Thanks!
SnarlCat
Bookmarks