Important: Please read the Qt Code of Conduct -

Drop Widgets as Windows on Windows-Desktop

  • Hello,

    I have a QMainWindow with several Tabs (QTabWidget). Now I would like to drag&drop on of these widgets to the Windows-Desktop getting an new QMainWindow. During drag I would like to have Windows-functionality: if I hit top border -> maximized, if I hit left border -> Window covers half desktop space and so on (similar to 'float' feature of tabs in Visual Studio C++). I also could not get it to work with QDockWidgets. Any hints (special mimetype or similar)?

    Thank you!