equal
deleted
inserted
replaced
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); |