kdgantt1
KDIntervalColorRectangle Class Reference
#include <KDGanttViewSubwidgets.h>
Inheritance diagram for KDIntervalColorRectangle:

Detailed Description
Definition at line 552 of file KDGanttViewSubwidgets.h.
Public Types | |
| enum | HitTest { Start, Middle, End } |
Public Member Functions | |
| QColor | color () const |
| QDateTime | end () const |
| HitTest | hitTest (KDTimeHeaderWidget *timeHeader, const QPoint &pos) const |
| KDIntervalColorRectangle (KDGanttView *view) | |
| void | layout (KDTimeHeaderWidget *timeHeader, int height) |
| int | rtti () const |
| void | setColor (const QColor &color) |
| void | setDateTimes (const QDateTime &start, const QDateTime &end) |
| QDateTime | start () const |
Static Public Attributes | |
| static const int | RTTI = 0x0c58 |
Member Enumeration Documentation
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 4592 of file KDGanttViewSubwidgets.cpp.
Member Function Documentation
| QColor KDIntervalColorRectangle::color | ( | ) | const [inline] |
Definition at line 563 of file KDGanttViewSubwidgets.h.
| QDateTime KDIntervalColorRectangle::end | ( | ) | const [inline] |
Definition at line 560 of file KDGanttViewSubwidgets.h.
| KDIntervalColorRectangle::HitTest KDIntervalColorRectangle::hitTest | ( | KDTimeHeaderWidget * | timeHeader, | |
| const QPoint & | pos | |||
| ) | const |
| void KDIntervalColorRectangle::layout | ( | KDTimeHeaderWidget * | timeHeader, | |
| int | height | |||
| ) |
| int KDIntervalColorRectangle::rtti | ( | ) | const [inline] |
Definition at line 571 of file KDGanttViewSubwidgets.h.
| void KDIntervalColorRectangle::setColor | ( | const QColor & | color | ) |
Sets the background color
- Parameters:
-
color the background color
Definition at line 4616 of file KDGanttViewSubwidgets.cpp.
- Parameters:
-
start start datetime of the time interval end end datetime of the time interval
Definition at line 4603 of file KDGanttViewSubwidgets.cpp.
| QDateTime KDIntervalColorRectangle::start | ( | ) | const [inline] |
Definition at line 559 of file KDGanttViewSubwidgets.h.
Member Data Documentation
const int KDIntervalColorRectangle::RTTI = 0x0c58 [static] |
Definition at line 570 of file KDGanttViewSubwidgets.h.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference