#include <qcalcGraphicElements.h>
Public Types | |
enum | { Type = TYPE_EXPANDBUTTON } |
Public Member Functions | |
ExpandButton (QGraphicsItem *parent) | |
virtual | ~ExpandButton () |
CalcItem * | getItem () |
virtual void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=NULL) |
virtual int | type () const |
Protected Member Functions | |
void | hoverEnterEvent (QGraphicsSceneHoverEvent *) |
void | hoverLeaveEvent (QGraphicsSceneHoverEvent *) |
Protected Attributes | |
bool | hasMouseFocus |
ExpandButton::ExpandButton | ( | QGraphicsItem * | parent | ) |
virtual ExpandButton::~ExpandButton | ( | ) | [inline, virtual] |
CalcItem* ExpandButton::getItem | ( | ) | [inline] |
void ExpandButton::hoverEnterEvent | ( | QGraphicsSceneHoverEvent * | ) | [protected] |
void ExpandButton::hoverLeaveEvent | ( | QGraphicsSceneHoverEvent * | ) | [protected] |
void ExpandButton::paint | ( | QPainter * | painter, | |
const QStyleOptionGraphicsItem * | option, | |||
QWidget * | widget = NULL | |||
) | [virtual] |
virtual int ExpandButton::type | ( | ) | const [inline, virtual] |
bool ExpandButton::hasMouseFocus [protected] |