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