LunaSysMgr
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
BannerMessage Class Reference
Inheritance diagram for BannerMessage:
[legend]
Collaboration diagram for BannerMessage:
[legend]

Public Member Functions

 BannerMessage (const std::string &_appId, const std::string &_msgId, const std::string &_msg, const std::string &_launchParams, const QFont *_font, const std::string &_icon, const std::string &_soundClass, const std::string &_soundFile, int _soundDuration, bool _doNotSuppress)
 
qreal posAnimProgress () const
 
void setPosAnimProgress (qreal val)
 
qreal opacity () const
 
void setOpacity (qreal val)
 
void createElidedMessage (int width)
 
int elidedMsgWidth (int width)
 

Public Attributes

std::string appId
 
std::string msgId
 
std::string launchParams
 
std::string icon
 
std::string soundClass
 
std::string soundFile
 
int soundDuration
 
bool doNotSuppress
 
QFontMetrics fontMetrics
 
QString msg
 
int elidedWidth
 
QString elidedMsg
 
QPixmap pixmap
 
qreal posAnimProg
 
qreal alpha
 
bool triggered
 
uint32_t timerStartTime
 
QStateMachinestateMachine
 
QTimer * timer
 
QPropertyAnimation * showPosAnimation
 
QPropertyAnimation * showOpacityAnimation
 
QPropertyAnimation * hidePosAnimation
 
QPropertyAnimation * hideOpacityAnimation
 

Properties

qreal posAnimProgress
 
qreal opacity
 

Constructor & Destructor Documentation

BannerMessage::BannerMessage ( const std::string &  _appId,
const std::string &  _msgId,
const std::string &  _msg,
const std::string &  _launchParams,
const QFont *  _font,
const std::string &  _icon,
const std::string &  _soundClass,
const std::string &  _soundFile,
int  _soundDuration,
bool  _doNotSuppress 
)
inline

Member Function Documentation

void BannerMessage::createElidedMessage ( int  width)
inline
int BannerMessage::elidedMsgWidth ( int  width)
inline
qreal BannerMessage::opacity ( ) const
inline
qreal BannerMessage::posAnimProgress ( ) const
inline
void BannerMessage::setOpacity ( qreal  val)
inline
void BannerMessage::setPosAnimProgress ( qreal  val)
inline

Member Data Documentation

qreal BannerMessage::alpha
std::string BannerMessage::appId
bool BannerMessage::doNotSuppress
QString BannerMessage::elidedMsg
int BannerMessage::elidedWidth
QFontMetrics BannerMessage::fontMetrics
QPropertyAnimation* BannerMessage::hideOpacityAnimation
QPropertyAnimation* BannerMessage::hidePosAnimation
std::string BannerMessage::icon
std::string BannerMessage::launchParams
QString BannerMessage::msg
std::string BannerMessage::msgId
QPixmap BannerMessage::pixmap
qreal BannerMessage::posAnimProg
QPropertyAnimation* BannerMessage::showOpacityAnimation
QPropertyAnimation* BannerMessage::showPosAnimation
std::string BannerMessage::soundClass
int BannerMessage::soundDuration
std::string BannerMessage::soundFile
QStateMachine* BannerMessage::stateMachine
QTimer* BannerMessage::timer
uint32_t BannerMessage::timerStartTime
bool BannerMessage::triggered

Property Documentation

qreal BannerMessage::opacity
readwrite
qreal BannerMessage::posAnimProgress
readwrite

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