This will make all the parts of my window transparent. And I want that some
parts should not have that effect.
The solution with the setAutoFillBackground(false); and
WA_TranslucentBackground works fine.

Anton.

On 30 August 2010 10:09, <henrik.ha...@nokia.com> wrote:

> 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, <alexis.men...@nokia.com> 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
Qt-qml@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-qml

Reply via email to