#include <KDChartBarAttributes.h>

Definition at line 37 of file KDChartBarAttributes.h.
Public Member Functions | |
| BarAttributes (const BarAttributes &) | |
| BarAttributes () | |
| qreal | barGapFactor () const |
| bool | drawSolidExcessArrows () const |
| qreal | fixedBarWidth () const |
| qreal | fixedDataValueGap () const |
| qreal | fixedValueBlockGap () const |
| qreal | groupGapFactor () const |
| bool | operator!= (const BarAttributes &other) const |
| BarAttributes & | operator= (const BarAttributes &) |
| bool | operator== (const BarAttributes &) const |
| void | setBarGapFactor (qreal gapFactor) |
| void | setDrawSolidExcessArrows (bool solidArrows) |
| void | setFixedBarWidth (qreal width) |
| void | setFixedDataValueGap (qreal gap) |
| void | setFixedValueBlockGap (qreal gap) |
| void | setGroupGapFactor (qreal gapFactor) |
| void | setUseFixedBarWidth (bool useFixedBarWidth) |
| void | setUseFixedDataValueGap (bool gapIsFixed) |
| void | setUseFixedValueBlockGap (bool gapIsFixed) |
| bool | useFixedBarWidth () const |
| bool | useFixedDataValueGap () const |
| bool | useFixedValueBlockGap () const |
| ~BarAttributes () | |
| BarAttributes::BarAttributes | ( | ) |
| BarAttributes::BarAttributes | ( | const BarAttributes & | r | ) |
Definition at line 74 of file KDChartBarAttributes.cpp.
00075 : _d( new Private( *r.d ) ) 00076 { 00077 }
| BarAttributes::~BarAttributes | ( | ) |
| qreal BarAttributes::barGapFactor | ( | ) | const |
Definition at line 188 of file KDChartBarAttributes.cpp.
References d.
Referenced by operator==().
00189 { 00190 return d->barGapFactor; 00191 }
| bool BarAttributes::drawSolidExcessArrows | ( | ) | const |
Definition at line 198 of file KDChartBarAttributes.cpp.
References d.
Referenced by operator==().
00199 { 00200 return d->drawSolidExcessArrows; 00201 }
| qreal BarAttributes::fixedBarWidth | ( | ) | const |
Definition at line 157 of file KDChartBarAttributes.cpp.
References d.
Referenced by operator==().
00158 { 00159 00160 return d->barWidth; 00161 }
| qreal BarAttributes::fixedDataValueGap | ( | ) | const |
Definition at line 117 of file KDChartBarAttributes.cpp.
References d.
Referenced by operator==().
00118 { 00119 return d->datasetGap; 00120 }
| qreal BarAttributes::fixedValueBlockGap | ( | ) | const |
Definition at line 137 of file KDChartBarAttributes.cpp.
References d.
Referenced by operator==().
00138 { 00139 return d->valueBlockGap; 00140 }
| qreal BarAttributes::groupGapFactor | ( | ) | const |
Definition at line 178 of file KDChartBarAttributes.cpp.
References d.
Referenced by operator==().
00179 { 00180 return d->groupGapFactor; 00181 }
| bool KDChart::BarAttributes::operator!= | ( | const BarAttributes & | other | ) | const |
Definition at line 74 of file KDChartBarAttributes.h.
References KDGantt::operator==().
00074 { return !operator==(other); }
| BarAttributes & BarAttributes::operator= | ( | const BarAttributes & | r | ) |
Definition at line 79 of file KDChartBarAttributes.cpp.
References d.
00080 { 00081 if( this == &r ) 00082 return *this; 00083 00084 *d = *r.d; 00085 00086 return *this; 00087 }
| bool BarAttributes::operator== | ( | const BarAttributes & | r | ) | const |
Definition at line 95 of file KDChartBarAttributes.cpp.
References barGapFactor(), drawSolidExcessArrows(), fixedBarWidth(), fixedDataValueGap(), fixedValueBlockGap(), groupGapFactor(), useFixedBarWidth(), useFixedDataValueGap(), and useFixedValueBlockGap().
00096 { 00097 if( fixedDataValueGap() == r.fixedDataValueGap() && 00098 useFixedDataValueGap() == r.useFixedDataValueGap() && 00099 fixedValueBlockGap() == r.fixedValueBlockGap() && 00100 useFixedValueBlockGap() == r.useFixedValueBlockGap() && 00101 fixedBarWidth() == r.fixedBarWidth() && 00102 useFixedBarWidth() == r.useFixedBarWidth() && 00103 groupGapFactor() == r.groupGapFactor() && 00104 barGapFactor() == r.barGapFactor() && 00105 drawSolidExcessArrows() == r.drawSolidExcessArrows() ) 00106 return true; 00107 else 00108 return false; 00109 }
| void BarAttributes::setBarGapFactor | ( | qreal | gapFactor | ) |
Definition at line 183 of file KDChartBarAttributes.cpp.
References d.
00184 { 00185 d->barGapFactor = gapFactor; 00186 }
| void BarAttributes::setDrawSolidExcessArrows | ( | bool | solidArrows | ) |
Definition at line 193 of file KDChartBarAttributes.cpp.
References d.
00194 { 00195 d->drawSolidExcessArrows = solidArrows; 00196 }
| void BarAttributes::setFixedBarWidth | ( | qreal | width | ) |
Definition at line 152 of file KDChartBarAttributes.cpp.
References d.
00153 { 00154 d->barWidth = width; 00155 }
| void BarAttributes::setFixedDataValueGap | ( | qreal | gap | ) |
Definition at line 112 of file KDChartBarAttributes.cpp.
References d.
00113 { 00114 d->datasetGap = gap; 00115 }
| void BarAttributes::setFixedValueBlockGap | ( | qreal | gap | ) |
Definition at line 132 of file KDChartBarAttributes.cpp.
References d.
00133 { 00134 d->valueBlockGap = gap; 00135 }
| void BarAttributes::setGroupGapFactor | ( | qreal | gapFactor | ) |
Definition at line 173 of file KDChartBarAttributes.cpp.
References d.
00174 { 00175 d->groupGapFactor = gapFactor; 00176 }
| void BarAttributes::setUseFixedBarWidth | ( | bool | useFixedBarWidth | ) |
Definition at line 163 of file KDChartBarAttributes.cpp.
References d.
00164 { 00165 d->useFixedBarWidth = useFixedBarWidth; 00166 }
| void BarAttributes::setUseFixedDataValueGap | ( | bool | gapIsFixed | ) |
Definition at line 122 of file KDChartBarAttributes.cpp.
References d.
00123 { 00124 d->useFixedDatasetGap = gapIsFixed; 00125 }
| void BarAttributes::setUseFixedValueBlockGap | ( | bool | gapIsFixed | ) |
Definition at line 142 of file KDChartBarAttributes.cpp.
References d.
00143 { 00144 d->useFixedValueBlockGap = gapIsFixed; 00145 }
| bool BarAttributes::useFixedBarWidth | ( | ) | const |
Definition at line 168 of file KDChartBarAttributes.cpp.
References d.
Referenced by operator==().
00169 { 00170 return d->useFixedBarWidth; 00171 }
| bool BarAttributes::useFixedDataValueGap | ( | ) | const |
Definition at line 127 of file KDChartBarAttributes.cpp.
References d.
Referenced by operator==().
00128 { 00129 return d->useFixedDatasetGap; 00130 }
| bool BarAttributes::useFixedValueBlockGap | ( | ) | const |
Definition at line 147 of file KDChartBarAttributes.cpp.
References d.
Referenced by operator==().
00148 { 00149 return d->useFixedValueBlockGap; 00150 }
1.5.4