void MainWindow::paintEvent( QPaintEvent * event)
{/*QPainter painter(this);*/QColor shadowColor;shadowColor QColor(0, 0, 0, 100); //阴影颜色设置QPainter painter(this);painter.setRenderHint(QPainter::HighQualityAntialiasing);painter.fillRect(0, 0, this-&g…