LunaSysMgr
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
StatusBarNotificationArea Class Reference

#include <StatusBarNotificationArea.h>

Inheritance diagram for StatusBarNotificationArea:
[legend]
Collaboration diagram for StatusBarNotificationArea:
[legend]

Signals

void signalNotificationArealVisibilityChanged (bool visible)
 
void signalBannerMessageActivated ()
 
- Signals inherited from StatusBarItem
void signalBoundingRectChanged ()
 

Public Member Functions

 StatusBarNotificationArea ()
 
 ~StatusBarNotificationArea ()
 
int width () const
 
int height () const
 
QRectF boundingRect () const
 
void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
 
void init (DashboardWindowManager *dwm)
 
void updateBoundingRect (bool forceRepaint=false)
 
void iconRemoved (StatusBarIcon *icon)
 
void setMaxWidth (int maxWidth)
 
void setMaxHeight (int maxHeight)
 
int maxWidth ()
 
int maxHeight ()
 
bool handleBannerMsgTap ()
 
void registerBannerView ()
 
void unregisterBannerView ()
 
int bmViewGetWidth () const
 
int bmIsViewFullyExpanded () const
 
void bmViewUpdated ()
 
void bmViewMessageCountUpdated (int count)
 
void bmViewShowingNonSuppressibleMessage (bool showing)
 
void bmViewAddActiveCallBanner (const std::string &msg, const std::string &icon, uint32_t time)
 
void bmViewRemoveActiveCallBanner ()
 
void bmViewUpdateActiveCallBanner (const std::string &msg, const std::string &icon, uint32_t time)
 
- Public Member Functions inherited from StatusBarItem
 StatusBarItem (Alignment align=AlignCenter, bool overridesArrowOpacity=false)
 
 ~StatusBarItem ()
 
Alignment alignment () const
 
- Public Member Functions inherited from BannerMessageView
 BannerMessageView (ScrollType type)
 
virtual ~BannerMessageView ()
 
ScrollType scrollType ()
 

Additional Inherited Members

- Public Types inherited from StatusBarItem
enum  Alignment { AlignCenter = 0, AlignRight, AlignLeft }
 
- Public Types inherited from BannerMessageView
enum  ScrollType { VerticalScroll = 0, HorizontalScroll, StatusBarScroll, NoScroll }
 
- Public Attributes inherited from BannerMessageView
ScrollType m_scrollType
 
- Protected Attributes inherited from StatusBarItem
Alignment m_alignment
 
QRectF m_bounds
 

Constructor & Destructor Documentation

StatusBarNotificationArea::StatusBarNotificationArea ( )
StatusBarNotificationArea::~StatusBarNotificationArea ( )

Member Function Documentation

int StatusBarNotificationArea::bmIsViewFullyExpanded ( ) const
virtual

Reimplemented from BannerMessageView.

void StatusBarNotificationArea::bmViewAddActiveCallBanner ( const std::string &  msg,
const std::string &  icon,
uint32_t  time 
)
virtual

Implements BannerMessageView.

int StatusBarNotificationArea::bmViewGetWidth ( ) const
virtual

Implements BannerMessageView.

void StatusBarNotificationArea::bmViewMessageCountUpdated ( int  count)
virtual

Implements BannerMessageView.

void StatusBarNotificationArea::bmViewRemoveActiveCallBanner ( )
virtual

Implements BannerMessageView.

void StatusBarNotificationArea::bmViewShowingNonSuppressibleMessage ( bool  showing)
virtual

Implements BannerMessageView.

void StatusBarNotificationArea::bmViewUpdateActiveCallBanner ( const std::string &  msg,
const std::string &  icon,
uint32_t  time 
)
virtual

Implements BannerMessageView.

void StatusBarNotificationArea::bmViewUpdated ( )
virtual

Implements BannerMessageView.

QRectF StatusBarNotificationArea::boundingRect ( ) const
bool StatusBarNotificationArea::handleBannerMsgTap ( )
int StatusBarNotificationArea::height ( ) const
inline
void StatusBarNotificationArea::iconRemoved ( StatusBarIcon icon)
virtual

Reimplemented from StatusBarIconContainer.

void StatusBarNotificationArea::init ( DashboardWindowManager dwm)
int StatusBarNotificationArea::maxHeight ( )
inline
int StatusBarNotificationArea::maxWidth ( )
inline
void StatusBarNotificationArea::paint ( QPainter *  painter,
const QStyleOptionGraphicsItem *  option,
QWidget *  widget 
)
void StatusBarNotificationArea::registerBannerView ( )
inline
void StatusBarNotificationArea::setMaxHeight ( int  maxHeight)
void StatusBarNotificationArea::setMaxWidth ( int  maxWidth)
void StatusBarNotificationArea::signalBannerMessageActivated ( )
signal
void StatusBarNotificationArea::signalNotificationArealVisibilityChanged ( bool  visible)
signal
void StatusBarNotificationArea::unregisterBannerView ( )
inline
void StatusBarNotificationArea::updateBoundingRect ( bool  forceRepaint = false)
virtual
int StatusBarNotificationArea::width ( ) const
inline

The documentation for this class was generated from the following files: