equal
deleted
inserted
replaced
112 int type() const { return Type; } |
112 int type() const { return Type; } |
113 |
113 |
114 void setPreferredPos(const QPointF& position, |
114 void setPreferredPos(const QPointF& position, |
115 HbPopup::Placement placement = HbPopup::TopLeftCorner); |
115 HbPopup::Placement placement = HbPopup::TopLeftCorner); |
116 |
116 |
|
117 QPainterPath shape() const; |
|
118 |
117 public slots: |
119 public slots: |
118 void open( QObject *receiver = 0, const char *member = 0); |
120 void open( QObject *receiver = 0, const char *member = 0); |
119 void exec(); |
121 void exec(); |
120 void handlePopupPos(); |
122 void handlePopupPos(); |
121 |
123 |
128 HbPopup(HbPopupPrivate &dd, QGraphicsItem *parent); |
130 HbPopup(HbPopupPrivate &dd, QGraphicsItem *parent); |
129 QVariant itemChange(GraphicsItemChange change, const QVariant & value); |
131 QVariant itemChange(GraphicsItemChange change, const QVariant & value); |
130 |
132 |
131 void mousePressEvent(QGraphicsSceneMouseEvent *event ); |
133 void mousePressEvent(QGraphicsSceneMouseEvent *event ); |
132 void mouseReleaseEvent(QGraphicsSceneMouseEvent *event ); |
134 void mouseReleaseEvent(QGraphicsSceneMouseEvent *event ); |
133 void keyPressEvent(QKeyEvent *event); |
|
134 |
135 |
135 void showEvent(QShowEvent *event); |
136 void showEvent(QShowEvent *event); |
136 void hideEvent(QHideEvent *event); |
137 void hideEvent(QHideEvent *event); |
137 void resizeEvent(QGraphicsSceneResizeEvent *event); |
138 void resizeEvent(QGraphicsSceneResizeEvent *event); |
138 void closeEvent(QCloseEvent *event); |
139 void closeEvent(QCloseEvent *event); |