KD Chart 2
[rev.2.7]
|
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 |
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 39 of file KDChartLeveyJenningsGridAttributes.h.
Enumerator | |
---|---|
Expected | |
Calculated |
Definition at line 48 of file KDChartLeveyJenningsGridAttributes.h.
Enumerator | |
---|---|
NormalRange | |
CriticalRange | |
OutOfRange |
Definition at line 54 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 71 of file KDChartLeveyJenningsGridAttributes.h.
References KDCHART_DECLARE_PRIVATE_BASE_VALUE, KDCHART_DECLARE_SWAP_SPECIALISATION, KDGantt::operator==(), and Q_DECLARE_TYPEINFO().
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.