A class representing a start point and a length. More...
#include <KDGanttGlobal>
Public Member Functions | |
qreal | end () const |
bool | equals (const Span &other) const |
Span | expandedTo (const Span &other) const |
bool | isValid () const |
qreal | length () const |
Span & | operator= (const Span &other) |
void | setEnd (qreal end) |
void | setLength (qreal length) |
void | setStart (qreal start) |
Span () | |
Span (const Span &other) | |
Span (qreal start, qreal length) | |
qreal | start () const |
A class representing a start point and a length.
Definition at line 226 of file kdganttglobal.h.
KDGantt::Span::Span | ( | ) |
Definition at line 230 of file kdganttglobal.h.
KDGantt::Span::Span | ( | qreal | start, | |
qreal | length | |||
) |
Definition at line 231 of file kdganttglobal.h.
KDGantt::Span::Span | ( | const Span & | other | ) |
Definition at line 232 of file kdganttglobal.h.
qreal KDGantt::Span::end | ( | ) | const |
Definition at line 239 of file kdganttglobal.h.
Referenced by expandedTo(), and KDGantt::AbstractGrid::isSatisfiedConstraint().
bool KDGantt::Span::equals | ( | const Span & | other | ) | const |
Definition at line 246 of file kdganttglobal.h.
Referenced by KDGantt::operator!=(), and KDGantt::operator==().
Definition at line 249 of file kdganttglobal.h.
bool KDGantt::Span::isValid | ( | ) | const |
Definition at line 244 of file kdganttglobal.h.
Referenced by KDAB_SCOPED_UNITTEST_SIMPLE().
qreal KDGantt::Span::length | ( | ) | const |
Definition at line 242 of file kdganttglobal.h.
Referenced by KDAB_SCOPED_UNITTEST_SIMPLE(), KDGantt::DateTimeGrid::mapFromChart(), operator<<(), KDGantt::DateTimeGrid::paintGrid(), and KDGantt::GraphicsItem::updateItem().
Definition at line 234 of file kdganttglobal.h.
void KDGantt::Span::setEnd | ( | qreal | end | ) |
Definition at line 238 of file kdganttglobal.h.
Referenced by KDAB_SCOPED_UNITTEST_SIMPLE().
void KDGantt::Span::setLength | ( | qreal | length | ) |
Definition at line 241 of file kdganttglobal.h.
Referenced by KDAB_SCOPED_UNITTEST_SIMPLE().
void KDGantt::Span::setStart | ( | qreal | start | ) |
Definition at line 236 of file kdganttglobal.h.
Referenced by KDAB_SCOPED_UNITTEST_SIMPLE().
qreal KDGantt::Span::start | ( | ) | const |
Definition at line 237 of file kdganttglobal.h.
Referenced by expandedTo(), KDAB_SCOPED_UNITTEST_SIMPLE(), KDGantt::DateTimeGrid::mapFromChart(), operator<<(), KDGantt::DateTimeGrid::paintGrid(), and KDGantt::GraphicsItem::updateItem().