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