[Solved] cursor problems in QTextEdit
-
I don't understand. Can you describe you problem more clearly?
-
How is this question different from the one you asked "here":http://developer.qt.nokia.com/forums/viewthread/3177/?
-
The problem is when i try to drop something out of the editing zone, my cursor is stuck, it's not flashing anymore except if i do another drag and drop in the editing area
-
I tried the update() nothing changed. @Andre this question came while trying to solve the other problem but it's not the same. At this point the other question is solved but a new problem shows.
-
Hm, do you have a small example that demonstrates the false behavior? This way we could look into the issue more thoroughly.
As a first question: what's the difference between isInEditionZone() with and without parameter?
-
Solved by using the dragMoveEvent to define the dropzones. Thanks everyone.
-
Just to make the solution obvious to future readers, what you have to do is simply redefine mouseMoveEvent to accept the event, like in the "Drop Site example":http://harmattan-dev.nokia.com/docs/platform-api-reference/xml/daily-docs/libqt4/draganddrop-dropsite-droparea-cpp.html:
@
void DropArea::dragMoveEvent(QDragMoveEvent *event)
{
event->acceptProposedAction();
}@