• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdepim
  • Sitemap
  • Contact Us
 

kdgantt1

KDIntervalColorRectangle Class Reference

#include <KDGanttViewSubwidgets.h>

Inheritance diagram for KDIntervalColorRectangle:

Inheritance graph
[legend]

List of all members.


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

enum KDIntervalColorRectangle::HitTest

Enumerator:
Start 
Middle 
End 

Definition at line 565 of file KDGanttViewSubwidgets.h.


Constructor & Destructor Documentation

KDIntervalColorRectangle::KDIntervalColorRectangle ( KDGanttView *  view  ) 

Represents the background color for a given interval of time (across all tasks).

See also:
KDGanttView::addIntervalBackgroundColor
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

For internal use only.

Definition at line 4640 of file KDGanttViewSubwidgets.cpp.

void KDIntervalColorRectangle::layout ( KDTimeHeaderWidget *  timeHeader,
int  height 
)

For internal use only.

Definition at line 4624 of file KDGanttViewSubwidgets.cpp.

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.

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 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:
  • KDGanttViewSubwidgets.h
  • KDGanttViewSubwidgets.cpp

kdgantt1

Skip menu "kdgantt1"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  •   doc
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal