kdgantt
KDIntervalColorRectangle Class Reference
Inheritance diagram for KDIntervalColorRectangle:

Detailed Description
Definition at line 455 of file KDGanttViewSubwidgets.h.
Public Types | |
enum | HitTest { Start, Middle, End } |
Public Member Functions | |
KDIntervalColorRectangle (KDGanttView *view) | |
void | setDateTimes (const QDateTime &start, const QDateTime &end) |
QDateTime | start () const |
QDateTime | end () const |
void | setColor (const QColor &color) |
HitTest | hitTest (KDTimeHeaderWidget *timeHeader, const QPoint &pos) const |
void | layout (KDTimeHeaderWidget *timeHeader, int height) |
int | rtti () const |
Static Public Attributes | |
static const int | RTTI = 0x0c58 |
Constructor & Destructor Documentation
KDIntervalColorRectangle::KDIntervalColorRectangle | ( | KDGanttView * | view | ) |
Represents the background color for a given interval of time (across all tasks).
- Parameters:
-
view parent view
Definition at line 3989 of file KDGanttViewSubwidgets.cpp.
Member Function Documentation
void KDIntervalColorRectangle::setDateTimes | ( | const QDateTime & | start, | |
const QDateTime & | end | |||
) |
- Parameters:
-
start start datetime of the time interval end end datetime of the time interval
Definition at line 4000 of file KDGanttViewSubwidgets.cpp.
void KDIntervalColorRectangle::setColor | ( | const QColor & | color | ) |
Sets the background color
- Parameters:
-
color the background color
Definition at line 4013 of file KDGanttViewSubwidgets.cpp.
The documentation for this class was generated from the following files: