KDChartPropertySet Class Reference

Property settings of a single KDChart data cell. More...

#include <KDChartPropertySet.h>

Inheritance diagram for KDChartPropertySet:

QObject
Collaboration diagram for KDChartPropertySet:

Collaboration graph
[legend]

List of all members.

Public Types

enum  SpecialDataPropertyID { UndefinedID = -2, OwnID = -1 }

Public Slots

int id () const
void setName (const QString &name)
QString name () const
void setShowBar (int idShowBar, bool showBar)
bool hasOwnShowBar (int &idShowBar, bool &showBar)
void setBarColor (int idBarColor, const QColor &barColor)
bool hasOwnBarColor (int &idBarColor, QColor &barColor)
void setLineWidth (int idLineWidth, int lineWidth)
bool hasOwnLineWidth (int &idLineWidth, int &lineWidth)
void setLineColor (int idLineColor, const QColor &lineColor)
bool hasOwnLineColor (int &idLineColor, QColor &lineColor)
void setLineStyle (int idLineStyle, const PenStyle &lineStyle)
bool hasOwnLineStyle (int &idLineStyle, PenStyle &lineStyle)
void setAreaBrush (int idAreaBrush, const QBrush &areaBrush)
bool hasOwnAreaBrush (int &idAreaBrush, QBrush &areaBrush)
void setShowMarker (int idShowMarker, bool showMarker)
bool hasOwnShowMarker (int &idShowMarker, bool &showMarker)
void setMarkerAlign (int idMarkerAlign, uint markerAlign)
bool hasOwnMarkerAlign (int &idMarkerAlign, uint &markerAlign)
void setMarkerSize (int idMarkerSize, const QSize &markerSize)
bool hasOwnMarkerSize (int &idMarkerSize, QSize &markerSize)
void setMarkerColor (int idMarkerColor, const QColor &markerColor)
bool hasOwnMarkerColor (int &idMarkerColor, QColor &markerColor)
void setMarkerStyle (int idMarkerStyle, int markerStyle)
bool hasOwnMarkerStyle (int &idMarkerStyle, int &markerStyle)
void setExtraLinesAlign (int idExtraLinesAlign, uint extraLinesAlign)
bool hasOwnExtraLinesAlign (int &idExtraLinesAlign, uint &extraLinesAlign)
void setExtraLinesInFront (int idExtraLinesInFront, bool extraLinesInFront)
bool hasOwnExtraLinesInFront (int &idExtraLinesInFront, bool &extraLinesInFront)
void setExtraLinesLength (int idExtraLinesLength, int extraLinesLength)
bool hasOwnExtraLinesLength (int &idExtraLinesLength, int &extraLinesLength)
void setExtraLinesWidth (int idExtraLinesWidth, int extraLinesWidth)
bool hasOwnExtraLinesWidth (int &idExtraLinesWidth, int &extraLinesWidth)
void setExtraLinesColor (int idExtraLinesColor, const QColor &extraLinesColor)
bool hasOwnExtraLinesColor (int &idExtraLinesColor, QColor &extraLinesColor)
void setExtraLinesStyle (int idExtraLinesStyle, const PenStyle extraLinesStyle)
bool hasOwnExtraLinesStyle (int &idExtraLinesStyle, PenStyle &extraLinesStyle)
void setExtraMarkersAlign (int idExtraMarkersAlign, uint extraMarkersAlign)
bool hasOwnExtraMarkersAlign (int &idExtraMarkersAlign, uint &extraMarkersAlign)
void setExtraMarkersSize (int idExtraMarkersSize, const QSize &extraMarkersSize)
bool hasOwnExtraMarkersSize (int &idExtraMarkersSize, QSize &extraMarkersSize)
void setExtraMarkersColor (int idExtraMarkersColor, const QColor &extraMarkersColor)
bool hasOwnExtraMarkersColor (int &idExtraMarkersColor, QColor &extraMarkersColor)
void setExtraMarkersStyle (int idExtraMarkersStyle, int extraMarkersStyle)
bool hasOwnExtraMarkersStyle (int &idExtraMarkersStyle, int &extraMarkersStyle)

Public Member Functions

 KDChartPropertySet ()
 KDChartPropertySet (const QString &name, int idParent=KDChartPropertySet::UndefinedID)
void deepCopy (const KDChartPropertySet *source)
const KDChartPropertySetclone () const
void quickReset (const QString &name, int idParent=KDChartPropertySet::UndefinedID)
void fullReset (const QString &name, int idParent=KDChartPropertySet::UndefinedID)
QDomElement saveXML (QDomDocument &doc) const

Static Public Member Functions

static bool loadXML (const QDomElement &element, KDChartPropertySet &set)

Protected Attributes

int mOwnID

Private Member Functions

 KDChartPropertySet (const KDChartPropertySet &)
void fillValueMembersWithDummyValues ()

Private Attributes

QString mName
int mIdLineWidth
int mLineWidth
int mIdLineColor
QColor mLineColor
int mIdLineStyle
Qt::PenStyle mLineStyle
int mIdShowMarker
bool mShowMarker
int mIdMarkerSize
QSize mMarkerSize
int mIdMarkerColor
QColor mMarkerColor
int mIdMarkerStyle
int mMarkerStyle
int mIdMarkerAlign
uint mMarkerAlign
int mIdExtraLinesAlign
uint mExtraLinesAlign
int mIdExtraLinesInFront
bool mExtraLinesInFront
int mIdExtraLinesLength
int mExtraLinesLength
int mIdExtraLinesWidth
int mExtraLinesWidth
int mIdExtraLinesColor
QColor mExtraLinesColor
int mIdExtraLinesStyle
Qt::PenStyle mExtraLinesStyle
int mIdExtraMarkersAlign
uint mExtraMarkersAlign
int mIdExtraMarkersSize
QSize mExtraMarkersSize
int mIdExtraMarkersColor
QColor mExtraMarkersColor
int mIdExtraMarkersStyle
int mExtraMarkersStyle
int mIdShowBar
bool mShowBar
int mIdBarColor
QColor mBarColor
int mIdAreaBrush
QBrush mAreaBrush

Friends

class KDChartParams


Detailed Description

Note:
The property settings feature currently is supported by normal (== not 3-dimensional!) Line Charts only. Future releases of KDChart will offer a rich set of options to use cell-specific properties for other chart types as well...
The KDChartPropertySet class stores several settings to be used by the painter classes to decide how to visualize the respective data cell. Each of the settings may be specified either by giving a value for it or by using the ID of another KDChartPropertySet instance: If the later the value of that instance is used instead of the value that is stored locally.

See also:
KDChartData::setPropertySet

KDCHART_PROPSET_NORMAL_DATA, KDCHART_PROPSET_TRANSPARENT_DATA

KDChartParams::registerProperties


Member Enumeration Documentation

Special property IDs.

  • UndefinedID (the default value) used to indicate that no ID was set for members mIdLineWidth, mIdLineColor, mIdLineStyle, mIdShowMarker and the like...
  • OwnID used for referencing a property set's *own* ID.
See also:
KDChartPropertySet
Enumerator:
UndefinedID 
OwnID 


Constructor & Destructor Documentation

KDChartPropertySet::KDChartPropertySet (  )  [inline]

default constructor setting all values to undefined and name to empty string

KDChartPropertySet::KDChartPropertySet ( const QString &  name,
int  idParent = KDChartPropertySet::UndefinedID 
) [inline]

Constructor setting all Property Set IDs to the same ID value.

This constructor may be used to initialize a property set and let it have all property IDs set to a specific value, e.g. you might pass KDCHART_PROPSET_NORMAL_DATA as ID to make the default property set the parent of all values.

Parameters:
name (may be empty) a name describing this property set.
idParent the ID of the parent property set. Skip this paramter to define a property set without specifying a parent.

KDChartPropertySet::KDChartPropertySet ( const KDChartPropertySet  )  [inline, private]


Member Function Documentation

void KDChartPropertySet::deepCopy ( const KDChartPropertySet source  ) 

Copy the settings stored by property set source into this property set.

Note:
Use this method instead of using the assignment operator.
See also:
clone, quickReset, fullReset

const KDChartPropertySet* KDChartPropertySet::clone (  )  const

Create a new property set on the heap, copy the settings stored by this property set into the newly created property set and return the pointer to the new property set.

Note:
Use this method instead of using the copy constructor.
See also:
deepCopy, quickReset, fullReset

void KDChartPropertySet::quickReset ( const QString &  name,
int  idParent = KDChartPropertySet::UndefinedID 
)

Set the name, set all of the ID settings to idParent, but do NOT change the value settings, and do NOT modify mOwnID.

Note:
Use this to quickly reset the ID settings: in most cases this should be sufficient for resetting the property set.
See also:
clone, fullReset

void KDChartPropertySet::fullReset ( const QString &  name,
int  idParent = KDChartPropertySet::UndefinedID 
)

Set the name, set all of the ID settings to idParent, set all of the value settings back to their default value, but do NOT modify mOwnID.

Note:
Use this to entirely reset both the ID values and the value settings: one of the very few reasons why you might want to do that might be your saving this property set into a data stream. In most other cases just calling quickReset should be sufficient.
See also:
clone, quickReset

QDomElement KDChartPropertySet::saveXML ( QDomDocument &  doc  )  const

Save this property set's settings in a stream, this stores the own property set ID as well.

See also:
loadXML

static bool KDChartPropertySet::loadXML ( const QDomElement &  element,
KDChartPropertySet set 
) [static]

Retrieves a property set and stores it in parameter set.

Note:
Since the property set's internal ID is also read make sure to call KDChartParams::setProperties( set.id(), set ) after calling load() if you want to use the loaded property set in the context of KDChartParam settings.
Returns:
TRUE if the property set could be read.
See also:
id, saveXLM

int KDChartPropertySet::id ( void   )  const [inline, slot]

Returns the name of this property set.

void KDChartPropertySet::setName ( const QString &  name  )  [inline, slot]

Change the descriptive name of this property set.

QString KDChartPropertySet::name ( void   )  const [inline, slot]

Returns the name of this property set.

void KDChartPropertySet::setShowBar ( int  idShowBar,
bool  showBar 
) [inline, slot]

Specify the ID of the property set specifying a boolean flag indicating whether this cell's bar is to be painted or specifying this flag directly.

Note:
This function should be used for Bar Charts only, otherwise the settings specified here will be ignored.
Parameters:
idShowBar ID of the property set specifying the flag indicating whether this cell's bar is to be painted. Use special value KDChartPropertySet::UndefinedID to specify neither another property set's ID nor an own value for this flag. Use special value KDChartPropertySet::OwnID if you do NOT want to inherit another property set's settings but want to specify the flag by using the following parameter.
showBar Flag indicating whether this cell's bar is to be painted. This parameter is stored but ignored if the previous parameter is not set to KDChartPropertySet::OwnID.
See also:
hasOwnShowBar

setBarColor

hasOwnBarColor

bool KDChartPropertySet::hasOwnShowBar ( int &  idShowBar,
bool &  showBar 
) [inline, slot]

Returns whether this property set is specifying it's own flag indicating whether this cell's bar is to be painted.

Note:
This function should be used for Bar Charts only, otherwise the settings specified here will be ignored.
Returns:
TRUE if this property set is specifying it's own showBar flag, FALSE if the settings of another property set are to be used instead.
Note:
The return value will also be FALSE if the 'default' properties are to be used: in this case idShowBar will be KDChartParams::NormalData
Parameters:
idShowBar to be ignored if return value is TRUE. If idShowBar is KDChartPropertySet::UndefinedID then neither a property set ID nor an own flag were specified (so no special enabeling/disabeling of bars is associated to the respective data cell), else idShowBar contains the ID of another property set that is specifying the flag to be used.
showBar this parameter's value is not modified if return value is FALSE. Parameter showBar contains the showBar flag associated with the respective data cell. If return value is FALSE the showBar flag is not set (so the parameter keeps its previous value) but this is to be overridden by the respective value of another property set that is indicated by the idShowBar parameter - unless this has the special value KDChartPropertySet::UndefinedID as decribed above.
See also:
setShowBar

setBarColor

hasOwnBarColor

void KDChartPropertySet::setBarColor ( int  idBarColor,
const QColor &  barColor 
) [inline, slot]

Specify the ID of the property set specifying the bar color to be used for this cell or specify the bar color directly.

Note:
This function should be used for Bar Charts only, otherwise the settings specified here will be ignored.
Parameters:
idBarColor ID of the property set specifying the bar color. Use special value KDChartPropertySet::UndefinedID to specify neither another property set's ID nor an own value for the bar color. Use special value KDChartPropertySet::OwnID if you do NOT want to inherit another property set's settings but want to specify the bar color by using the following parameter.
barColor The bar color to be used. This parameter is stored but ignored if the previous parameter is not set to KDChartPropertySet::OwnID.
See also:
hasOwnBarColor

bool KDChartPropertySet::hasOwnBarColor ( int &  idBarColor,
QColor &  barColor 
) [inline, slot]

Returns whether this property set is specifying it's own bar color settings.

Note:
This function should be used for Bar Charts only, otherwise the settings specified here will be ignored.
Returns:
TRUE if this property set is specifying it's own bar color settings, FALSE if the settings of another property set are to be used instead.
Note:
The return value will also be FALSE if the 'default' properties are to be used: in this case idBarColor will be KDChartParams::NormalData
Parameters:
idBarColor to be ignored if return value is TRUE. If idBarColor is KDChartPropertySet::UndefinedID then neither a property set ID nor an own bar color were specified (so no special Bar color is associated to the respective data cell), else idBarColor contains the ID of another property set that is specifying the Bar color to be used.
barColor this parameter's value is not modified if return value is FALSE. Parameter barColor contains the bar color value associated with the respective data cell. If return value is FALSE the barColor value is not set (so the parameter keeps its previous value) but this is to be overridden by the respective value of another property set that is indicated by the idBarColor parameter - unless this has the special value KDChartPropertySet::UndefinedID as decribed above.
See also:
setBarColor

void KDChartPropertySet::setLineWidth ( int  idLineWidth,
int  lineWidth 
) [inline, slot]

Specify the ID of the property set specifying the line width to be used for drawing a line from this data point to the next one or specify the line width directly.

Note:
This function should be used for Line Charts only, otherwise the settings specified here will be ignored.
Parameters:
idLineWidth ID of the property set specifying the line width. Use special value KDChartPropertySet::UndefinedID to specify neither another property set's ID nor an own value for the line width. Use special value KDChartPropertySet::OwnID if you do NOT want to inherit another property set's settings but want to specify the line width by using the following parameter.
lineWidth The line width to be used. This parameter is stored but ignored if the previous parameter is not set to KDChartPropertySet::OwnID.
See also:
setLineWidth, setLineColor, setLineStyle, setShowMarker

hasOwnLineWidth, hasOwnLineColor, hasOwnLineStyle, hasOwnShowMarker

bool KDChartPropertySet::hasOwnLineWidth ( int &  idLineWidth,
int &  lineWidth 
) [inline, slot]

Returns whether this property set is specifying it's own line width settings.

Note:
This function should be used for Line Charts only.
Returns:
TRUE if this property set is specifying it's own line width settings, FALSE if the settings of another property set are to be used instead.
Parameters:
idLineWidth to be ignored if return value is TRUE. If idLineWidth is KDChartPropertySet::UndefinedID then neither a property set ID nor an own line width were specified (so no special line width is associated to the respective data cell), else idLineWidth contains the ID of another property set that is specifying the line width to be used.
lineWidth this parameter's value is not modified if return value is FALSE. Parameter lineWidth contains the line width value associated with the respective data cell. If return value is FALSE the lineWidth value is not set (so the parameter keeps its previous value) but this is to be overridden by the respective value of another property set that is indicated by the idLineWidth parameter - unless this has the special value KDChartPropertySet::UndefinedID as decribed above.
See also:
setLineWidth, setLineColor, setLineStyle, setShowMarker

hasOwnLineColor, hasOwnLineStyle, hasOwnShowMarker

void KDChartPropertySet::setLineColor ( int  idLineColor,
const QColor &  lineColor 
) [inline, slot]

Specify the ID of the property set specifying the line color to be used for drawing a line from this data point to the next one or specify the line color directly.

Note:
This function should be used for Line Charts only, otherwise the settings specified here will be ignored.
Parameters:
idLineColor ID of the property set specifying the line color. Use special value KDChartPropertySet::UndefinedID to specify neither another property set's ID nor an own value for the line color. Use special value KDChartPropertySet::OwnID if you do NOT want to inherit another property set's settings but want to specify the line color by using the following parameter.
lineColor The line color to be used. This parameter is stored but ignored if the previous parameter is not set to KDChartPropertySet::OwnID.
See also:
setLineWidth, setLineStyle, setShowMarker

hasOwnLineWidth, hasOwnLineColor, hasOwnLineStyle, hasOwnShowMarker

bool KDChartPropertySet::hasOwnLineColor ( int &  idLineColor,
QColor &  lineColor 
) [inline, slot]

Returns whether this property set is specifying it's own line color settings.

Note:
This function should be used for Line Charts only, otherwise the settings specified here will be ignored.
Returns:
TRUE if this property set is specifying it's own line color settings, FALSE if the settings of another property set are to be used instead.
Note:
The return value will also be FALSE if the 'default' properties are to be used: in this case idLineColor will be KDChartParams::NormalData
Parameters:
idLineColor to be ignored if return value is TRUE. If idLineColor is KDChartPropertySet::UndefinedID then neither a property set ID nor an own line color were specified (so no special line color is associated to the respective data cell), else idLineColor contains the ID of another property set that is specifying the line color to be used.
lineColor this parameter's value is not modified if return value is FALSE. Parameter lineColor contains the line color value associated with the respective data cell. If return value is FALSE the lineColor value is not set (so the parameter keeps its previous value) but this is to be overridden by the respective value of another property set that is indicated by the idLineColor parameter - unless this has the special value KDChartPropertySet::UndefinedID as decribed above.
See also:
setLineWidth, setLineColor, setLineStyle, setShowMarker

hasOwnLineWidth, hasOwnLineStyle, hasOwnShowMarker

void KDChartPropertySet::setLineStyle ( int  idLineStyle,
const PenStyle &  lineStyle 
) [inline, slot]

Specify the ID of the property set specifying the line style to be used for drawing a line from this data point to the next one or specify the line width directly.

Note:
This function should be used for Line Charts only, otherwise the settings specified here will be ignored.
Parameters:
idLineStyle ID of the property set specifying the line style. Use special value KDChartPropertySet::UndefinedID to specify neither another property set's ID nor an own value for the line style. Use special value KDChartPropertySet::OwnID if you do NOT want to inherit another property set's settings but want to specify the line style by using the following parameter.
lineStyle The line style to be used. This parameter is stored but ignored if the previous parameter is not set to KDChartPropertySet::OwnID.
See also:
setLineWidth, setLineColor, setShowMarker

hasOwnLineWidth, hasOwnLineColor, hasOwnLineStyle, hasOwnShowMarker

bool KDChartPropertySet::hasOwnLineStyle ( int &  idLineStyle,
PenStyle &  lineStyle 
) [inline, slot]

Returns whether this property set is specifying it's own line style settings.

Note:
This function should be used for Line Charts only, otherwise the settings specified here will be ignored.
Returns:
TRUE if this property set is specifying it's own line style settings, FALSE if the settings of another property set are to be used instead.
Note:
The return value will also be FALSE if the 'default' properties are to be used: in this case idLineStyle will be KDChartParams::NormalData
Parameters:
idLineStyle to be ignored if return value is TRUE. If idLineStyle is KDChartPropertySet::UndefinedID then neither a property set ID nor an own line style were specified (so no special line style is associated to the respective data cell), else idLineStyle contains the ID of another property set that is specifying the line style to be used.
lineStyle this parameter's value is not modified if return value is FALSE. Parameter lineStyle contains the line style value associated with the respective data cell. If return value is FALSE the lineStyle value is not set (so the parameter keeps its previous value) but this is to be overridden by the respective value of another property set that is indicated by the idLineStyle parameter - unless this has the special value KDChartPropertySet::UndefinedID as decribed above.
See also:
setLineWidth, setLineColor, setLineStyle, setShowMarker

hasOwnLineWidth, hasOwnLineColor, hasOwnShowMarker

void KDChartPropertySet::setAreaBrush ( int  idAreaBrush,
const QBrush &  areaBrush 
) [inline, slot]

Specify the ID of the property set specifying the area brush to be used for this cell or specify the area brush directly.

Note:
This function should be used for Area Charts in Normal mode only, otherwise the settings specified here will be ignored.
Parameters:
idAreaBrush ID of the property set specifying the area brush. Use special value KDChartPropertySet::UndefinedID to specify neither another property set's ID nor an own value for the area brush. Use special value KDChartPropertySet::OwnID if you do NOT want to inherit another property set's settings but want to specify the area brush by using the following parameter.
areaBrush The area brush to be used. This parameter is stored but ignored if the previous parameter is not set to KDChartPropertySet::OwnID.
See also:
hasOwnAreaBrush

bool KDChartPropertySet::hasOwnAreaBrush ( int &  idAreaBrush,
QBrush &  areaBrush 
) [inline, slot]

Returns whether this property set is specifying it's own area brush settings.

Note:
This function should be used for Area Charts in Normal mode only, otherwise the settings specified here will be ignored.
Returns:
TRUE if this property set is specifying it's own area brush settings, FALSE if the settings of another property set are to be used instead.
Note:
The return value will also be FALSE if the 'default' properties are to be used: in this case idAreaBrush will be KDChartParams::NormalData
Parameters:
idAreaBrush to be ignored if return value is TRUE. If idAreaBrush is KDChartPropertySet::UndefinedID then neither a property set ID nor an own area brush were specified (so no special area brush is associated to the respective data cell), else idAreaBrush contains the ID of another property set that is specifying the area brush to be used.
areaBrush this parameter's value is not modified if return value is FALSE. Parameter areaBrush contains the area brush value associated with the respective data cell. If return value is FALSE the areaBrush value is not set (so the parameter keeps its previous value) but this is to be overridden by the respective value of another property set that is indicated by the idAreaBrush parameter - unless this has the special value KDChartPropertySet::UndefinedID as decribed above.
See also:
setAreaBrush

void KDChartPropertySet::setShowMarker ( int  idShowMarker,
bool  showMarker 
) [inline, slot]

Specify the ID of the property set specifying a boolean flag indicating whether a Marker is to be displayed for this data value or specifying this flag directly.

Note:
This function should be used for Line Charts only, otherwise the settings specified here will be ignored.
Parameters:
idShowMarker ID of the property set specifying the flag indicating whether a marker is to be shown. Use special value KDChartPropertySet::UndefinedID to specify neither another property set's ID nor an own value for this flag. Use special value KDChartPropertySet::OwnID if you do NOT want to inherit another property set's settings but want to specify the flag by using the following parameter.
showMarker Flag indicating whether a marker is to be shown. This parameter is stored but ignored if the previous parameter is not set to KDChartPropertySet::OwnID.
See also:
hasOwnShowMarker

setMarkerAlign, setMarkerSize, setMarkerColor, setMarkerStyle

setLineWidth, setLineColor, setLineStyle

bool KDChartPropertySet::hasOwnShowMarker ( int &  idShowMarker,
bool &  showMarker 
) [inline, slot]

Returns whether this property set is specifying it's own flag indicating whether a Marker is to be displayed.

Note:
This function should be used for Line Charts only, otherwise the settings specified here will be ignored.
Returns:
TRUE if this property set is specifying it's own showMarker flag, FALSE if the settings of another property set are to be used instead.
Note:
The return value will also be FALSE if the 'default' properties are to be used: in this case idShowMarker will be KDChartParams::NormalData
Parameters:
idShowMarker to be ignored if return value is TRUE. If idShowMarker is KDChartPropertySet::UndefinedID then neither a property set ID nor an own flag were specified (so no special enabeling/disabeling of markers is associated to the respective data cell), else idShowMarker contains the ID of another property set that is specifying the flag to be used.
showMarker this parameter's value is not modified if return value is FALSE. Parameter showMarker contains the showMarker flag associated with the respective data cell. If return value is FALSE the showMarker flag is not set (so the parameter keeps its previous value) but this is to be overridden by the respective value of another property set that is indicated by the idShowMarker parameter - unless this has the special value KDChartPropertySet::UndefinedID as decribed above.
See also:
setShowMarker

hasOwnMarkerAlign, hasOwnMarkerSize, hasOwnMarkerColor, hasOwnMarkerStyle

hasOwnLineWidth, hasOwnLineColor, hasOwnLineStyle

void KDChartPropertySet::setMarkerAlign ( int  idMarkerAlign,
uint  markerAlign 
) [inline, slot]

Specify the ID of the property set specifying the alignment of the Marker to be displayed for this data value or specifying this flag directly.

Note:
This function should be used for Line Charts only, otherwise the settings specified here will be ignored.
Parameters:
idMarkerAlign ID of the property set specifying the alignment of the Marker to be shown. Use special value KDChartPropertySet::UndefinedID to specify neither another property set's ID nor an own value for this flag. Use special value KDChartPropertySet::OwnID if you do NOT want to inherit another property set's settings but want to specify the flag by using the following parameter.
markerAlign The alignment of the marker to be shown. This parameter is stored but ignored if the previous parameter is not set to KDChartPropertySet::OwnID.
See also:
hasOwnShowMarker

setMarkerAlign, setMarkerSize, setMarkerColor, setMarkerStyle

setLineWidth, setLineColor, setLineStyle

bool KDChartPropertySet::hasOwnMarkerAlign ( int &  idMarkerAlign,
uint &  markerAlign 
) [inline, slot]

void KDChartPropertySet::setMarkerSize ( int  idMarkerSize,
const QSize &  markerSize 
) [inline, slot]

bool KDChartPropertySet::hasOwnMarkerSize ( int &  idMarkerSize,
QSize &  markerSize 
) [inline, slot]

void KDChartPropertySet::setMarkerColor ( int  idMarkerColor,
const QColor &  markerColor 
) [inline, slot]

bool KDChartPropertySet::hasOwnMarkerColor ( int &  idMarkerColor,
QColor &  markerColor 
) [inline, slot]

void KDChartPropertySet::setMarkerStyle ( int  idMarkerStyle,
int  markerStyle 
) [inline, slot]

bool KDChartPropertySet::hasOwnMarkerStyle ( int &  idMarkerStyle,
int &  markerStyle 
) [inline, slot]

void KDChartPropertySet::setExtraLinesAlign ( int  idExtraLinesAlign,
uint  extraLinesAlign 
) [inline, slot]

bool KDChartPropertySet::hasOwnExtraLinesAlign ( int &  idExtraLinesAlign,
uint &  extraLinesAlign 
) [inline, slot]

void KDChartPropertySet::setExtraLinesInFront ( int  idExtraLinesInFront,
bool  extraLinesInFront 
) [inline, slot]

bool KDChartPropertySet::hasOwnExtraLinesInFront ( int &  idExtraLinesInFront,
bool &  extraLinesInFront 
) [inline, slot]

void KDChartPropertySet::setExtraLinesLength ( int  idExtraLinesLength,
int  extraLinesLength 
) [inline, slot]

bool KDChartPropertySet::hasOwnExtraLinesLength ( int &  idExtraLinesLength,
int &  extraLinesLength 
) [inline, slot]

void KDChartPropertySet::setExtraLinesWidth ( int  idExtraLinesWidth,
int  extraLinesWidth 
) [inline, slot]

bool KDChartPropertySet::hasOwnExtraLinesWidth ( int &  idExtraLinesWidth,
int &  extraLinesWidth 
) [inline, slot]

void KDChartPropertySet::setExtraLinesColor ( int  idExtraLinesColor,
const QColor &  extraLinesColor 
) [inline, slot]

bool KDChartPropertySet::hasOwnExtraLinesColor ( int &  idExtraLinesColor,
QColor &  extraLinesColor 
) [inline, slot]

void KDChartPropertySet::setExtraLinesStyle ( int  idExtraLinesStyle,
const PenStyle  extraLinesStyle 
) [inline, slot]

bool KDChartPropertySet::hasOwnExtraLinesStyle ( int &  idExtraLinesStyle,
PenStyle &  extraLinesStyle 
) [inline, slot]

void KDChartPropertySet::setExtraMarkersAlign ( int  idExtraMarkersAlign,
uint  extraMarkersAlign 
) [inline, slot]

bool KDChartPropertySet::hasOwnExtraMarkersAlign ( int &  idExtraMarkersAlign,
uint &  extraMarkersAlign 
) [inline, slot]

void KDChartPropertySet::setExtraMarkersSize ( int  idExtraMarkersSize,
const QSize &  extraMarkersSize 
) [inline, slot]

bool KDChartPropertySet::hasOwnExtraMarkersSize ( int &  idExtraMarkersSize,
QSize &  extraMarkersSize 
) [inline, slot]

void KDChartPropertySet::setExtraMarkersColor ( int  idExtraMarkersColor,
const QColor &  extraMarkersColor 
) [inline, slot]

bool KDChartPropertySet::hasOwnExtraMarkersColor ( int &  idExtraMarkersColor,
QColor &  extraMarkersColor 
) [inline, slot]

void KDChartPropertySet::setExtraMarkersStyle ( int  idExtraMarkersStyle,
int  extraMarkersStyle 
) [inline, slot]

bool KDChartPropertySet::hasOwnExtraMarkersStyle ( int &  idExtraMarkersStyle,
int &  extraMarkersStyle 
) [inline, slot]

void KDChartPropertySet::fillValueMembersWithDummyValues (  )  [private]


Friends And Related Function Documentation

friend class KDChartParams [friend]


Member Data Documentation

int KDChartPropertySet::mOwnID [protected]

QString KDChartPropertySet::mName [private]

Qt::PenStyle KDChartPropertySet::mLineStyle [private]

Qt::PenStyle KDChartPropertySet::mExtraLinesStyle [private]


The documentation for this class was generated from the following file:

Generated on Wed Jan 26 13:06:46 2011 for KMyMoney by  doxygen 1.5.6