@@ -124,7 +124,7 protected: | |||||
124 | QList<QGraphicsItem *> labelItems() { return m_labels->childItems();}; |
|
124 | QList<QGraphicsItem *> labelItems() { return m_labels->childItems();}; | |
125 | QList<QGraphicsItem *> shadeItems() { return m_shades->childItems();}; |
|
125 | QList<QGraphicsItem *> shadeItems() { return m_shades->childItems();}; | |
126 | QList<QGraphicsItem *> arrowItems() { return m_arrow->childItems();}; |
|
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 | QFont font() const { return m_font; } |
|
129 | QFont font() const { return m_font; } | |
130 | qreal min() const {return m_min; } |
|
130 | qreal min() const {return m_min; } | |
@@ -152,7 +152,7 private: | |||||
152 | QScopedPointer<QGraphicsItemGroup> m_shades; |
|
152 | QScopedPointer<QGraphicsItemGroup> m_shades; | |
153 | QScopedPointer<QGraphicsItemGroup> m_labels; |
|
153 | QScopedPointer<QGraphicsItemGroup> m_labels; | |
154 | QScopedPointer<QGraphicsItemGroup> m_arrow; |
|
154 | QScopedPointer<QGraphicsItemGroup> m_arrow; | |
155 |
QGraphicsSimpleTextItem |
|
155 | QScopedPointer<QGraphicsSimpleTextItem> m_title; | |
156 | QVector<qreal> m_layoutVector; |
|
156 | QVector<qreal> m_layoutVector; | |
157 | qreal m_min; |
|
157 | qreal m_min; | |
158 | qreal m_max; |
|
158 | qreal m_max; |
General Comments 0
You need to be logged in to leave comments.
Login now