equal
deleted
inserted
replaced
114 ); |
114 ); |
115 } |
115 } |
116 } |
116 } |
117 } |
117 } |
118 |
118 |
119 QPainterPath path; |
119 // QPainterPath path; |
120 path.addRect(maskRect); |
120 // path.addRect(maskRect); |
121 frameDrawer().setClipPath(path); |
121 // frameDrawer().setClipPath(path); |
|
122 QPixmap pixmap(boundingRect().size().toSize()); |
|
123 pixmap.fill(Qt::white); |
|
124 QPainter painter1; |
|
125 painter1.begin(&pixmap); |
|
126 painter1.setBrush(QBrush(Qt::black)); |
|
127 painter1.drawRect(maskRect); |
|
128 painter1.end(); |
|
129 frameDrawer().setMask(pixmap); |
|
130 |
122 HbFrameItem::paint(painter,option,widget); |
131 HbFrameItem::paint(painter,option,widget); |
123 } |
132 } |
124 |
133 |
125 |
134 |