QWidget is a QObject.Ok, I think my confusion came from the fact, that I thought the plugin must somehow inherit from QObject and can't be just QWidget only
You can't do that, since then your interface is not an interface any more.Qt Code:
class ViewPluginInterface : public QWidget // to ensure, that anyone using this interface, is creating it as a QWidget { ... };To copy to clipboard, switch view to plain text mode
Bookmarks