KDGanttViewEventItem.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035 #ifndef KDGANTTVIEWEVENTITEM_H
00036 #define KDGANTTVIEWEVENTITEM_H
00037
00038 #include "KDGanttViewItem.h"
00039
00040 class KDGanttViewEventItem : public KDGanttViewItem
00041 {
00042 public:
00043 KDGanttViewEventItem( KDGanttView* view,
00044 const QString& lvtext = QString::null,
00045 const QString& name = QString::null );
00046 KDGanttViewEventItem( KDGanttViewItem* parent,
00047 const QString& lvtext = QString::null,
00048 const QString& name = QString::null );
00049 KDGanttViewEventItem( KDGanttView* view, KDGanttViewItem* after,
00050 const QString& lvtext = QString::null,
00051 const QString& name = QString::null );
00052 KDGanttViewEventItem( KDGanttViewItem* parent, KDGanttViewItem* after,
00053 const QString& lvtext = QString::null,
00054 const QString& name = QString::null );
00055 virtual ~KDGanttViewEventItem();
00056
00057 void setLeadTime( const QDateTime& leadTimeStart );
00058 void setStartTime( const QDateTime& start );
00059 QDateTime leadTime() const;
00060
00061 private:
00062 void showItem( bool show = true, int coordY = 0 );
00063 QDateTime* myLeadTime;
00064 void initItem();
00065 void hideMe();
00066 };
00067
00068 #endif
This file is part of the documentation for kdgantt Library Version 1.4.2.