20#ifndef KPTRESOURCEAPPOINTMENTSVIEW_H
21#define KPTRESOURCEAPPOINTMENTSVIEW_H
23#include "kptcontext.h"
24#include "kptdoublelistviewbase.h"
25#include "kpteffortcostmap.h"
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;
The class DoubleListViewBase provides a double listview where the right listview (the slave) containe...
This class represents any node in the project, a node can be a project or a subproject or any task.
Project is the main node in a project, it contains child nodes and possibly sub-projects.
This class represents a group of similar resources to be assigned to a task e.g.
Any resource that is used by a task.
|