Changeset View
Changeset View
Standalone View
Standalone View
src/items/text/KReportDesignerItemText.h
Show All 39 Lines | 34 | public: | |||
---|---|---|---|---|---|
40 | virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = 0); | 40 | virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = 0); | ||
41 | virtual KReportDesignerItemText* clone(); | 41 | virtual KReportDesignerItemText* clone(); | ||
42 | 42 | | |||
43 | protected: | 43 | protected: | ||
44 | virtual void mousePressEvent(QGraphicsSceneMouseEvent * event); | 44 | virtual void mousePressEvent(QGraphicsSceneMouseEvent * event); | ||
45 | 45 | | |||
46 | private: | 46 | private: | ||
47 | QRect getTextRect() const; | 47 | QRect getTextRect() const; | ||
48 | void init(QGraphicsScene*, KReportDesigner*); | 48 | void init(QGraphicsScene *scene); | ||
49 | 49 | | |||
50 | private Q_SLOTS: | 50 | private Q_SLOTS: | ||
51 | void slotPropertyChanged(KPropertySet &, KProperty &); | 51 | void slotPropertyChanged(KPropertySet &, KProperty &); | ||
52 | }; | 52 | }; | ||
53 | 53 | | |||
54 | #endif | 54 | #endif |