A todo for later (fix the shadow when the widget has children).
svn path=/trunk/KDE/kdelibs/; revision=1070097
This commit is contained in:
parent
4b305cbf84
commit
6d3b0437c6
@ -44,6 +44,8 @@ void ShadowFake::paint(QPainter *painter, const QStyleOptionGraphicsItem *option
|
||||
|
||||
void ShadowFake::setTarget(QGraphicsWidget *target)
|
||||
{
|
||||
//TODO: use childItems() and also draw child elements in the shadow
|
||||
//if it is > 0
|
||||
m_target = target;
|
||||
setParentItem(target);
|
||||
resize(target->size());
|
||||
|
Loading…
x
Reference in New Issue
Block a user