On Tue, 2010-11-23 at 12:04 +0000, Tomas Junnonen wrote:
> 
> Here's a the minimal transparent app C++ stub:
> 
> QDeclarativeView view;
> 
> QPalette palette;
> palette.setColor(QPalette::Base, Qt::transparent);
> view.setPalette(palette);
> view.setAttribute(Qt::WA_TranslucentBackground);
> 
> view.setSource(QUrl::fromLocalFile("main.qml"));
> view.show();

Does anyone happen to know whether there is any intention to add support
for transparency to the qmlviewer itself. Perhaps an option like:

-opacity <percent>

might be useful?

Elliot

-- 
Elliot Smith
Intel Open Source Technology Centre

---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

_______________________________________________
Qt-qml mailing list
Qt-qml@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-qml

Reply via email to