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

kdgantt

KDGantt::StyleOptionGanttItem

KDGantt::StyleOptionGanttItem Class Reference

#include <KDGanttStyleOptionGanttItem>

Inheritance diagram for KDGantt::StyleOptionGanttItem:

Inheritance graph
[legend]

List of all members.


Detailed Description

QStyleOption subclass for gantt items.

Definition at line 36 of file kdganttstyleoptionganttitem.h.


Public Types

enum  Position { Left, Right, Center }

Public Member Functions

StyleOptionGanttItem & operator= (const StyleOptionGanttItem &other)
 StyleOptionGanttItem (const StyleOptionGanttItem &other)
 StyleOptionGanttItem ()

Public Attributes

QRectF boundingRect
Position displayPosition
AbstractGrid * grid
QRectF itemRect
QString text

Member Enumeration Documentation

enum KDGantt::StyleOptionGanttItem::Position

This enum is used to describe where the Qt::DisplayRole (the label) should be located relative to the item itself.

Enumerator:
Left 
Right 
Center 

Definition at line 38 of file kdganttstyleoptionganttitem.h.


Constructor & Destructor Documentation

StyleOptionGanttItem::StyleOptionGanttItem (  ) 

Constructor. Sets grid to 0.

Definition at line 37 of file kdganttstyleoptionganttitem.cpp.

StyleOptionGanttItem::StyleOptionGanttItem ( const StyleOptionGanttItem &  other  ) 

Copy constructor. Creates a copy of other

Definition at line 46 of file kdganttstyleoptionganttitem.cpp.


Member Function Documentation

StyleOptionGanttItem & StyleOptionGanttItem::operator= ( const StyleOptionGanttItem &  other  ) 

Assignment operator

Definition at line 53 of file kdganttstyleoptionganttitem.cpp.


Member Data Documentation

StyleOptionGanttItem::boundingRect

Contains the bounding rectangle for the item

Definition at line 44 of file kdganttstyleoptionganttitem.h.

StyleOptionGanttItem::displayPosition

See also:
StyleOptionGanttItem::Position.

Definition at line 46 of file kdganttstyleoptionganttitem.h.

StyleOptionGanttItem::grid

Contains a pointer to the AbstractGrid used by the view

Definition at line 47 of file kdganttstyleoptionganttitem.h.

StyleOptionGanttItem::itemRect

Contains the "active" item rectangle that corresponds to the values from the model.

Definition at line 45 of file kdganttstyleoptionganttitem.h.

StyleOptionGanttItem::text

Contains a string printed to the item

Definition at line 48 of file kdganttstyleoptionganttitem.h.


The documentation for this class was generated from the following files:
  • kdganttstyleoptionganttitem.h
  • kdganttstyleoptionganttitem.cpp

kdgantt

Skip menu "kdgantt"
  • Main Page
  • Modules
  • 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