#include <calendargraphicsitem.h>
Public Member Functions | |
CalendarGraphicsItem (CalendarControl *=0, QGraphicsItem *parent=0) | |
~CalendarGraphicsItem () | |
CalendarControl * | calendarControl () 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 |
CalendarGraphicsItem::CalendarGraphicsItem | ( | CalendarControl * | cc = 0 , |
|
QGraphicsItem * | parent = 0 | |||
) |
CalendarGraphicsItem::~CalendarGraphicsItem | ( | ) |
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 | ) |
friend class GraphicsTextButtonItem [friend] |
CalendarControl* CalendarGraphicsItem::_controller [protected] |
QMap<QString,QGraphicsItem*> CalendarGraphicsItem::_items [protected] |
QDate CalendarGraphicsItem::_selectedDay [protected] |
Generated on Mon Nov 30 09:57:33 2009 | xTuple ERP Programmer Reference, Version 3.4.0RC | 1.6.1 |