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