@@ -66,7 +66,7 QScatterSeries::~QScatterSeries() | |||||
66 | */ |
|
66 | */ | |
67 | QScatterSeries::MarkerShape QScatterSeries::shape() const |
|
67 | QScatterSeries::MarkerShape QScatterSeries::shape() const | |
68 | { |
|
68 | { | |
69 | return (QScatterSeries::MarkerShape) m_shape; |
|
69 | return m_shape; | |
70 | } |
|
70 | } | |
71 |
|
71 | |||
72 | /*! |
|
72 | /*! | |
@@ -75,8 +75,10 QScatterSeries::MarkerShape QScatterSeries::shape() const | |||||
75 | */ |
|
75 | */ | |
76 | void QScatterSeries::setShape(MarkerShape shape) |
|
76 | void QScatterSeries::setShape(MarkerShape shape) | |
77 | { |
|
77 | { | |
78 |
m_shape |
|
78 | if(m_shape!= shape){ | |
79 | emit updated(); |
|
79 | m_shape=shape; | |
|
80 | emit QXYSeries::updated(); | |||
|
81 | } | |||
80 | } |
|
82 | } | |
81 |
|
83 | |||
82 | /*! |
|
84 | /*! | |
@@ -92,8 +94,10 qreal QScatterSeries::size() const | |||||
92 | */ |
|
94 | */ | |
93 | void QScatterSeries::setSize(qreal size) |
|
95 | void QScatterSeries::setSize(qreal size) | |
94 | { |
|
96 | { | |
95 |
m_size = size |
|
97 | if(m_size != size){ | |
96 | emit updated(); |
|
98 | m_size=size; | |
|
99 | emit updated(); | |||
|
100 | } | |||
97 | } |
|
101 | } | |
98 |
|
102 | |||
99 | QTCOMMERCIALCHART_END_NAMESPACE |
|
103 | QTCOMMERCIALCHART_END_NAMESPACE |
General Comments 0
You need to be logged in to leave comments.
Login now