kchart

KChart::KChartParams Class Reference

Inheritance diagram for KChart::KChartParams:

KDChartParams List of all members.

Detailed Description

Definition at line 41 of file kchart_params.h.


Public Types

enum  ChartType {
  NoType = KDChartParams::NoType, Bar = KDChartParams::Bar, Line = KDChartParams::Line, Area = KDChartParams::Area,
  Pie = KDChartParams::Pie, HiLo = KDChartParams::HiLo, Ring = KDChartParams::Ring, Polar = KDChartParams::Polar,
  BoxWhisker = KDChartParams::BoxWhisker
}
enum  DataDirection { DataRows = 0, DataColumns = 1 }

Public Slots

void setBarNumLines (int _numLines)
int barNumLines () const

Public Member Functions

 KChartParams (KChartPart *_part)
 ~KChartParams ()
ChartType chartType () const
void setChartType (ChartType _type)
DataDirection dataDirection () const
void setDataDirection (DataDirection _dir)
QString chartTypeToString (ChartType _type) const
ChartType stringToChartType (const QString &string)
bool firstRowAsLabel () const
void setFirstRowAsLabel (bool _val)
bool firstColAsLabel () const
void setFirstColAsLabel (bool _val)
DCOPObject * dcopObject ()
bool loadOasis (const QDomElement &chartElem, KoOasisLoadingContext &loadingContext, QString &errorMessage, KoStore *store)
void saveOasis (KoXmlWriter *bodyWriter, KoGenStyles &mainStyles) const

Member Enumeration Documentation

enum KChart::KChartParams::ChartType
 

The chart type.

Covers only built-in chart types.

See also:
setChartType, chartType

setAdditionalChartType, additionalChartType,

setChartSourceMode

Reimplemented from KDChartParams.

Definition at line 44 of file kchart_params.h.


Member Function Documentation

ChartType KChart::KChartParams::chartType  )  const [inline]
 

Returns the chart type configured in this params object.

Returns:
the chart type configured in this params object.
See also:
setChartType, ChartType

setAdditionalChartType, additionalChartType,

setBarChartSubType, barChartSubType

setLineChartSubType, lineChartSubType

setPolarChartSubType, polarChartSubType

setChartSourceMode, chartSourceMode

Reimplemented from KDChartParams.

Definition at line 68 of file kchart_params.h.

KChartParams::ChartType KChart::KChartParams::stringToChartType const QString &  string  ) 
 

Converts the specified string to a chart type enum value.

Parameters:
string the string to convert
Returns:
the chart type enum value

Reimplemented from KDChartParams.

Definition at line 88 of file kchart_params.cc.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys