SUCCESS!
Yea, the runtime was defaulting to the Node implementation of shape(), which
was an elipse around 0,0. Reiplemented shape() in CloudNode like:
{
path.addRect(0, 0, cloudimage->width(), cloudimage->height());
return path;
}
QPainterPath CloudNode::shape() const
{
QPainterPath path;
path.addRect(0, 0, cloudimage->width(), cloudimage->height());
return path;
}
To copy to clipboard, switch view to plain text mode
and I can now drag the pixmap from any point in the rectangle.
Thanks again.
-baj
Bookmarks