On Thu, Dec 24, 2015 at 2:15 PM, Mark Gaiser <mark...@gmail.com> wrote:
> Hi, > > I want to move a rectangle between two different "windows", but how can i > do that? > > The only possible way i can think of (but i do'n't know if that would even > work) is: > - Have N QQuickView classes (lets say 2, for the sake of this argument) > - All QQuickView instances share the same QQmlEngine object > - Listen to an equivalent of dragEnterEvent/dragLeaveEvent. An equivalent > since those exist in QWidget, not in QQuickView or any of the classes it > inherits from. > - if an enter event is received on a respective QQuickView, figure out > which QML Component caused the event and change it's position to be in the > view of the QQuickView that received the event. > > That's how i think it "could" work.. But it probably won't be that "easy" > ;) > So before i start to fiddle with this, is there any way already to drag a > rectangle between multiple QQuickView instances? If not, is the way i > described above even possible? Or could there be a simpler way to > accomplish the same thing? > > Best regards, > Mark > Bump..
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest