33 #include <QTextLayout>
34 #include <QStateMachine>
43 class QGraphicsSceneMouseEvent;
50 class QTapAndHoldGesture;
63 namespace DecoratorDesignation
74 namespace RemoveDeleteDecoratorSelector
85 namespace RemoveDeleteDecoratorState
95 namespace IconActionRequest
105 namespace IconInternalHitAreas
135 IconBase(const QRectF& iconGeometry,Page * p_belongsTo);
176 virtual
bool resize(quint32 newWidth,quint32 newHeight);
177 virtual
bool resize(const QSize& s);
178 virtual
bool expand(const quint32 widthEx,const quint32 heightEx);
210 virtual
bool tapIntoIcon(const QPointF& touchCoordinateICS,IconInternalHitAreas::
Enum& r_hitArea);
273 virtual
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option=0,QWidget *widget=0);
274 virtual
void paint(QPainter *painter, const QRectF& sourceItemRect);
276 virtual
void paint(QPainter *painter, const QRectF& sourceRect,qint32 renderOpt);
279 virtual
void paintOffscreen(QPainter *painter,const QRect& sourceRect,const QPoint& targetOrigin);
280 virtual
void paintOffscreen(QPainter *painter,const QRect& sourceRect,const QRect& targetRect);
296 IconBase(const QRectF& iconGeometry);
299 virtual
bool touchEvent(QTouchEvent * event) {
return true; }
306 virtual bool panGesture(QPanGesture *panEvent) {
return true; }
311 virtual bool tapGesture(QTapGesture *tapEvent) {
return true; }
316 static QRectF
GEOM(
const QRectF& geom);
317 static QRectF
AGEOM(
const QRectF& geom);