Provides a clickable button with three graphics for three modes.
More...
#include <buttongraphic.h>
List of all members.
Detailed Description
Provides a clickable button with three graphics for three modes.
Member Enumeration Documentation
- Enumerator:
kNormal |
|
kHovered |
|
kPressed |
|
Constructor & Destructor Documentation
ButtonGraphic::ButtonGraphic |
( |
int |
x, |
|
|
int |
y | |
|
) |
| | |
ButtonGraphic::~ButtonGraphic |
( |
|
) |
|
Member Function Documentation
QRectF ButtonGraphic::boundingRect |
( |
|
) |
const [virtual] |
void ButtonGraphic::clicked |
( |
|
) |
[signal] |
virtual from QGraphicsObject base
void ButtonGraphic::hoverEnterEvent |
( |
QGraphicsSceneHoverEvent * |
event |
) |
[protected, virtual] |
virtual from QGraphicsObject base
void ButtonGraphic::hoverLeaveEvent |
( |
QGraphicsSceneHoverEvent * |
event |
) |
[protected, virtual] |
void ButtonGraphic::mousePressEvent |
( |
QGraphicsSceneMouseEvent * |
event |
) |
[protected, virtual] |
void ButtonGraphic::mouseReleaseEvent |
( |
QGraphicsSceneMouseEvent * |
event |
) |
[protected, virtual] |
void ButtonGraphic::paint |
( |
QPainter * |
painter, |
|
|
const QStyleOptionGraphicsItem * |
option, |
|
|
QWidget * |
widget | |
|
) |
| | [protected, virtual] |
void ButtonGraphic::setDepressedGraphic |
( |
QString |
source |
) |
|
void ButtonGraphic::setHoveredGraphic |
( |
QString |
source |
) |
|
void ButtonGraphic::setNormalGraphic |
( |
QString |
source |
) |
|
The documentation for this class was generated from the following files: