Qucs-GUI  0.0.18
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
tabdiagram.h
Go to the documentation of this file.
1 /***************************************************************************
2  tabdiagram.h
3  --------------
4  begin : Fri Oct 24 2003
5  copyright : (C) 2003 by Michael Margraf
6  email : michael.margraf@alumni.tu-berlin.de
7  ***************************************************************************/
8 
9 /***************************************************************************
10  * *
11  * This program is free software; you can redistribute it and/or modify *
12  * it under the terms of the GNU General Public License as published by *
13  * the Free Software Foundation; either version 2 of the License, or *
14  * (at your option) any later version. *
15  * *
16  ***************************************************************************/
17 
18 #ifndef TABDIAGRAM_H
19 #define TABDIAGRAM_H
20 
21 #include "diagram.h"
22 
23 
24 class TabDiagram : public Diagram {
25 public:
26  TabDiagram(int _cx=0, int _cy=0);
27  ~TabDiagram();
28 
29  virtual Diagram* newOne();
30  static Element* info(QString&, char* &, bool getNewOne=false);
31  virtual void paint(ViewPainter*);
32  virtual int calcDiagram();
33  virtual int scroll(int);
34  virtual bool scrollTo(int, int, int);
35 
36  void createAxisLabels() {}; // no labels in this diagram
37 
38 protected:
39  void calcData(Graph*) {}; // no graph data
40 };
41 
42 #endif
void createAxisLabels()
Definition: tabdiagram.h:36
Definition: graph.h:57
virtual void paint(ViewPainter *)
Definition: tabdiagram.cpp:46
virtual Diagram * newOne()
Definition: tabdiagram.cpp:392
static Element * info(QString &, char *&, bool getNewOne=false)
Definition: tabdiagram.cpp:398
TabDiagram(int _cx=0, int _cy=0)
Definition: tabdiagram.cpp:29
Superclass of all schematic drawing elements.
Definition: element.h:142
virtual int scroll(int)
Definition: tabdiagram.cpp:340
virtual bool scrollTo(int, int, int)
Definition: tabdiagram.cpp:377
virtual int calcDiagram()
Definition: tabdiagram.cpp:120
void calcData(Graph *)
Definition: tabdiagram.h:39