#include <KDChartMarkerAttributes.h>
Public Types | |
enum | MarkerStyle { MarkerCircle = 0, MarkerSquare = 1, MarkerDiamond = 2, Marker1Pixel = 3, Marker4Pixels = 4, MarkerRing = 5, MarkerCross = 6, MarkerFastCross = 7 } |
typedef QMap< uint, MarkerStyle > | MarkerStylesMap |
Public Member Functions | |
bool | isVisible () const |
MarkerAttributes (const MarkerAttributes &) | |
MarkerAttributes () | |
QColor | markerColor () const |
QSizeF | markerSize () const |
MarkerStyle | markerStyle () const |
MarkerStylesMap | markerStylesMap () const |
bool | operator!= (const MarkerAttributes &) const |
MarkerAttributes & | operator= (const MarkerAttributes &) |
bool | operator== (const MarkerAttributes &) const |
QPen | pen () const |
void | setMarkerColor (const QColor &color) |
void | setMarkerSize (const QSizeF &size) |
Normally you need to specify a valid QSizeF here, but for Legends you can use the invalid size QSizeF(), to enable automatic marker size calculation:. | |
void | setMarkerStyle (MarkerStyle style) |
void | setMarkerStylesMap (const MarkerStylesMap &map) |
void | setPen (const QPen &pen) |
void | setVisible (bool visible) |
~MarkerAttributes () |
|
Definition at line 65 of file KDChartMarkerAttributes.h. |
|
Definition at line 53 of file KDChartMarkerAttributes.h.
00053 { MarkerCircle = 0, 00054 MarkerSquare = 1, 00055 MarkerDiamond = 2, 00056 Marker1Pixel = 3, 00057 Marker4Pixels = 4, 00058 MarkerRing = 5, 00059 MarkerCross = 6, 00060 MarkerFastCross = 7 }; |
|
|
|
|
|
|
|
Referenced by operator<<(), and KDChart::AbstractDiagram::paintMarker(). |
|
Referenced by operator<<(), and KDChart::AbstractDiagram::paintMarker(). |
|
|
Referenced by operator<<(), and KDChart::AbstractDiagram::paintMarker(). |
|
Referenced by operator<<(). |
|
Definition at line 96 of file KDChartMarkerAttributes.h. References operator==().
00096 { return !operator==( other ); } |
|
|
|
Referenced by operator!=(). |
|
Referenced by operator<<(), and KDChart::AbstractDiagram::paintMarker(). |
|
|
|
Normally you need to specify a valid QSizeF here, but for Legends you can use the invalid size QSizeF(), to enable automatic marker size calculation:. For Markers shown in a Legend this means the marker size will be equal to the font height used for the labels that are shown next to the markers. |
|
|
|
|
|
|
|
|