22 #ifndef BANNERWINDOW_H
23 #define BANNERWINDOW_H
29 #include <QGraphicsObject>
46 virtual void paint(QPainter* painter,
const QStyleOptionGraphicsItem* option, QWidget* widget);
50 m_ignoreGestureUpEvent = !m_ignoreGestureUpEvent;
53 void resize(
int width,
int height);
57 bool sceneEvent(
QEvent* event);
58 bool handleTap(
const QPointF &tapHotspot);
60 virtual int bmViewGetWidth()
const;
61 virtual void bmViewUpdated();
62 virtual void bmViewMessageCountUpdated(
int count);
64 virtual void bmViewAddActiveCallBanner(
const std::string& msg,
const std::string& icon, uint32_t time);
65 virtual void bmViewRemoveActiveCallBanner();
66 virtual void bmViewUpdateActiveCallBanner(
const std::string& msg,
const std::string& icon, uint32_t time);
67 virtual void bmViewShowingNonSuppressibleMessage(
bool val);
69 void sendClickToActiveBannerWindow(
Window* win,
int x,
int y);
77 bool m_ignoreGestureUpEvent;