I develop an app with plugins. Each plugin should have it's own settings window (QDialog type).
If plugin's settings form was included in main project, I'll simply create it with passing main form as parent as said here: http://developer.qt.nokia.com/doc/qt-4.8/qdialog.html#QDialog (and in Google results for this problem).
But when QDialog declared in separated plugin, I think that it's ugly and insecure to pass main form as parent from main app to plugin instance.
Any ideas? Stub QWidget?
Ok, I'd just create stub QWidget as suggest earlier:
So now dialog doesn't show button on taskbar. Also, no new window appear.