直接重载一下 void paintEvent(QPaintEvent *)然后QPainter painter(this); painter.drawEllipse(20,20,200,200);//画圆?