NAME

Qt::Gui::QGraphicsLineItem

PUBLIC METHODS

QGraphicsLineItem(QGraphicsItem * parent, QGraphicsScene * scene)
QGraphicsLineItem(QGraphicsItem * parent, QGraphicsScene * scene = 0)
QGraphicsLineItem(QGraphicsItem * parent = 0, QGraphicsScene * scene = 0)
QGraphicsLineItem(const QLineF & line, QGraphicsItem * parent, QGraphicsScene * scene)
QGraphicsLineItem(const QLineF & line, QGraphicsItem * parent, QGraphicsScene * scene = 0)
QGraphicsLineItem(const QLineF & line, QGraphicsItem * parent = 0, QGraphicsScene * scene = 0)
QGraphicsLineItem(qreal x1, qreal y1, qreal x2, qreal y2, QGraphicsItem * parent, QGraphicsScene * scene)
QGraphicsLineItem(qreal x1, qreal y1, qreal x2, qreal y2, QGraphicsItem * parent, QGraphicsScene * scene = 0)
QGraphicsLineItem(qreal x1, qreal y1, qreal x2, qreal y2, QGraphicsItem * parent = 0, QGraphicsScene * scene = 0)
~QGraphicsLineItem()
QRectF boundingRect()
bool contains(const QPointF & point)
bool isObscuredBy(const QGraphicsItem * item)
QLineF line()
QPainterPath opaqueArea()
void paint(QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget)
void paint(QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget = 0)
QPen pen()
void setLine(const QLineF & line)
void setLine(qreal x1, qreal y1, qreal x2, qreal y2)
void setPen(const QPen & pen)
QPainterPath shape()
int type()

ENUM VALUES

Type

EXPORT

None by default.

AUTHOR

Dongxu Ma <dongxu@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2011 - 2011 by Dongxu Ma

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://dev.perl.org/licenses/artistic.html