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

kdgantt2

  • KDGantt
  • StyleOptionGanttItem
Public Types | Public Member Functions | Public Attributes | List of all members
KDGantt::StyleOptionGanttItem Class Reference

#include <KDGanttStyleOptionGanttItem>

Inheritance diagram for KDGantt::StyleOptionGanttItem:
Inheritance graph
[legend]

Public Types

enum  Position { Left, Right, Center }
 

Public Member Functions

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

Public Attributes

QRectF boundingRect
 
Position displayPosition
 
AbstractGrid * grid
 
QRectF itemRect
 
QString text
 

Detailed Description

QStyleOption subclass for gantt items.

Definition at line 36 of file kdganttstyleoptionganttitem.h.

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
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:05 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kdgantt2

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

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal