src/hbcore/gui/hbfadeitem.cpp
changeset 7 923ff622b8b9
parent 5 627c4a0fd0e7
child 21 4633027730f5
equal deleted inserted replaced
6:c3690ec91ef8 7:923ff622b8b9
    65 
    65 
    66 void HbFadeItemPrivate::init()
    66 void HbFadeItemPrivate::init()
    67 {
    67 {
    68     Q_Q(HbFadeItem);
    68     Q_Q(HbFadeItem);
    69 
    69 
    70     q->setBackgroundItem(HbStyle::P_Fade_background);
    70     setBackgroundItem(HbStyle::P_Fade_background);
    71 
    71 
    72     q->setAcceptHoverEvents(true);
    72     q->setAcceptHoverEvents(true);
    73     // This is needed to be able to block moving the focus to items behind background item by
    73     // This is needed to be able to block moving the focus to items behind background item by
    74     // clicking on them.
    74     // clicking on them.
    75     q->setFlag(QGraphicsItem::ItemIsFocusable);
    75     q->setFlag(QGraphicsItem::ItemIsFocusable);