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