Reply
Thread Tools
Posts: 22 | Thanked: 3 times | Joined on Jan 2010 @ India
#1
Hi all,

I am developing an application using Qt 4.6.3.
I have set setWindowOpacity(0.0) ,but it is not working.
I set it to my main window.
How can I set QMainWindow transparent?

Thanks
Remyag
 
Posts: 180 | Thanked: 76 times | Joined on May 2010
#2
What would be shown behind the application?
 
Posts: 22 | Thanked: 3 times | Joined on Jan 2010 @ India
#3
Originally Posted by Diph View Post
What would be shown behind the application?
Thank you for your reply.

The main display screen should be shown.

Remyag
 
Posts: 180 | Thanked: 76 times | Joined on May 2010
#4
Maybe it is better then to make desktop widget instead of transparent window. It might be impossible to do transparent window in Maemo...

E: Found this: http://doc.qt.nokia.com/qt-maemo-4.6...es-maemo5.html

The Qt::WA_TranslucentBackground window attribute does not work with the current Maemo 5 compositing window manager. All transparent areas are filled with black. An exception are homescreen widgets, whose semi-transparent areas are correctly composited with the home screen.
 

The Following 5 Users Say Thank You to Diph For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 23:12.