![]() |
KD Chart API Documentation
3.1
|
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 | |
LeveyJenningsGridAttributes () | |
LeveyJenningsGridAttributes (const LeveyJenningsGridAttributes &) | |
~LeveyJenningsGridAttributes () | |
QPen | gridPen (GridType type) const |
bool | isGridVisible (GridType type) const |
bool | operator!= (const LeveyJenningsGridAttributes &other) const |
LeveyJenningsGridAttributes & | operator= (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) |
A set of attributes controlling the appearance of grids.
Definition at line 27 of file KDChartLeveyJenningsGridAttributes.h.
Enumerator | |
---|---|
Expected | |
Calculated |
Definition at line 36 of file KDChartLeveyJenningsGridAttributes.h.
Enumerator | |
---|---|
NormalRange | |
CriticalRange | |
OutOfRange |
Definition at line 42 of file KDChartLeveyJenningsGridAttributes.h.
LeveyJenningsGridAttributes::LeveyJenningsGridAttributes | ( | ) |
Definition at line 50 of file KDChartLeveyJenningsGridAttributes.cpp.
LeveyJenningsGridAttributes::LeveyJenningsGridAttributes | ( | const LeveyJenningsGridAttributes & | r | ) |
Definition at line 56 of file KDChartLeveyJenningsGridAttributes.cpp.
LeveyJenningsGridAttributes::~LeveyJenningsGridAttributes | ( | ) |
Definition at line 71 of file KDChartLeveyJenningsGridAttributes.cpp.
QPen LeveyJenningsGridAttributes::gridPen | ( | GridType | type | ) | const |
Definition at line 108 of file KDChartLeveyJenningsGridAttributes.cpp.
References d.
Referenced by KDChart::LeveyJenningsGrid::drawGrid(), and operator==().
bool LeveyJenningsGridAttributes::isGridVisible | ( | GridType | type | ) | const |
Definition at line 97 of file KDChartLeveyJenningsGridAttributes.cpp.
References d.
Referenced by KDChart::LeveyJenningsGrid::drawGrid(), and operator==().
|
inline |
Definition at line 59 of file KDChartLeveyJenningsGridAttributes.h.
References KDChart::operator==().
LeveyJenningsGridAttributes & LeveyJenningsGridAttributes::operator= | ( | const LeveyJenningsGridAttributes & | r | ) |
Definition at line 61 of file KDChartLeveyJenningsGridAttributes.cpp.
References d.
bool LeveyJenningsGridAttributes::operator== | ( | const LeveyJenningsGridAttributes & | r | ) | const |
Definition at line 77 of file KDChartLeveyJenningsGridAttributes.cpp.
References Calculated, Expected, gridPen(), and isGridVisible().
QBrush LeveyJenningsGridAttributes::rangeBrush | ( | Range | range | ) | const |
Definition at line 87 of file KDChartLeveyJenningsGridAttributes.cpp.
References d.
Referenced by KDChart::LeveyJenningsGrid::drawGrid().
void LeveyJenningsGridAttributes::setGridPen | ( | GridType | type, |
const QPen & | pen | ||
) |
Definition at line 102 of file KDChartLeveyJenningsGridAttributes.cpp.
References d.
void LeveyJenningsGridAttributes::setGridVisible | ( | GridType | type, |
bool | visible | ||
) |
Definition at line 92 of file KDChartLeveyJenningsGridAttributes.cpp.
References d.
void LeveyJenningsGridAttributes::setRangeBrush | ( | Range | range, |
const QBrush & | brush | ||
) |
Definition at line 82 of file KDChartLeveyJenningsGridAttributes.cpp.
References d.