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

#include <StatusBarBattery.h>

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

Public Member Functions

 StatusBarBattery (bool showText=false)
 
 ~StatusBarBattery ()
 
int width () const
 
int height () const
 
QRectF boundingRect () const
 
void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
 
void init ()
 
- Public Member Functions inherited from StatusBarItem
 StatusBarItem (Alignment align=AlignCenter, bool overridesArrowOpacity=false)
 
 ~StatusBarItem ()
 
Alignment alignment () const
 

Additional Inherited Members

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

Constructor & Destructor Documentation

StatusBarBattery::StatusBarBattery ( bool  showText = false)
StatusBarBattery::~StatusBarBattery ( )

Member Function Documentation

QRectF StatusBarBattery::boundingRect ( ) const
int StatusBarBattery::height ( ) const
inline
void StatusBarBattery::init ( )
void StatusBarBattery::paint ( QPainter *  painter,
const QStyleOptionGraphicsItem *  option,
QWidget *  widget 
)
int StatusBarBattery::width ( ) const
inline

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