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

#include <StatusBarClock.h>

Inheritance diagram for StatusBarClock:
Collaboration diagram for StatusBarClock:

Public Member Functions

 StatusBarClock (unsigned int padding=0)
virtual ~StatusBarClock ()
QRectF boundingRect () const
void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
void updateTimeFormat (const char *format)
void setDisplayDate (bool date)
int width () const
int height () const
void setPadding (unsigned int padding)
- 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

StatusBarClock::StatusBarClock ( unsigned int  padding = 0)
StatusBarClock::~StatusBarClock ( )

Member Function Documentation

QRectF StatusBarClock::boundingRect ( ) const
int StatusBarClock::height ( ) const
void StatusBarClock::paint ( QPainter *  painter,
const QStyleOptionGraphicsItem *  option,
QWidget *  widget 
void StatusBarClock::setDisplayDate ( bool  date)
void StatusBarClock::setPadding ( unsigned int  padding)
void StatusBarClock::updateTimeFormat ( const char *  format)
int StatusBarClock::width ( ) const

Member Data Documentation

int StatusBarClock::day
int StatusBarClock::hour
int StatusBarClock::min
int StatusBarClock::month
int StatusBarClock::year

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