List of all members | Public Member Functions | Protected Attributes | Protected Member Functions | Friends
CalendarGraphicsItem Class Reference

#include <calendargraphicsitem.h>

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 (const QRectF &rectangle)
 
void setRect (qreal x, qreal y, qreal width, qreal height)
 
- Protected Member Functions inherited from GraphicsButtonReceiver
virtual ~GraphicsButtonReceiver ()
 
virtual void buttonMouseDoubleClickEvent (QGraphicsItem *, QGraphicsSceneMouseEvent *)
 
virtual void buttonMousePressEvent (QGraphicsItem *, QGraphicsSceneMouseEvent *)
 

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 
)
protectedvirtual

Reimplemented from GraphicsButtonReceiver.

CalendarControl * CalendarGraphicsItem::calendarControl ( ) const
void CalendarGraphicsItem::mousePressEvent ( QGraphicsSceneMouseEvent *  )
protected
void CalendarGraphicsItem::mouseReleaseEvent ( QGraphicsSceneMouseEvent *  event)
protected
QDate CalendarGraphicsItem::selectedDay ( ) const
inline
void CalendarGraphicsItem::setCalendarControl ( CalendarControl controller)
void CalendarGraphicsItem::setRect ( const QRectF &  rectangle)
protected
void CalendarGraphicsItem::setRect ( qreal  x,
qreal  y,
qreal  width,
qreal  height 
)
protected
void CalendarGraphicsItem::setSelectedDay ( const QDate &  sDate)

Friends And Related Function Documentation

friend class GraphicsTextButtonItem
friend

Member Data Documentation

CalendarControl* CalendarGraphicsItem::_controller
protected
QMap<QString,QGraphicsItem*> CalendarGraphicsItem::_items
protected
QDate CalendarGraphicsItem::_selectedDay
protected

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

Generated on Tue Oct 11 2016 13:59:50 xTuple ERP Programmer Reference, Version 4.3.0 doxygen 1.8.10