Qt QGraphicsView 背景透明设置 编辑样式 background: transparent;border:0px 参考: 或者 GraphicsView->setStyleSheet("background: transparent;border:0px");