00001 
00002 
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 #ifndef SMESHVIEWWIN_H
00035 #define SMESHVIEWWIN_H 
00036 
00037 
00038 
00039 
00040 #include "../model/STaskSystem.h"
00041 #include "../logging/SOptCriterionLog.h"
00042 #include "../general/SObserver.h"
00043 #include "SViewWindow.h"
00044 #include "SMeshView.h"
00045 
00046 
00047 #include <qscrollview.h>
00048 #include <qlabel.h>
00049 
00058 class SMeshViewWin : public SViewWindow, SObserver
00059 {
00060   Q_OBJECT
00061 
00062 public:
00065   SMeshViewWin( STaskSystem &ts, QWidget* parent = 0, QString name = 0 );
00066   ~SMeshViewWin();
00067 
00068 public slots:
00073   void load();
00074 
00075 protected:
00078   virtual void update( const class SEvent & );
00079 
00080 private:  
00081   STaskSystem &_ts;
00084   
00087   
00090   QScrollView *_pMeshScrollView;
00091   SMeshView  *_pMeshView;
00094   
00097   
00098 }; 
00099 
00100 #endif //SMESHVIEWWIN_H