多边形选择
需要把图片分成几个部分,增加移入和选中的效果。

**QPolygon**直接支持判断是否包含点。
bool QPolygon::containsPoint(const QPoint &point, Qt::FillRule fillRule) const
// Returns true if the given point is inside the polygon according to the specified fillRule; otherwise returns false.
// This function was introduced in Qt 4.3.