@@ -41,7 +41,7 public: | |||
|
41 | 41 | virtual LegendMarkerType type() { return LegendMarkerTypeArea; } |
|
42 | 42 | |
|
43 | 43 | // Related series |
|
44 | QAreaSeries* series(); | |
|
44 | virtual QAreaSeries* series(); | |
|
45 | 45 | |
|
46 | 46 | protected: |
|
47 | 47 | QAreaLegendMarker(QAreaLegendMarkerPrivate &d, QObject *parent = 0); |
@@ -40,7 +40,7 public: | |||
|
40 | 40 | virtual LegendMarkerType type() { return LegendMarkerTypeBar; } |
|
41 | 41 | |
|
42 | 42 | // Related series and barset |
|
43 | QAbstractBarSeries* series(); | |
|
43 | virtual QAbstractBarSeries* series(); | |
|
44 | 44 | QBarSet* barset(); |
|
45 | 45 | |
|
46 | 46 | protected: |
@@ -72,6 +72,8 public: | |||
|
72 | 72 | bool isVisible() const; |
|
73 | 73 | void setVisible(bool visible); |
|
74 | 74 | |
|
75 | virtual QAbstractSeries* series() = 0; | |
|
76 | ||
|
75 | 77 | protected: |
|
76 | 78 | explicit QLegendMarker(QLegendMarkerPrivate &d, QObject *parent = 0); |
|
77 | 79 |
General Comments 0
You need to be logged in to leave comments.
Login now