Changeset View
Changeset View
Standalone View
Standalone View
src/wrtembed/KReportDesignerItemLine.h
Show All 33 Lines | 33 | public: | |||
---|---|---|---|---|---|
34 | KReportDesignerItemLine(KReportDesigner *, QGraphicsScene * scene, const QPointF &pos); | 34 | KReportDesignerItemLine(KReportDesigner *, QGraphicsScene * scene, const QPointF &pos); | ||
35 | KReportDesignerItemLine(KReportDesigner * d, QGraphicsScene * scene, const QPointF &startPos, const QPointF &endPos); | 35 | KReportDesignerItemLine(KReportDesigner * d, QGraphicsScene * scene, const QPointF &startPos, const QPointF &endPos); | ||
36 | KReportDesignerItemLine(const QDomNode & element, KReportDesigner *, QGraphicsScene * scene); | 36 | KReportDesignerItemLine(const QDomNode & element, KReportDesigner *, QGraphicsScene * scene); | ||
37 | 37 | | |||
38 | virtual void buildXML(QDomDocument *doc, QDomElement *parent); | 38 | virtual void buildXML(QDomDocument *doc, QDomElement *parent); | ||
39 | virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget *widget = 0); | 39 | virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget *widget = 0); | ||
40 | virtual KReportDesignerItemLine* clone(); | 40 | virtual KReportDesignerItemLine* clone(); | ||
41 | 41 | | |||
42 | void setLineScene(QLineF); | 42 | void setLineScene(const QLineF &line); | ||
43 | 43 | | |||
44 | virtual void move(const QPointF&); | 44 | virtual void move(const QPointF&); | ||
45 | 45 | | |||
46 | private: | 46 | private: | ||
47 | KReportDesigner* m_rd; | 47 | KReportDesigner* m_rd; | ||
48 | void init(QGraphicsScene*, KReportDesigner *); | 48 | void init(QGraphicsScene*, KReportDesigner *); | ||
49 | int grabHandle(QPointF pos); | 49 | int grabHandle(QPointF pos); | ||
50 | 50 | | |||
Show All 12 Lines |