It would be nice if MayaQWidgetBaseMixin class would support setting custom Qt window flags via setWindowFlags function. Right now the only way to achieve this is to use classic MQtUtil.mainWindow() and parent my custom widget (with those custom window flags) to Maya's main window.