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 (const LeveyJenningsGridAttributes &) | |
LeveyJenningsGridAttributes () | |
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) |
~LeveyJenningsGridAttributes () |
A set of attributes controlling the appearance of grids.
Definition at line 37 of file KDChartLeveyJenningsGridAttributes.h.
Definition at line 46 of file KDChartLeveyJenningsGridAttributes.h.
Definition at line 52 of file KDChartLeveyJenningsGridAttributes.h.
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.
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 |
Definition at line 69 of file KDChartLeveyJenningsGridAttributes.h.
References KDGantt::operator==().
LeveyJenningsGridAttributes & LeveyJenningsGridAttributes::operator= | ( | const LeveyJenningsGridAttributes & | r | ) |
Definition at line 72 of file KDChartLeveyJenningsGridAttributes.cpp.
References d.
bool LeveyJenningsGridAttributes::operator== | ( | const LeveyJenningsGridAttributes & | r | ) | const |
Definition at line 88 of file KDChartLeveyJenningsGridAttributes.cpp.
References Calculated, Expected, gridPen(), and isGridVisible().
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.