Qucs-GUI  0.0.19
/home/travis/build/Qucs/qucs/qucs/qucs/diagrams/tabdiagram.h
Go to the documentation of this file.
00001 /***************************************************************************
00002                                tabdiagram.h
00003                               --------------
00004     begin                : Fri Oct 24 2003
00005     copyright            : (C) 2003 by Michael Margraf
00006     email                : michael.margraf@alumni.tu-berlin.de
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 #ifndef TABDIAGRAM_H
00019 #define TABDIAGRAM_H
00020 
00021 #include "diagram.h"
00022 
00023 
00024 class TabDiagram : public Diagram  {
00025 public: 
00026   TabDiagram(int _cx=0, int _cy=0);
00027  ~TabDiagram();
00028 
00029   virtual Diagram* newOne();
00030   static Element* info(QString&, char* &, bool getNewOne=false);
00031   virtual void paint(ViewPainter*);
00032   virtual int calcDiagram();
00033   virtual int scroll(int);
00034   virtual bool scrollTo(int, int, int);
00035 
00036   void createAxisLabels() {};   // no labels in this diagram
00037 
00038 protected:
00039   void calcData(Graph*) {};  // no graph data
00040 };
00041 
00042 #endif
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines