equal
deleted
inserted
replaced
17 |
17 |
18 |
18 |
19 #ifndef HBMENU_H |
19 #ifndef HBMENU_H |
20 #define HBMENU_H |
20 #define HBMENU_H |
21 |
21 |
22 #include <hbwidget.h> |
22 #include "hbwidget.h" |
|
23 #include "hbpopup.h" |
23 |
24 |
24 class QGraphicsItem; |
25 class QGraphicsItem; |
25 class QPointF; |
26 class QPointF; |
26 class HbAction; |
27 class HbAction; |
27 |
28 |
28 class HbPopup |
|
29 { |
|
30 public: |
|
31 enum Placement |
|
32 { |
|
33 TopLeftCorner, |
|
34 TopRightCorner, |
|
35 BottomLeftCorner, |
|
36 BottomRightCorner, |
|
37 TopEdgeCenter, |
|
38 RightEdgeCenter, |
|
39 BottomEdgeCenter, |
|
40 LeftEdgeCenter, |
|
41 Center |
|
42 }; |
|
43 |
|
44 enum DismissPolicy |
|
45 { |
|
46 NoDismiss = 0, |
|
47 TapInside = 1, |
|
48 TapOutside = 2, |
|
49 TapAnywhere = TapInside | TapOutside |
|
50 }; |
|
51 }; |
|
52 |
29 |
53 class HbMenu: public HbWidget |
30 class HbMenu: public HbWidget |
54 { |
31 { |
55 Q_OBJECT |
32 Q_OBJECT |
56 |
33 |