00001 00002 // 00003 // YASA statistic windows declarations 00004 // 00005 // Project: Yasa 2 00006 // Author : Jan Blumenthal 00007 // Start : 2002/03/18 00008 // $Header: /sources/yasa/yasagui/statisticwindows.h,v 1.4 2003/01/24 15:47:43 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 // This file contains all information about statistic frames 00030 #ifndef YASAGUI_STATISTIC_WINDOWS_INCLUDE 00031 #define YASAGUI_STATISTIC_WINDOWS_INCLUDE 00032 00033 00035 #include <qsplitter.h> 00036 #include "frame.h" 00037 #include "environment.h" 00038 #include "project.h" 00039 #include "resultwindows.h" 00040 00041 00042 00045 class YStatisticEnvironmentResultFrame : public YEnvironmentResultFrame 00046 { Q_OBJECT 00047 public: YStatisticEnvironmentResultFrame(QWidget *parent, YFrameArgs &args) : 00048 YEnvironmentResultFrame(parent, args) 00049 { } 00050 protected: 00054 virtual YResultHandler* CreateResultHandler(QSplitter *parent) const; 00055 virtual int InsertResults(YResultHandler *timinghandler) const; 00056 }; 00057 00058 00059 00063 class YStatisticProjectResultFrame : public YProjectResultFrame 00064 { Q_OBJECT 00065 public: YStatisticProjectResultFrame(QWidget *parent, YFrameArgs &args) : 00066 YProjectResultFrame(parent, args) 00067 { } 00068 protected: 00072 virtual YResultHandler* CreateResultHandler(QSplitter *parent) const; 00073 virtual int InsertResults(YResultHandler *timinghandler) const; 00074 }; 00075 00076 00077 00078 00080 #endif // ifndef YASAGUI_STATISTIC_WINDOWS_INCLUDE