GraphicsTextButtonItem Class Reference

#include <graphicstextbuttonitem.h>

List of all members.

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)

Constructor & Destructor Documentation

GraphicsTextButtonItem::GraphicsTextButtonItem ( QGraphicsItem parent = 0  ) 
GraphicsTextButtonItem::GraphicsTextButtonItem ( const QString text,
QGraphicsItem parent = 0 
)
GraphicsTextButtonItem::~GraphicsTextButtonItem (  ) 

Member Function Documentation

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  ) 

Member Data Documentation


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

Generated on Tue Apr 20 12:03:08 2010 xTuple ERP Programmer Reference, Version 3.5.0 doxygen 1.6.1