00001 00002 // 00003 // YASA timing diagram windows declarations 00004 // 00005 // Project: Yasa 2 00006 // Author : Jan Blumenthal 00007 // Start : 2002/02/28 00008 // $Header: /sources/yasa/yasagui/timingwindows.h,v 1.4 2003/01/24 15:47:44 bj Exp $ 00009 // 00011 // 00012 // This program is free software; you can redistribute it and/or modify 00013 // it under the terms of the GNU General Public License as published by 00014 // the Free Software Foundation; either version 2 of the License, or 00015 // (at your option) any later version. 00016 // 00017 // This program is distributed in the hope that it will be useful, 00018 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00019 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00020 // GNU General Public License for more details. 00021 // 00022 // You should have received a copy of the GNU General Public License 00023 // along with this program (See the included file COPYING); 00024 // if not, write to the Free Software Foundation, Inc., 00025 // 675 Mass Ave, Cambridge, MA 02139, USA. 00026 // 00028 #ifndef YASAGUI_TIMING_WINDOWS_INCLUDE 00029 #define YASAGUI_TIMING_WINDOWS_INCLUDE 00030 00031 00033 #include <qsplitter.h> 00034 #include "frame.h" 00035 #include "environment.h" 00036 #include "project.h" 00037 #include "resultwindows.h" 00038 00039 00040 00043 class YTimingEnvironmentResultFrame : public YEnvironmentResultFrame 00044 { Q_OBJECT 00045 public: YTimingEnvironmentResultFrame(QWidget *parent, YFrameArgs &args) : 00046 YEnvironmentResultFrame(parent, args) 00047 { } 00048 protected: 00052 virtual YResultHandler* CreateResultHandler(QSplitter *parent) const; 00053 virtual int InsertResults(YResultHandler *timinghandler) const; 00054 }; 00055 00056 00057 00061 class YTimingProjectResultFrame : public YProjectResultFrame 00062 { Q_OBJECT 00063 public: YTimingProjectResultFrame(QWidget *parent, YFrameArgs &args) : 00064 YProjectResultFrame(parent, args) 00065 { } 00066 protected: 00070 virtual YResultHandler* CreateResultHandler(QSplitter *parent) const; 00071 virtual int InsertResults(YResultHandler *timinghandler) const; 00072 }; 00073 00074 00075 00076 00077 00079 #endif // ifndef YASAGUI_TIMING_WINDOWS_INCLUDE