Hi guys, Anyone knows if it's possible to subclass a QDeclarative class? The headers are private, and we get a lot of linker errors if we try to include them.
Why we want to do that: we are working on a qml implementation of drag & drop. Our first approach consisted of two custom items, DragArea and DropArea, and it worked well, but then we found that it was incompatible with MouseArea: we couldn't use MouseArea and our DragArea at the same time on the same item, because either DragArea or MouseArea would grab the mouse and the other won't get any event. Now we are trying another approach, which is to make DragArea a subclass of MouseArea. Thus, we could implement our drag and drop functionnality, and still deliver all the regular mouse events to QML. Any help with that would be highly appreciated. Thanks greg _______________________________________________ Qt-qml mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-qml
