Draggable Popup
Unsolved
QML and Qt Quick
-
Hi, how can I achieve a dragable popup, which the user can move around the screen?
I have a QML component with a MouseArea child using onClicked: myPopup.open()myPopup.qml:
Popup { id: root x: 100 closePolicy: Popup.CloseOnEscape contentItem: GroupBox { // * Snip * }
Qt Quick 5.12.10
-
Popup are limited to stay inside their parent window for now.
If you want something that can be moved outside, use a
Window
and not aPopup
. -