如果对象是继承自类GraphicsItem,那么可以通过调节对象在图像场景里Z轴位置实现 #往前排列 data_item.setZValue(10) #往后排列 data_item.setZValue(0)