KD Chart API Documentation 3.1
Loading...
Searching...
No Matches
Public Member Functions | List of all members
KDGantt::Span Class Reference

A class representing a start point and a length. More...

#include <KDGanttGlobal>

Public Member Functions

 Span ()
 
 Span (const Span &other)
 
 Span (qreal start, qreal length)
 
qreal end () const
 
bool equals (const Span &other) const
 
Span expandedTo (const Span &other) const
 
bool isValid () const
 
qreal length () const
 
Spanoperator= (const Span &other)
 
void setEnd (qreal end)
 
void setLength (qreal length)
 
void setStart (qreal start)
 
qreal start () const
 

Detailed Description

A class representing a start point and a length.

Definition at line 284 of file kdganttglobal.h.

Constructor & Destructor Documentation

◆ Span() [1/3]

KDGantt::Span::Span ( )
inline

Definition at line 290 of file kdganttglobal.h.

◆ Span() [2/3]

KDGantt::Span::Span ( qreal  start,
qreal  length 
)
inline

Definition at line 293 of file kdganttglobal.h.

◆ Span() [3/3]

KDGantt::Span::Span ( const Span other)
inline

Definition at line 298 of file kdganttglobal.h.

Member Function Documentation

◆ end()

qreal KDGantt::Span::end ( ) const
inline

Definition at line 323 of file kdganttglobal.h.

Referenced by expandedTo(), and KDAB_SCOPED_UNITTEST_SIMPLE().

◆ equals()

bool KDGantt::Span::equals ( const Span other) const
inline

Definition at line 342 of file kdganttglobal.h.

Referenced by KDGantt::operator!=(), and KDGantt::operator==().

◆ expandedTo()

Span KDGantt::Span::expandedTo ( const Span other) const
inline

Definition at line 346 of file kdganttglobal.h.

References end(), and start().

◆ isValid()

bool KDGantt::Span::isValid ( ) const
inline

Definition at line 337 of file kdganttglobal.h.

Referenced by KDAB_SCOPED_UNITTEST_SIMPLE().

◆ length()

qreal KDGantt::Span::length ( ) const
inline

◆ operator=()

Span & KDGantt::Span::operator= ( const Span other)
inline

Definition at line 304 of file kdganttglobal.h.

◆ setEnd()

void KDGantt::Span::setEnd ( qreal  end)
inline

Definition at line 319 of file kdganttglobal.h.

Referenced by KDAB_SCOPED_UNITTEST_SIMPLE().

◆ setLength()

void KDGantt::Span::setLength ( qreal  length)
inline

Definition at line 328 of file kdganttglobal.h.

Referenced by KDAB_SCOPED_UNITTEST_SIMPLE().

◆ setStart()

void KDGantt::Span::setStart ( qreal  start)
inline

Definition at line 311 of file kdganttglobal.h.

Referenced by KDAB_SCOPED_UNITTEST_SIMPLE().

◆ start()

qreal KDGantt::Span::start ( ) const
inline

The documentation for this class was generated from the following file:

© 2001 Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
https://www.kdab.com/
https://www.kdab.com/development-resources/qt-tools/kd-chart/
Generated on Fri Apr 26 2024 00:04:58 for KD Chart API Documentation by doxygen 1.9.8