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

kdgantt

KDGantt::View

KDGantt::View Class Reference

#include <KDGanttView>

Inheritance diagram for KDGantt::View:

Inheritance graph
[legend]

List of all members.


Detailed Description

This widget that consists of a QTreeView and a GraphicsView.

This is the easy to use, complete gantt chart widget. It consists of a QTreeView on the left and a KDGantt::GraphicsView on the right separated by a QSplitter. The two views share the same model.

Definition at line 45 of file kdganttview.h.


Public Slots

void setConstraintModel (ConstraintModel *)
void setGrid (AbstractGrid *)
void setItemDelegate (ItemDelegate *)
void setModel (QAbstractItemModel *model)
void setRootIndex (const QModelIndex &idx)
void setSelectionModel (QItemSelectionModel *smodel)

Protected Member Functions

void resizeEvent (QResizeEvent *)

Member Function Documentation

void View::resizeEvent ( QResizeEvent *  ev  )  [protected]

Reimplemented from QWidget.

Definition at line 414 of file kdganttview.cpp.

void View::setConstraintModel ( ConstraintModel *  cm  )  [slot]

Sets the constraintmodel displayed by this view.

See also:
KDGantt::ConstraintModel.

Definition at line 391 of file kdganttview.cpp.

void View::setGrid ( AbstractGrid *  grid  )  [slot]

Sets the AbstractGrid for this view. The grid is an object that controls how QModelIndexes are mapped to and from the view and how the background and header is rendered.

See also:
AbstractGrid and DateTimeGrid.

Definition at line 344 of file kdganttview.cpp.

void View::setItemDelegate ( ItemDelegate *  delegate  )  [slot]

Sets the KDGantt::ItemDelegate used for rendering items on this view.

See also:
ItemDelegate and QAbstractItemDelegate.

Definition at line 382 of file kdganttview.cpp.

void View::setModel ( QAbstractItemModel *  model  )  [slot]

Sets the QAbstractItemModel to be displayed in this view to model.

See also:
GraphicsView::setModel

Definition at line 316 of file kdganttview.cpp.

void View::setRootIndex ( const QModelIndex &  idx  )  [slot]

Sets the root index of the model displayed by this view. Similar to QAbstractItemView::setRootIndex, default is QModelIndex().

Definition at line 366 of file kdganttview.cpp.

void View::setSelectionModel ( QItemSelectionModel *  smodel  )  [slot]

Sets the QItemSelectionModel used by this view to manage selections. Similar to QAbstractItemView::setSelectionModel

Definition at line 333 of file kdganttview.cpp.


The documentation for this class was generated from the following files:
  • kdganttview.h
  • kdganttview.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