Details
-
Bug
-
Resolution: Done
-
P2: Important
-
6.2.5
-
None
-
f74db4579e (qt/qtdeclarative/dev) 1d1e590078 (qt/qtdeclarative/6.4) 1d1e590078 (qt/tqtc-qtdeclarative/6.4) f74db4579e (qt/tqtc-qtdeclarative/dev) 1d1e590078 (qt/qtdeclarative/6.4.1)
Description
This was working in 5.15 (draggableButton.qml an old expt on my system):
import QtQuick 2.12 import QtQuick.Controls 2.2 ApplicationWindow { visible: true width: 200; height: 200 CheckBox { id: draggableCB anchors.right: parent.right text: "draggable" checked: true } Button { text: "Drag me" onClicked: console.log("clicked") DragHandler { enabled: draggableCB.checked } } }
It's important to be able to build visual designer applications, IMO.
Attachments
Issue Links
- depends on
-
QTBUG-101398 grabPermissions cannot prevent an Item stealing grab from a handler in Qt 6
- Reported
- duplicates
-
QTBUG-100368 [Regression] DragHandler active property does not change when used in a Button
- Reported
- relates to
-
QTBUG-105609 should be able to add a TapHandler to a Button to modify behavior
- Closed