##// END OF EJS Templates
Adds ScopedPointer for axis title element
Michal Klocek -
r2141:f4b9e33f4ebb
parent child
Show More
@@ -124,7 +124,7 protected:
124 124 QList<QGraphicsItem *> labelItems() { return m_labels->childItems();};
125 125 QList<QGraphicsItem *> shadeItems() { return m_shades->childItems();};
126 126 QList<QGraphicsItem *> arrowItems() { return m_arrow->childItems();};
127 QGraphicsSimpleTextItem* titleItem() const { return m_title;}
127 QGraphicsSimpleTextItem* titleItem() const { return m_title.data();}
128 128
129 129 QFont font() const { return m_font; }
130 130 qreal min() const {return m_min; }
@@ -152,7 +152,7 private:
152 152 QScopedPointer<QGraphicsItemGroup> m_shades;
153 153 QScopedPointer<QGraphicsItemGroup> m_labels;
154 154 QScopedPointer<QGraphicsItemGroup> m_arrow;
155 QGraphicsSimpleTextItem *m_title;
155 QScopedPointer<QGraphicsSimpleTextItem> m_title;
156 156 QVector<qreal> m_layoutVector;
157 157 qreal m_min;
158 158 qreal m_max;
General Comments 0
You need to be logged in to leave comments. Login now