20#ifndef KPTTASKAPPOINTMENTSVIEW_H
21#define KPTTASKAPPOINTMENTSVIEW_H
23#include "kptcontext.h"
24#include "kptdoublelistviewbase.h"
25#include "kpteffortcostmap.h"
48class ResourceItemPrivate;
50class TaskAppointmentsView : public DoubleListViewBase
56 TaskAppointmentsView(TQWidget *parent);
60 void zoom( double zoom);
63 void draw(Task *task);
64 virtual void drawContents(TQPainter* painter);
65 void print(KPrinter &printer);
71 virtual void createSlaveItems();
77 class ResourceItem : public DoubleListViewBase::MasterListItem {
79 ResourceItem(Resource *r, TQListView *parent, bool highlight= false);
80 ResourceItem(Resource *r, TQListViewItem *parent, bool highlight= false);
81 ResourceItem(TQString text, TQListViewItem *parent, bool highlight= false);
84 EffortCostMap effortMap;
89 int m_defaultFontSize;
|