KD Chart 2  [rev.2.6]
Public Types | Public Member Functions | List of all members
KDChart::LeveyJenningsGridAttributes Class Reference

A set of attributes controlling the appearance of grids. More...

#include <KDChartLeveyJenningsGridAttributes.h>

Public Types

enum  GridType {
  Expected,
  Calculated
}
 
enum  Range {
  NormalRange,
  CriticalRange,
  OutOfRange
}
 

Public Member Functions

QPen gridPen (GridType type) const
 
bool isGridVisible (GridType type) const
 
 LeveyJenningsGridAttributes ()
 
 LeveyJenningsGridAttributes (const LeveyJenningsGridAttributes &)
 
bool operator!= (const LeveyJenningsGridAttributes &other) const
 
LeveyJenningsGridAttributesoperator= (const LeveyJenningsGridAttributes &)
 
bool operator== (const LeveyJenningsGridAttributes &) const
 
QBrush rangeBrush (Range range) const
 
void setGridPen (GridType type, const QPen &pen)
 
void setGridVisible (GridType type, bool visible)
 
void setRangeBrush (Range range, const QBrush &brush)
 
 ~LeveyJenningsGridAttributes ()
 

Detailed Description

A set of attributes controlling the appearance of grids.

Definition at line 39 of file KDChartLeveyJenningsGridAttributes.h.

Member Enumeration Documentation

Enumerator
Expected 
Calculated 

Definition at line 48 of file KDChartLeveyJenningsGridAttributes.h.

Enumerator
NormalRange 
CriticalRange 
OutOfRange 

Definition at line 54 of file KDChartLeveyJenningsGridAttributes.h.

Constructor & Destructor Documentation

LeveyJenningsGridAttributes::LeveyJenningsGridAttributes ( )

Definition at line 61 of file KDChartLeveyJenningsGridAttributes.cpp.

LeveyJenningsGridAttributes::LeveyJenningsGridAttributes ( const LeveyJenningsGridAttributes r)

Definition at line 67 of file KDChartLeveyJenningsGridAttributes.cpp.

LeveyJenningsGridAttributes::~LeveyJenningsGridAttributes ( )

Definition at line 82 of file KDChartLeveyJenningsGridAttributes.cpp.

Member Function Documentation

QPen LeveyJenningsGridAttributes::gridPen ( GridType  type) const

Definition at line 123 of file KDChartLeveyJenningsGridAttributes.cpp.

References d.

Referenced by operator==().

bool LeveyJenningsGridAttributes::isGridVisible ( GridType  type) const

Definition at line 112 of file KDChartLeveyJenningsGridAttributes.cpp.

References d.

Referenced by operator==().

bool KDChart::LeveyJenningsGridAttributes::operator!= ( const LeveyJenningsGridAttributes other) const
LeveyJenningsGridAttributes & LeveyJenningsGridAttributes::operator= ( const LeveyJenningsGridAttributes r)

Definition at line 72 of file KDChartLeveyJenningsGridAttributes.cpp.

References d.

bool LeveyJenningsGridAttributes::operator== ( const LeveyJenningsGridAttributes r) const
QBrush LeveyJenningsGridAttributes::rangeBrush ( Range  range) const

Definition at line 101 of file KDChartLeveyJenningsGridAttributes.cpp.

References d.

void LeveyJenningsGridAttributes::setGridPen ( GridType  type,
const QPen &  pen 
)

Definition at line 117 of file KDChartLeveyJenningsGridAttributes.cpp.

References d.

void LeveyJenningsGridAttributes::setGridVisible ( GridType  type,
bool  visible 
)

Definition at line 107 of file KDChartLeveyJenningsGridAttributes.cpp.

References d.

void LeveyJenningsGridAttributes::setRangeBrush ( Range  range,
const QBrush &  brush 
)

Definition at line 96 of file KDChartLeveyJenningsGridAttributes.cpp.

References d.


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

Klarälvdalens Datakonsult AB (KDAB)
Qt-related services and products
http://www.kdab.com/
http://www.kdab.com/products/kd-chart/