@@ -18,7 +18,7 void BarLabel::setPos(qreal x, qreal y) | |||||
18 | mYpos = y; |
|
18 | mYpos = y; | |
19 | } |
|
19 | } | |
20 |
|
20 | |||
21 | void BarLabel::setSize(const QSize &size) |
|
21 | void BarLabel::setSize(const QSizeF &size) | |
22 | { |
|
22 | { | |
23 | mSize = size; |
|
23 | mSize = size; | |
24 | } |
|
24 | } |
@@ -14,7 +14,7 public: | |||||
14 | void setPos(qreal x, qreal y); |
|
14 | void setPos(qreal x, qreal y); | |
15 |
|
15 | |||
16 | // From ChartItem |
|
16 | // From ChartItem | |
17 | void setSize(const QSize &size); |
|
17 | void setSize(const QSizeF &size); | |
18 | void setPlotDomain(const PlotDomain& data); |
|
18 | void setPlotDomain(const PlotDomain& data); | |
19 |
|
19 | |||
20 | // From QGraphicsItem |
|
20 | // From QGraphicsItem | |
@@ -24,7 +24,7 public: | |||||
24 | private: |
|
24 | private: | |
25 |
|
25 | |||
26 | PlotDomain mDomain; |
|
26 | PlotDomain mDomain; | |
27 | QSize mSize; |
|
27 | QSizeF mSize; | |
28 | QString mLabel; |
|
28 | QString mLabel; | |
29 | qreal mXpos; |
|
29 | qreal mXpos; | |
30 | qreal mYpos; |
|
30 | qreal mYpos; |
General Comments 0
You need to be logged in to leave comments.
Login now