00001 //*************************************************************************** 00002 /* 00003 * TOra - An Oracle Toolkit for DBA's and developers 00004 * Copyright (C) 2000-2001,2001 Underscore AB 00005 * 00006 * This program is free software; you can redistribute it and/or 00007 * modify it under the terms of the GNU General Public License 00008 * as published by the Free Software Foundation; only version 2 of 00009 * the License is valid for this program. 00010 * 00011 * This program is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 * GNU General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU General Public License 00017 * along with this program; if not, write to the Free Software 00018 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00019 * 00020 * As a special exception, you have permission to link this program 00021 * with the Oracle Client libraries and distribute executables, as long 00022 * as you follow the requirements of the GNU GPL in regard to all of the 00023 * software in the executable aside from Oracle client libraries. 00024 * 00025 * Specifically you are not permitted to link this program with the 00026 * Qt/UNIX, Qt/Windows or Qt Non Commercial products of TrollTech. 00027 * And you are not permitted to distribute binaries compiled against 00028 * these libraries without written consent from Underscore AB. Observe 00029 * that this does not disallow linking to the Qt Free Edition. 00030 * 00031 * All trademarks belong to their respective owners. 00032 * 00033 ****************************************************************************/ 00034 00035 #ifndef __TOBARCHART_H 00036 #define __TOBARCHART_H 00037 00038 #include <list> 00039 #include "tolinechart.h" 00040 00044 class toBarChart : public toLineChart { 00045 Q_OBJECT 00046 00047 protected: 00048 virtual void paintChart(QPainter *p,QRect &rect); 00049 public: 00055 toBarChart(QWidget *parent=NULL,const char *name=NULL,WFlags f=0); 00056 00063 toBarChart(toBarChart *chart,QWidget *parent=NULL,const char *name=NULL,WFlags f=0); 00064 00065 public slots: 00068 virtual void openCopy(void); 00069 }; 00070 00071 #endif