GraphicsShape Qt QGraphics 鼠标拖动绘制基本几何图形(直线、矩形、圆形、椭圆),并可选中图形进行拖动。 博客介绍:https://blog.csdn.net/luoyayun361/article/details/93890331