
Originally Posted by
wysota
What do you mean "forward drag and drop"? Does the view accept drops?
i not think that QGraphicsView must send all drag and drop event to his subitem?
but it works ...
i hope to not forward keyPressEvent and all other ...
{
/* DivDiagram *CurrentActive; only xhtml <div> tag */
if (CurrentActive->id() > 0 && CurrentActive->ProxyBridgeEdit->isVisible()) {
CurrentActive->AdvanceEdit->wtxt->insertFromMimeData(e->mimeData());
return;
}
}
void XhtmlView::dragEnterEvent ( QDragEnterEvent * e )
{
/* DivDiagram *CurrentActive; only xhtml <div> tag */
if (CurrentActive->id() > 0 && CurrentActive->ProxyBridgeEdit->isVisible()) {
CurrentActive->AdvanceEdit->wtxt->insertFromMimeData(e->mimeData());
return;
}
}
To copy to clipboard, switch view to plain text mode
Bookmarks