I have created a Rectangle and now I want to add its shadow. How can I add it?
I have created a Rectangle and now I want to add its shadow. How can I add it?
U can use rectangular glow for it. you have to import QtGraphicalEffects
I guess DropShadow is suitable for images and is not a good choice for visual items of qml. So i think rectangularglow is best choice for qml visual items. Am i right wysota?
But when i tried to use DropShadow with qml items, It works well except that it's very sharp edges even though i've set the spread property to zero
Added after 4 minutes:
One more thing that the compiler get this warning: QML SourceProxy: Binding loop detected for property "output"
Last edited by alizadeh91; 30th December 2012 at 20:40.
Bookmarks