CalendarGraphicsItem Class Reference

#include <calendargraphicsitem.h>

List of all members.

Public Member Functions

 CalendarGraphicsItem (CalendarControl *=0, QGraphicsItem *parent=0)
 ~CalendarGraphicsItem ()
CalendarControlcalendarControl () const
QDate selectedDay () const
void setCalendarControl (CalendarControl *controller)
void setSelectedDay (const QDate &)

Protected Attributes

CalendarControl_controller
QMap< QString, QGraphicsItem * > _items
QDate _selectedDay

Protected Member Functions

void buttonMouseReleaseEvent (QGraphicsItem *origin, QGraphicsSceneMouseEvent *event)
void mousePressEvent (QGraphicsSceneMouseEvent *)
void mouseReleaseEvent (QGraphicsSceneMouseEvent *)
void setRect (qreal x, qreal y, qreal width, qreal height)
void setRect (const QRectF &rectangle)

Friends

class GraphicsTextButtonItem

Constructor & Destructor Documentation

CalendarGraphicsItem::CalendarGraphicsItem ( CalendarControl cc = 0,
QGraphicsItem parent = 0 
)
CalendarGraphicsItem::~CalendarGraphicsItem (  ) 

Member Function Documentation

void CalendarGraphicsItem::buttonMouseReleaseEvent ( QGraphicsItem origin,
QGraphicsSceneMouseEvent event 
) [protected, virtual]

Reimplemented from GraphicsButtonReceiver.

CalendarControl * CalendarGraphicsItem::calendarControl (  )  const
void CalendarGraphicsItem::mousePressEvent ( QGraphicsSceneMouseEvent  )  [protected, virtual]

Reimplemented from QGraphicsItem.

void CalendarGraphicsItem::mouseReleaseEvent ( QGraphicsSceneMouseEvent event  )  [protected, virtual]

Reimplemented from QGraphicsItem.

QDate CalendarGraphicsItem::selectedDay (  )  const [inline]
void CalendarGraphicsItem::setCalendarControl ( CalendarControl controller  ) 
void CalendarGraphicsItem::setRect ( qreal  x,
qreal  y,
qreal  width,
qreal  height 
) [protected]

Reimplemented from QGraphicsRectItem.

void CalendarGraphicsItem::setRect ( const QRectF rectangle  )  [protected]

Reimplemented from QGraphicsRectItem.

void CalendarGraphicsItem::setSelectedDay ( const QDate sDate  ) 

Friends And Related Function Documentation

friend class GraphicsTextButtonItem [friend]

Member Data Documentation


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

Generated on Fri Sep 4 10:07:16 2009 xTuple ERP Programmer Reference, Version 3.3.0 doxygen 1.6.1