1 #include "contactframe.h"
5 ContactFrame::ContactFrame( QGraphicsItem
*parent
)
6 : QGraphicsWidget( parent
)
10 void ContactFrame::setPen( const QPen
&pen
)
15 void ContactFrame::paint( QPainter
*painter
, const QStyleOptionGraphicsItem
* option
, QWidget
*widget
)
19 painter
->setPen(mPen
);
20 painter
->drawRoundedRect(rect(), 19, 19);