Translucent backdrop in my mainwindow
-
I saw the the post on http://doc.qt.digia.com/qq/qq16-background.html
saw the command and windowsopacitysetAttribute(Qt::WA_TranslucentBackground, true);
I am not trying to make the windows transparent, i am trying to make the widgets transparent. Any help, appreciated.
-
//How to add a picture to mainwindow
below link has the answer
http://stackoverflow.com/questions/4458201/unable-to-set-the-background-image-in-qt-stylesheet#In the constructor add:
setStyleSheet("background-image:url(:/File/abc.png);");where under resources, File.qrc /File/and your files.