Try to set the windowOpacity on the toplevel QWidget (I guess it's your 
QDeclarativeView)

http://doc.qt.nokia.com/4.7-snapshot/qwidget.html#windowOpacity-prop

<http://doc.qt.nokia.com/4.7-snapshot/qwidget.html#windowOpacity-prop>Note this 
depends on what capabilities the platform has in actually making the window 
semitransparent

Henrik

On Aug 27, 2010, at 9:03 PM, ext Anton Alferov wrote:

Alexis, thanks a lot. Your advice was useful - all my problems was resolved 
with the just one line:
v.viewport()->setAutoFillBackground(false);

Btw, the autoFillBackground property is set up in the QAbstractScrollArea class 
who is super (not direct) for the QDeclarativeView one.

Thanks,
Anton.


On 26 August 2010 21:51, 
<[email protected]<mailto:[email protected]>> wrote:

If it still doesn't work then you want to check the code of qdeclarativeview to 
see if the background color, the autofillBackground property are enforced.

<ATT00001..txt>

_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-qml

Reply via email to