1 #ifndef ContactButton_H
2 #define ContactButton_H
4 #include <QGraphicsWidget>
7 class ContactButton
: public QGraphicsWidget
12 ContactButton( const QString
&pixmapPath
, QGraphicsItem
*parent
= 0 );
13 ContactButton( ContactButton
&button
);
15 void paint ( QPainter
* painter
, const QStyleOptionGraphicsItem
* option
, QWidget
* widget
= 0 );
17 void mousePressEvent(QGraphicsSceneMouseEvent
*event
);
20 QSizeF
sizeHint ( Qt::SizeHint which
, const QSizeF
& constraint
= QSizeF() ) const;