LunaSysMgr
|
#include <StatusBarInfo.h>
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 |
StatusBarIconContainer * | m_parent |
AnimationState | m_animState |
QEasingCurve | m_curve |
QPointer< tIconAnim > | m_animPtr |
qreal | m_animWidth |
qreal | m_animOpacity |
StatusBarInfoItem::StatusBarInfoItem | ( | StatusBarIconContainer * | parent | ) |
StatusBarInfoItem::~StatusBarInfoItem | ( | ) |
void StatusBarInfoItem::loadImage | ( | int | index, |
std::string | imgPath | ||
) |
|
inline |
void StatusBarInfoItem::selectImage | ( | unsigned int | index | ) |