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

#include <StatusBarInfo.h>

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

Public Member Functions

 StatusBarInfoItem (StatusBarIconContainer *parent)
 
 ~StatusBarInfoItem ()
 
void loadImage (int index, std::string imgPath)
 
void selectImage (unsigned int index)
 
int selectedImageIndex ()
 
- Public Member Functions inherited from StatusBarIcon
 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)
 

Additional Inherited Members

- Protected Types inherited from StatusBarIcon
enum  AnimationState { NO_ANIMATION, SLIDE_ANIMATION }
 
typedef VariantAnimation
< StatusBarIcon
tIconAnim
 
- Protected Slots inherited from StatusBarIcon
void slotAnimFinished ()
 
- Protected Member Functions inherited from StatusBarIcon
virtual void setVisible (bool visible)
 
void animValueChanged (const QVariant &value)
 
void updateBoundingRect (bool forceRepaint=false)
 
- Protected Attributes inherited from StatusBarIcon
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
 

Constructor & Destructor Documentation

StatusBarInfoItem::StatusBarInfoItem ( StatusBarIconContainer parent)
StatusBarInfoItem::~StatusBarInfoItem ( )

Member Function Documentation

void StatusBarInfoItem::loadImage ( int  index,
std::string  imgPath 
)
int StatusBarInfoItem::selectedImageIndex ( )
inline
void StatusBarInfoItem::selectImage ( unsigned int  index)

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