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

#include <StatusBarItemGroup.h>

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

Signals

void signalActionTriggered (bool active)
 
void signalActivated (StatusBarItemGroup *group)
 
- Signals inherited from StatusBarItem
void signalBoundingRectChanged ()
 

Public Member Functions

 StatusBarItemGroup (int height, bool hasArrow, bool showSeparator, Alignment)
 
 ~StatusBarItemGroup ()
 
QRectF boundingRect () const
 
void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
 
void setHeight (int h)
 
int separatorWidth ()
 
void addItem (StatusBarItem *item)
 
void show ()
 
void hide ()
 
void setMenuObject (QGraphicsObject *item)
 
void activate ()
 
void deactivate ()
 
bool isActivated ()
 
void setActionable (bool actionable)
 
bool isActionable () const
 
void actionTriggered ()
 
virtual bool sceneEvent (QEvent *event)
 
virtual void mousePressEvent (QGraphicsSceneMouseEvent *event)
 
virtual void mouseMoveEvent (QGraphicsSceneMouseEvent *event)
 
virtual void mouseDoubleClickEvent (QGraphicsSceneMouseEvent *event)
 
virtual void mouseReleaseEvent (QGraphicsSceneMouseEvent *event)
 
qreal arrowAnimProgress ()
 
void setArrowAnimProgress (qreal prog)
 
qreal overlayOpacity ()
 
void setOverlayOpacity (qreal opacity)
 
- Public Member Functions inherited from StatusBarItem
 StatusBarItem (Alignment align=AlignCenter, bool overridesArrowOpacity=false)
 
 ~StatusBarItem ()
 
Alignment alignment () const
 

Properties

qreal arrowAnimProgress
 
qreal overlayOpacity
 

Additional Inherited Members

- Public Types inherited from StatusBarItem
enum  Alignment { AlignCenter = 0, AlignRight, AlignLeft }
 
- Protected Attributes inherited from StatusBarItem
Alignment m_alignment
 
QRectF m_bounds
 

Constructor & Destructor Documentation

StatusBarItemGroup::StatusBarItemGroup ( int  height,
bool  hasArrow,
bool  showSeparator,
Alignment  align 
)
StatusBarItemGroup::~StatusBarItemGroup ( )

Member Function Documentation

void StatusBarItemGroup::actionTriggered ( )
void StatusBarItemGroup::activate ( )
void StatusBarItemGroup::addItem ( StatusBarItem item)
qreal StatusBarItemGroup::arrowAnimProgress ( )
inline
QRectF StatusBarItemGroup::boundingRect ( ) const
void StatusBarItemGroup::deactivate ( )
void StatusBarItemGroup::hide ( )
bool StatusBarItemGroup::isActionable ( ) const
inline
bool StatusBarItemGroup::isActivated ( )
inline
void StatusBarItemGroup::mouseDoubleClickEvent ( QGraphicsSceneMouseEvent *  event)
virtual
void StatusBarItemGroup::mouseMoveEvent ( QGraphicsSceneMouseEvent *  event)
virtual
void StatusBarItemGroup::mousePressEvent ( QGraphicsSceneMouseEvent *  event)
virtual
void StatusBarItemGroup::mouseReleaseEvent ( QGraphicsSceneMouseEvent *  event)
virtual
qreal StatusBarItemGroup::overlayOpacity ( )
inline
void StatusBarItemGroup::paint ( QPainter *  painter,
const QStyleOptionGraphicsItem *  option,
QWidget *  widget 
)
bool StatusBarItemGroup::sceneEvent ( QEvent event)
virtual
int StatusBarItemGroup::separatorWidth ( )
void StatusBarItemGroup::setActionable ( bool  actionable)
void StatusBarItemGroup::setArrowAnimProgress ( qreal  prog)
void StatusBarItemGroup::setHeight ( int  h)
void StatusBarItemGroup::setMenuObject ( QGraphicsObject item)
void StatusBarItemGroup::setOverlayOpacity ( qreal  opacity)
void StatusBarItemGroup::show ( )
void StatusBarItemGroup::signalActionTriggered ( bool  active)
signal
void StatusBarItemGroup::signalActivated ( StatusBarItemGroup group)
signal

Property Documentation

qreal StatusBarItemGroup::arrowAnimProgress
readwrite
qreal StatusBarItemGroup::overlayOpacity
readwrite

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