LunaSysMgr
|
#include <StatusBarBattery.h>
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 |
StatusBarBattery::StatusBarBattery | ( | bool | showText = false | ) |
StatusBarBattery::~StatusBarBattery | ( | ) |
QRectF StatusBarBattery::boundingRect | ( | ) | const |
|
inline |
void StatusBarBattery::init | ( | ) |
void StatusBarBattery::paint | ( | QPainter * | painter, |
const QStyleOptionGraphicsItem * | option, | ||
QWidget * | widget | ||
) |
|
inline |