Dragging QDockWidget using text from QML



  • Hi.

    I know that there is no easy way of implementing detachable windows exactly like QDockWidget in QML, so what I am currently trying to do is to insert:

    QML File > QQuickView > QWidget > QDockWidget.

    As I am trying to make it look like a QML, I am trying to hide the titlebar in QDockWidget and try dragging the whole dock using a text which is inside the QML.

    Is there any way to achieve the dragging part?