#include <graphic_items.h>
Inheritance diagram for GraphicRectangle:
Public Member Functions | |
bool | init () |
void | paint (QPainter *, const QStyleOptionGraphicsItem *, QWidget *widget=0) |
QRectF | boundingRect () const |
QGraphicsItem * | graphicsItem () |
void | setRect (const QRectF &rect) |
QRectF | rect () const |
Properties | |
QRectF | rect [] |
Private Attributes | |
QRectF | m_rect |
QRectF GraphicRectangle::boundingRect | ( | ) | const |
QGraphicsItem* GraphicRectangle::graphicsItem | ( | ) | [inline, virtual] |
Implements PluginInterface.
bool GraphicRectangle::init | ( | ) | [virtual] |
Reimplemented from GraphicStandardItem.
void GraphicRectangle::paint | ( | QPainter * | , | |
const QStyleOptionGraphicsItem * | , | |||
QWidget * | widget = 0 | |||
) |
QRectF GraphicRectangle::rect | ( | ) | const [inline] |
void GraphicRectangle::setRect | ( | const QRectF & | rect | ) | [inline] |
QRectF GraphicRectangle::m_rect [private] |
QRectF GraphicRectangle::rect [read, write] |