
Originally Posted by
aamer4yu
WHats the background of the main window ? try setting background of mainwindow to transparent.
And is toolbar shown above label, or the main window ?
Hi aamer4yu:
Thanks, the toolbar is shown above label. I using each of the following functions to transparent the mainwindow background, but it still doesn't work.
this
->setStyleSheet
(QString::fromUtf8 ("background-color:transparent;"));
this->setWindowOpacity(0.0);
this
->setBackgroundRole
(QPalette::Window);
this->setAttribute(Qt::WA_NoBackground);
this->setStyleSheet(QString::fromUtf8 ("background-color:transparent;"));
this->setWindowOpacity(0.0);
this->setBackgroundRole(QPalette::Window);
this->setAttribute(Qt::WA_NoBackground);
To copy to clipboard, switch view to plain text mode
Bookmarks