xQGanttListView.h
00001 #ifndef _XQGANTTLISTVIEW_H_
00002 #define _XQGANTTLISTVIEW_H_
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 #include "xQGanttBarView.h"
00035 #include "xQGanttListViewPort.h"
00036
00037 #include <qscrollview.h>
00038
00039
00040
00042
00046
00047 class xQGanttListView : public QScrollView
00049 {
00050
00051 Q_OBJECT
00052
00053
00054 public:
00055
00056
00058
00061 xQGanttListView(KGanttItem* toplevelitem, QWidget* parent = 0,
00062 const char * name=0, WFlags f=0 );
00063
00064
00066
00069 ~xQGanttListView();
00070
00071
00072
00074
00077 void setBarView(xQGanttBarView* v) {
00078 ((xQGanttListViewPort*) _viewport)->setBarViewPort(v->viewport());
00079 }
00080
00081
00082
00083 public slots:
00084
00085 void contentsMoved(int,int);
00086
00087
00088 protected:
00089
00090
00091 KGanttItem* _toplevelitem;
00092
00093 QBrush _headerBackBrush;
00094
00095 xQGanttBarView* _barview;
00096 xQGanttListViewPort* _viewport;
00097
00098 void drawHeader();
00099 void paintEvent(QPaintEvent * e);
00100
00101 };
00102
00103
00104
00105
00106
00107 #endif
This file is part of the documentation for kgantt Library Version 3.2.2.