#include <graphicstextbuttonitem.h>
Public Member Functions | |
GraphicsTextButtonItem (const QString &text, QGraphicsItem *parent=0) | |
GraphicsTextButtonItem (QGraphicsItem *parent=0) | |
~GraphicsTextButtonItem () | |
QBrush | rolloverBrush () const |
void | setReceiver (GraphicsButtonReceiver *receiver) |
void | setRolloverBrush (const QBrush &rollover) |
Protected Attributes | |
QBrush | _normalBrush |
GraphicsButtonReceiver * | _receiver |
QBrush | _rolloverBrush |
Protected Member Functions | |
void | hoverEnterEvent (QGraphicsSceneHoverEvent *event) |
void | hoverLeaveEvent (QGraphicsSceneHoverEvent *event) |
void | mouseDoubleClickEvent (QGraphicsSceneMouseEvent *event) |
void | mousePressEvent (QGraphicsSceneMouseEvent *event) |
void | mouseReleaseEvent (QGraphicsSceneMouseEvent *event) |
GraphicsTextButtonItem::GraphicsTextButtonItem | ( | QGraphicsItem * | parent = 0 |
) |
GraphicsTextButtonItem::GraphicsTextButtonItem | ( | const QString & | text, | |
QGraphicsItem * | parent = 0 | |||
) |
GraphicsTextButtonItem::~GraphicsTextButtonItem | ( | ) |
void GraphicsTextButtonItem::hoverEnterEvent | ( | QGraphicsSceneHoverEvent * | event | ) | [protected, virtual] |
Reimplemented from QGraphicsItem.
void GraphicsTextButtonItem::hoverLeaveEvent | ( | QGraphicsSceneHoverEvent * | event | ) | [protected, virtual] |
Reimplemented from QGraphicsItem.
void GraphicsTextButtonItem::mouseDoubleClickEvent | ( | QGraphicsSceneMouseEvent * | event | ) | [protected, virtual] |
Reimplemented from QGraphicsItem.
void GraphicsTextButtonItem::mousePressEvent | ( | QGraphicsSceneMouseEvent * | event | ) | [protected, virtual] |
Reimplemented from QGraphicsItem.
void GraphicsTextButtonItem::mouseReleaseEvent | ( | QGraphicsSceneMouseEvent * | event | ) | [protected, virtual] |
Reimplemented from QGraphicsItem.
QBrush GraphicsTextButtonItem::rolloverBrush | ( | ) | const |
void GraphicsTextButtonItem::setReceiver | ( | GraphicsButtonReceiver * | receiver | ) |
void GraphicsTextButtonItem::setRolloverBrush | ( | const QBrush & | rollover | ) |
QBrush GraphicsTextButtonItem::_normalBrush [protected] |
GraphicsButtonReceiver* GraphicsTextButtonItem::_receiver [protected] |
QBrush GraphicsTextButtonItem::_rolloverBrush [protected] |
Generated on Tue Apr 20 12:03:08 2010 | xTuple ERP Programmer Reference, Version 3.5.0 | 1.6.1 |