//获取背景色
QPalette pal = this->palette();
QBrush brush = pal.background();
QColor col = brush.color();
QPalette pal = this->palette();
QBrush brush = pal.background();
QColor col = brush.color();
qDebug() << "<<<<<<<<<<<<<<<"<<col;
this->setStyleSheet("background-color:rgb(139,28,98)");