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

#include <StatusBarIcon.h>

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

Public Member Functions

 StatusBarIcon (StatusBarIconContainer *parent)
 
 ~StatusBarIcon ()
 
QRect boundingRect () const
 
void show ()
 
void hide ()
 
bool isVisible () const
 
qreal visiblePortion ()
 
void paint (QPainter *painter, QPoint centerRight, int width=-1)
 
void setImage (QPixmap *img)
 

Protected Types

enum  AnimationState { NO_ANIMATION, SLIDE_ANIMATION }
 
typedef VariantAnimation
< StatusBarIcon
tIconAnim
 

Protected Slots

void slotAnimFinished ()
 

Protected Member Functions

virtual void setVisible (bool visible)
 
void animValueChanged (const QVariant &value)
 
void updateBoundingRect (bool forceRepaint=false)
 

Protected Attributes

QPixmap * m_imgPtr
 
QRect m_bounds
 
bool m_visible
 
StatusBarIconContainerm_parent
 
AnimationState m_animState
 
QEasingCurve m_curve
 
QPointer< tIconAnimm_animPtr
 
qreal m_animWidth
 
qreal m_animOpacity
 

Member Typedef Documentation

Member Enumeration Documentation

Enumerator
NO_ANIMATION 
SLIDE_ANIMATION 

Constructor & Destructor Documentation

StatusBarIcon::StatusBarIcon ( StatusBarIconContainer parent)
StatusBarIcon::~StatusBarIcon ( )

Member Function Documentation

void StatusBarIcon::animValueChanged ( const QVariant &  value)
protected
QRect StatusBarIcon::boundingRect ( ) const
void StatusBarIcon::hide ( )
bool StatusBarIcon::isVisible ( ) const
inline
void StatusBarIcon::paint ( QPainter *  painter,
QPoint  centerRight,
int  width = -1 
)
void StatusBarIcon::setImage ( QPixmap *  img)
virtual void StatusBarIcon::setVisible ( bool  visible)
inlineprotectedvirtual
void StatusBarIcon::show ( )
void StatusBarIcon::slotAnimFinished ( )
protectedslot
void StatusBarIcon::updateBoundingRect ( bool  forceRepaint = false)
protected
qreal StatusBarIcon::visiblePortion ( )
inline

Member Data Documentation

qreal StatusBarIcon::m_animOpacity
protected
QPointer<tIconAnim> StatusBarIcon::m_animPtr
protected
AnimationState StatusBarIcon::m_animState
protected
qreal StatusBarIcon::m_animWidth
protected
QRect StatusBarIcon::m_bounds
protected
QEasingCurve StatusBarIcon::m_curve
protected
QPixmap* StatusBarIcon::m_imgPtr
protected
StatusBarIconContainer* StatusBarIcon::m_parent
protected
bool StatusBarIcon::m_visible
protected

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