00001 /* #start# *********************************************************** 00002 00003 Scheduling Simulator 00004 Lehrstuhl f"ur Effiziente Algorithmen 00005 Technische Universit"at M"unchen 00006 00007 File : $Id: SDAGViewWin.h,v 1.4 2003/01/08 18:57:14 meierb Exp $ 00008 00009 Purpose : This window is a container for the dagview. It puts the dag view 00010 in a scrollview to get more space for it. 00011 00012 RCS-Log: 00013 $Log: SDAGViewWin.h,v $ 00014 Revision 1.4 2003/01/08 18:57:14 meierb 00015 added randomized release times 00016 00017 Revision 1.1.1.1 2002/12/02 22:26:19 meierb 00018 my_schedule 00019 00020 Revision 1.2 2002/11/11 16:19:36 taeubig 00021 changes in header inclusion 00022 00023 Revision 1.1 2002/08/29 12:59:59 taeubig 00024 Added the sources 00025 00026 Revision 1.8 2001/05/16 13:20:04 taeubig 00027 QT headers are included last because of "slots" conflict 00028 00029 Revision 1.7 2000/01/19 11:32:45 kern 00030 added view window baseclass for easier reuse 00031 00032 Revision 1.6 2000/01/16 18:42:57 kern 00033 java docs 00034 00035 Revision 1.5 2000/01/12 09:27:40 kern 00036 added javadocs 00037 00038 Revision 1.4 1999/12/06 14:11:56 kern 00039 added some more preferences 00040 00041 Revision 1.3 1999/12/01 09:47:25 kern 00042 added preferences 00043 00044 Revision 1.2 1999/11/29 11:45:31 kern 00045 added comments 00046 00047 00048 * #end# ************************************************************* */ 00049 00050 #ifndef SDAGVIEWWIN_H 00051 #define SDAGVIEWWIN_H 00052 00053 // system header files 00054 00055 // project header files 00056 #include "SDAGView.h" 00057 #include "SViewWindow.h" 00058 00059 // QT header files 00060 #include <qscrollview.h> 00061 #include <qlabel.h> 00062 00066 class SDAGViewWin : public SViewWindow 00067 { 00068 Q_OBJECT 00069 00070 public: 00073 SDAGViewWin( STaskSystem &ts, QWidget* parent = 0, QString name = 0 ); 00074 ~SDAGViewWin() { delete _pDAGView; }; 00075 00076 public slots: 00079 void load() { _pDAGView->load(); }; 00080 00081 private: 00082 // widgets for the statusbar 00083 QLabel *_pNodeLabel, *_pEdgeLabel; 00084 // widgets for the client area of the window 00085 QScrollView *_pDAGScrollView; 00086 SDAGView *_pDAGView; 00087 00088 private slots: 00091 void displayNumberOfNodes( int ); 00094 void displayNumberOfEdges( int ); 00095 }; 00096 00097 #endif //SDAGVIEWWIN_H