kchart

#include <KDChartPropertySet.h>

Inherits TQObject.

Public Types

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

Public Slots

int id () const
 
void setName (const TQString &name)
 
TQString name () const
 
void setShowBar (int idShowBar, bool showBar)
 
bool hasOwnShowBar (int &idShowBar, bool &showBar)
 
void setBarColor (int idBarColor, const TQColor &barColor)
 
bool hasOwnBarColor (int &idBarColor, TQColor &barColor)
 
void setLineWidth (int idLineWidth, int lineWidth)
 
bool hasOwnLineWidth (int &idLineWidth, int &lineWidth)
 
void setLineColor (int idLineColor, const TQColor &lineColor)
 
bool hasOwnLineColor (int &idLineColor, TQColor &lineColor)
 
void setLineStyle (int idLineStyle, const TQt::PenStyle &lineStyle)
 
bool hasOwnLineStyle (int &idLineStyle, TQt::PenStyle &lineStyle)
 
void setAreaBrush (int idAreaBrush, const TQBrush &areaBrush)
 
bool hasOwnAreaBrush (int &idAreaBrush, TQBrush &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 TQSize &markerSize)
 
bool hasOwnMarkerSize (int &idMarkerSize, TQSize &markerSize)
 
void setMarkerColor (int idMarkerColor, const TQColor &markerColor)
 
bool hasOwnMarkerColor (int &idMarkerColor, TQColor &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 TQColor &extraLinesColor)
 
bool hasOwnExtraLinesColor (int &idExtraLinesColor, TQColor &extraLinesColor)
 
void setExtraLinesStyle (int idExtraLinesStyle, const TQt::PenStyle extraLinesStyle)
 
bool hasOwnExtraLinesStyle (int &idExtraLinesStyle, TQt::PenStyle &extraLinesStyle)
 
void setExtraMarkersAlign (int idExtraMarkersAlign, uint extraMarkersAlign)
 
bool hasOwnExtraMarkersAlign (int &idExtraMarkersAlign, uint &extraMarkersAlign)
 
void setExtraMarkersSize (int idExtraMarkersSize, const TQSize &extraMarkersSize)
 
bool hasOwnExtraMarkersSize (int &idExtraMarkersSize, TQSize &extraMarkersSize)
 
void setExtraMarkersColor (int idExtraMarkersColor, const TQColor &extraMarkersColor)
 
bool hasOwnExtraMarkersColor (int &idExtraMarkersColor, TQColor &extraMarkersColor)
 
void setExtraMarkersStyle (int idExtraMarkersStyle, int extraMarkersStyle)
 
bool hasOwnExtraMarkersStyle (int &idExtraMarkersStyle, int &extraMarkersStyle)
 

Public Member Functions

 KDChartPropertySet ()
 
 KDChartPropertySet (const TQString &name, int idParent=KDChartPropertySet::UndefinedID)
 
void deepCopy (const KDChartPropertySet *source)
 
const KDChartPropertySet * clone () const
 
void quickReset (const TQString &name, int idParent=KDChartPropertySet::UndefinedID)
 
void fullReset (const TQString &name, int idParent=KDChartPropertySet::UndefinedID)
 
TQDomElement saveXML (TQDomDocument &doc) const
 

Static Public Member Functions

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

Protected Attributes

int mOwnID
 

Friends

class KDChartParams
 

Detailed Description

Property settings of a single KDChart data cell.

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

Definition at line 66 of file KDChartPropertySet.h.

Member Enumeration Documentation

◆ SpecialDataPropertyID

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

Definition at line 90 of file KDChartPropertySet.h.

Constructor & Destructor Documentation

◆ KDChartPropertySet() [1/2]

KDChartPropertySet::KDChartPropertySet ( )
inline

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

Definition at line 99 of file KDChartPropertySet.h.

◆ KDChartPropertySet() [2/2]

KDChartPropertySet::KDChartPropertySet ( const TQString &  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.
idParentthe ID of the parent property set. Skip this paramter to define a property set without specifying a parent.

Definition at line 117 of file KDChartPropertySet.h.

Member Function Documentation

◆ clone()

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

Definition at line 74 of file KDChartPropertySet.cpp.

◆ deepCopy()

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

Definition at line 45 of file KDChartPropertySet.cpp.

◆ fullReset()

void KDChartPropertySet::fullReset ( const TQString &  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

Definition at line 110 of file KDChartPropertySet.cpp.

◆ hasOwnAreaBrush

bool KDChartPropertySet::hasOwnAreaBrush ( int &  idAreaBrush,
TQBrush &  areaBrush 
)
inlineslot

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
idAreaBrushto 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.
areaBrushthis 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

Definition at line 633 of file KDChartPropertySet.h.

◆ hasOwnBarColor

bool KDChartPropertySet::hasOwnBarColor ( int &  idBarColor,
TQColor &  barColor 
)
inlineslot

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
idBarColorto 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.
barColorthis 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

Definition at line 352 of file KDChartPropertySet.h.

◆ hasOwnExtraLinesAlign

bool KDChartPropertySet::hasOwnExtraLinesAlign ( int &  idExtraLinesAlign,
uint &  extraLinesAlign 
)
inlineslot

Definition at line 815 of file KDChartPropertySet.h.

◆ hasOwnExtraLinesColor

bool KDChartPropertySet::hasOwnExtraLinesColor ( int &  idExtraLinesColor,
TQColor &  extraLinesColor 
)
inlineslot

Definition at line 871 of file KDChartPropertySet.h.

◆ hasOwnExtraLinesInFront

bool KDChartPropertySet::hasOwnExtraLinesInFront ( int &  idExtraLinesInFront,
bool &  extraLinesInFront 
)
inlineslot

Definition at line 829 of file KDChartPropertySet.h.

◆ hasOwnExtraLinesLength

bool KDChartPropertySet::hasOwnExtraLinesLength ( int &  idExtraLinesLength,
int &  extraLinesLength 
)
inlineslot

Definition at line 843 of file KDChartPropertySet.h.

◆ hasOwnExtraLinesStyle

bool KDChartPropertySet::hasOwnExtraLinesStyle ( int &  idExtraLinesStyle,
TQt::PenStyle &  extraLinesStyle 
)
inlineslot

Definition at line 885 of file KDChartPropertySet.h.

◆ hasOwnExtraLinesWidth

bool KDChartPropertySet::hasOwnExtraLinesWidth ( int &  idExtraLinesWidth,
int &  extraLinesWidth 
)
inlineslot

Definition at line 857 of file KDChartPropertySet.h.

◆ hasOwnExtraMarkersAlign

bool KDChartPropertySet::hasOwnExtraMarkersAlign ( int &  idExtraMarkersAlign,
uint &  extraMarkersAlign 
)
inlineslot

Definition at line 900 of file KDChartPropertySet.h.

◆ hasOwnExtraMarkersColor

bool KDChartPropertySet::hasOwnExtraMarkersColor ( int &  idExtraMarkersColor,
TQColor &  extraMarkersColor 
)
inlineslot

Definition at line 928 of file KDChartPropertySet.h.

◆ hasOwnExtraMarkersSize

bool KDChartPropertySet::hasOwnExtraMarkersSize ( int &  idExtraMarkersSize,
TQSize &  extraMarkersSize 
)
inlineslot

Definition at line 914 of file KDChartPropertySet.h.

◆ hasOwnExtraMarkersStyle

bool KDChartPropertySet::hasOwnExtraMarkersStyle ( int &  idExtraMarkersStyle,
int &  extraMarkersStyle 
)
inlineslot

Definition at line 942 of file KDChartPropertySet.h.

◆ hasOwnLineColor

bool KDChartPropertySet::hasOwnLineColor ( int &  idLineColor,
TQColor &  lineColor 
)
inlineslot

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
idLineColorto 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.
lineColorthis 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

Definition at line 491 of file KDChartPropertySet.h.

◆ hasOwnLineStyle

bool KDChartPropertySet::hasOwnLineStyle ( int &  idLineStyle,
TQt::PenStyle &  lineStyle 
)
inlineslot

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
idLineStyleto 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.
lineStylethis 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

Definition at line 562 of file KDChartPropertySet.h.

◆ hasOwnLineWidth

bool KDChartPropertySet::hasOwnLineWidth ( int &  idLineWidth,
int &  lineWidth 
)
inlineslot

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
idLineWidthto 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.
lineWidththis 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

Definition at line 420 of file KDChartPropertySet.h.

◆ hasOwnMarkerAlign

bool KDChartPropertySet::hasOwnMarkerAlign ( int &  idMarkerAlign,
uint &  markerAlign 
)
inlineslot

Definition at line 753 of file KDChartPropertySet.h.

◆ hasOwnMarkerColor

bool KDChartPropertySet::hasOwnMarkerColor ( int &  idMarkerColor,
TQColor &  markerColor 
)
inlineslot

Definition at line 781 of file KDChartPropertySet.h.

◆ hasOwnMarkerSize

bool KDChartPropertySet::hasOwnMarkerSize ( int &  idMarkerSize,
TQSize &  markerSize 
)
inlineslot

Definition at line 767 of file KDChartPropertySet.h.

◆ hasOwnMarkerStyle

bool KDChartPropertySet::hasOwnMarkerStyle ( int &  idMarkerStyle,
int &  markerStyle 
)
inlineslot

Definition at line 795 of file KDChartPropertySet.h.

◆ hasOwnShowBar

bool KDChartPropertySet::hasOwnShowBar ( int &  idShowBar,
bool &  showBar 
)
inlineslot

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
idShowBarto 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.
showBarthis 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

Definition at line 283 of file KDChartPropertySet.h.

◆ hasOwnShowMarker

bool KDChartPropertySet::hasOwnShowMarker ( int &  idShowMarker,
bool &  showMarker 
)
inlineslot

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
idShowMarkerto 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.
showMarkerthis 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

Definition at line 713 of file KDChartPropertySet.h.

◆ id

int KDChartPropertySet::id ( ) const
inlineslot

Returns the name of this property set.

Definition at line 200 of file KDChartPropertySet.h.

◆ loadXML()

bool KDChartPropertySet::loadXML ( const TQDomElement &  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

Definition at line 209 of file KDChartPropertySet.cpp.

◆ name

TQString KDChartPropertySet::name ( ) const
inlineslot

Returns the name of this property set.

Definition at line 213 of file KDChartPropertySet.h.

◆ quickReset()

void KDChartPropertySet::quickReset ( const TQString &  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

Definition at line 81 of file KDChartPropertySet.cpp.

◆ saveXML()

TQDomElement KDChartPropertySet::saveXML ( TQDomDocument &  doc) const

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

See also
loadXML

Definition at line 143 of file KDChartPropertySet.cpp.

◆ setAreaBrush

void KDChartPropertySet::setAreaBrush ( int  idAreaBrush,
const TQBrush &  areaBrush 
)
inlineslot

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
idAreaBrushID 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.
areaBrushThe area brush to be used. This parameter is stored but ignored if the previous parameter is not set to KDChartPropertySet::OwnID.
See also
hasOwnAreaBrush

Definition at line 596 of file KDChartPropertySet.h.

◆ setBarColor

void KDChartPropertySet::setBarColor ( int  idBarColor,
const TQColor &  barColor 
)
inlineslot

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
idBarColorID 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.
barColorThe bar color to be used. This parameter is stored but ignored if the previous parameter is not set to KDChartPropertySet::OwnID.
See also
hasOwnBarColor

Definition at line 315 of file KDChartPropertySet.h.

◆ setExtraLinesAlign

void KDChartPropertySet::setExtraLinesAlign ( int  idExtraLinesAlign,
uint  extraLinesAlign 
)
inlineslot

Definition at line 810 of file KDChartPropertySet.h.

◆ setExtraLinesColor

void KDChartPropertySet::setExtraLinesColor ( int  idExtraLinesColor,
const TQColor &  extraLinesColor 
)
inlineslot

Definition at line 866 of file KDChartPropertySet.h.

◆ setExtraLinesInFront

void KDChartPropertySet::setExtraLinesInFront ( int  idExtraLinesInFront,
bool  extraLinesInFront 
)
inlineslot

Definition at line 824 of file KDChartPropertySet.h.

◆ setExtraLinesLength

void KDChartPropertySet::setExtraLinesLength ( int  idExtraLinesLength,
int  extraLinesLength 
)
inlineslot

Definition at line 838 of file KDChartPropertySet.h.

◆ setExtraLinesStyle

void KDChartPropertySet::setExtraLinesStyle ( int  idExtraLinesStyle,
const TQt::PenStyle  extraLinesStyle 
)
inlineslot

Definition at line 880 of file KDChartPropertySet.h.

◆ setExtraLinesWidth

void KDChartPropertySet::setExtraLinesWidth ( int  idExtraLinesWidth,
int  extraLinesWidth 
)
inlineslot

Definition at line 852 of file KDChartPropertySet.h.

◆ setExtraMarkersAlign

void KDChartPropertySet::setExtraMarkersAlign ( int  idExtraMarkersAlign,
uint  extraMarkersAlign 
)
inlineslot

Definition at line 895 of file KDChartPropertySet.h.

◆ setExtraMarkersColor

void KDChartPropertySet::setExtraMarkersColor ( int  idExtraMarkersColor,
const TQColor &  extraMarkersColor 
)
inlineslot

Definition at line 923 of file KDChartPropertySet.h.

◆ setExtraMarkersSize

void KDChartPropertySet::setExtraMarkersSize ( int  idExtraMarkersSize,
const TQSize &  extraMarkersSize 
)
inlineslot

Definition at line 909 of file KDChartPropertySet.h.

◆ setExtraMarkersStyle

void KDChartPropertySet::setExtraMarkersStyle ( int  idExtraMarkersStyle,
int  extraMarkersStyle 
)
inlineslot

Definition at line 937 of file KDChartPropertySet.h.

◆ setLineColor

void KDChartPropertySet::setLineColor ( int  idLineColor,
const TQColor &  lineColor 
)
inlineslot

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
idLineColorID 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.
lineColorThe 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

Definition at line 453 of file KDChartPropertySet.h.

◆ setLineStyle

void KDChartPropertySet::setLineStyle ( int  idLineStyle,
const TQt::PenStyle &  lineStyle 
)
inlineslot

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
idLineStyleID 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.
lineStyleThe 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

Definition at line 524 of file KDChartPropertySet.h.

◆ setLineWidth

void KDChartPropertySet::setLineWidth ( int  idLineWidth,
int  lineWidth 
)
inlineslot

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
idLineWidthID 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.
lineWidthThe 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

Definition at line 386 of file KDChartPropertySet.h.

◆ setMarkerAlign

void KDChartPropertySet::setMarkerAlign ( int  idMarkerAlign,
uint  markerAlign 
)
inlineslot

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
idMarkerAlignID 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.
markerAlignThe 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

Definition at line 748 of file KDChartPropertySet.h.

◆ setMarkerColor

void KDChartPropertySet::setMarkerColor ( int  idMarkerColor,
const TQColor &  markerColor 
)
inlineslot

Definition at line 776 of file KDChartPropertySet.h.

◆ setMarkerSize

void KDChartPropertySet::setMarkerSize ( int  idMarkerSize,
const TQSize &  markerSize 
)
inlineslot

Definition at line 762 of file KDChartPropertySet.h.

◆ setMarkerStyle

void KDChartPropertySet::setMarkerStyle ( int  idMarkerStyle,
int  markerStyle 
)
inlineslot

Definition at line 790 of file KDChartPropertySet.h.

◆ setName

void KDChartPropertySet::setName ( const TQString &  name)
inlineslot

Change the descriptive name of this property set.

Definition at line 205 of file KDChartPropertySet.h.

◆ setShowBar

void KDChartPropertySet::setShowBar ( int  idShowBar,
bool  showBar 
)
inlineslot

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
idShowBarID 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.
showBarFlag 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

Definition at line 242 of file KDChartPropertySet.h.

◆ setShowMarker

void KDChartPropertySet::setShowMarker ( int  idShowMarker,
bool  showMarker 
)
inlineslot

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
idShowMarkerID 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.
showMarkerFlag 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

Definition at line 672 of file KDChartPropertySet.h.

Friends And Related Symbol Documentation

◆ KDChartParams

friend class KDChartParams
friend

Definition at line 75 of file KDChartPropertySet.h.

Member Data Documentation

◆ mOwnID

int KDChartPropertySet::mOwnID
protected

Definition at line 955 of file KDChartPropertySet.h.


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