Quote Originally Posted by aamer4yu View Post
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.

Qt Code:
  1. this->setStyleSheet(QString::fromUtf8 ("background-color:transparent;"));
  2. this->setWindowOpacity(0.0);
  3. this->setBackgroundRole(QPalette::Window);
  4. this->setAttribute(Qt::WA_NoBackground);
To copy to clipboard, switch view to plain text mode