setWindowOpacity(0.9);
QPixmap pixmap = QPixmap(":/Res/images/bg.png").scaled(this->size());
QPalette palette(this->palette());
palette.setBrush(QPalette::Background, QBrush(pixmap));
this->setPalette(palette);
setWindowOpacity(0.9);
QPixmap pixmap = QPixmap(":/Res/images/bg.png").scaled(this->size());
QPalette palette(this->palette());
palette.setBrush(QPalette::Background, QBrush(pixmap));
this->setPalette(palette);