20#ifndef KPTRESOURCEAPPOINTMENTSVIEW_H
21#define KPTRESOURCEAPPOINTMENTSVIEW_H
23#include "kptcontext.h"
24#include "kptdoublelistviewbase.h"
25#include "kpteffortcostmap.h"
51class ResourceAppointmentsView : public DoubleListViewBase
57 ResourceAppointmentsView(View *view, TQWidget *parent);
61 void zoom( double zoom);
63 View *mainView() const { return m_mainview; }
64 void draw(Resource *resource, const TQDate &start, const TQDate &end);
66 void print(KPrinter &printer);
72 virtual void createSlaveItems();
78 class NodeItem : public DoubleListViewBase::MasterListItem {
80 NodeItem(Node *n, TQListView *parent, bool highlight= false);
81 NodeItem(Node *n, TQListViewItem *parent, bool highlight= false);
82 NodeItem(TQString text, TQListView *parent, bool highlight= false);
83 NodeItem(TQString text, TQListViewItem *parent, bool highlight= false);
86 EffortCostMap effortMap;
92 int m_defaultFontSize;
96 NodeItem *m_availItem;
97 NodeItem *m_totalItem;
|