#include <OpenFlipper/widgets/glWidget/QtGraphicsButton.hh>
|
void | pressed () |
| signals a button press
|
|
Simple Button implementation for QGraphicsScene
Definition at line 65 of file QtGraphicsButton.hh.
◆ QtGraphicsButton()
QtGraphicsButton::QtGraphicsButton |
( |
const QImage & |
_image, |
|
|
QGraphicsItem * |
_parent = 0 , |
|
|
int |
_width = -1 , |
|
|
int |
_height = -1 |
|
) |
| |
Create a glViewer.
- Parameters
-
_image | button imahe |
_parent | parent graphics scene item |
_width | button width |
_height | button height |
Definition at line 61 of file QtGraphicsButton.cc.
◆ boundingRect()
QRectF QtGraphicsButton::boundingRect |
( |
| ) |
const |
|
virtual |
◆ hoverEnterEvent()
void QtGraphicsButton::hoverEnterEvent |
( |
QGraphicsSceneHoverEvent * |
_event | ) |
|
|
virtual |
◆ hoverLeaveEvent()
void QtGraphicsButton::hoverLeaveEvent |
( |
QGraphicsSceneHoverEvent * |
_event | ) |
|
|
virtual |
◆ isChecked()
bool QtGraphicsButton::isChecked |
( |
| ) |
const |
◆ itemChange()
QVariant QtGraphicsButton::itemChange |
( |
GraphicsItemChange |
_change, |
|
|
const QVariant & |
_value |
|
) |
| |
|
virtual |
◆ mousePressEvent()
void QtGraphicsButton::mousePressEvent |
( |
QGraphicsSceneMouseEvent * |
_event | ) |
|
|
virtual |
◆ mouseReleaseEvent()
void QtGraphicsButton::mouseReleaseEvent |
( |
QGraphicsSceneMouseEvent * |
_event | ) |
|
|
virtual |
◆ paint()
void QtGraphicsButton::paint |
( |
QPainter * |
_painter, |
|
|
const QStyleOptionGraphicsItem * |
_option, |
|
|
QWidget * |
_widget = 0 |
|
) |
| |
|
virtual |
◆ setCheckable()
void QtGraphicsButton::setCheckable |
( |
bool |
_value | ) |
|
◆ setChecked()
void QtGraphicsButton::setChecked |
( |
bool |
_value | ) |
|
◆ checkable_
bool QtGraphicsButton::checkable_ |
|
private |
◆ checked_
bool QtGraphicsButton::checked_ |
|
private |
◆ checkedPix_
QPixmap QtGraphicsButton::checkedPix_ |
|
private |
◆ height_
int QtGraphicsButton::height_ |
|
private |
◆ normalPix_
QPixmap QtGraphicsButton::normalPix_ |
|
private |
◆ over_
bool QtGraphicsButton::over_ |
|
private |
◆ overPix_
QPixmap QtGraphicsButton::overPix_ |
|
private |
◆ pressed_
bool QtGraphicsButton::pressed_ |
|
private |
◆ width_
int QtGraphicsButton::width_ |
|
private |
The documentation for this class was generated from the following files: