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