Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

QtView.sip

Go to the documentation of this file.
00001 // -*- mode:c++ -*-
00002 
00020 class QtView : ViewBase, QCanvasRectangle
00021 {
00022 %TypeHeaderCode
00023 #include "qt/QtView.h"
00024 %End
00025 
00026 public:
00027 
00030   QtView ( PlotterBase *  );
00031 
00032 
00034   virtual ~QtView ();
00035 
00040   virtual void draw ( QPainter & );
00041 
00043   virtual void drawShape ( QPainter & );
00044 
00049   virtual void update ( const Observable * );
00050 
00057   virtual void setShowCrossHairs ( bool );
00058 
00059 //   /** Overrides virtual function of ViewBase. */
00060 //   virtual HippoRectangle getDrawRect () const;
00061 
00063   void setDrawRect ( const QRect &  );
00064 
00066   virtual void setDrawRect ( float , float , float , float  );
00067 
00068   virtual void initPlot ( double );
00069   
00071   virtual void endPlot ();
00072 
00074   int toViewX ( double  ) const;
00075 
00077   int toViewY ( double  ) const;
00078 
00079   virtual void fillPickedPoint ( double , double , 
00080                                  std::vector < double > &  ) const;
00081   
00084   virtual void setPageWidth( int  );
00085 
00086 private:
00087 
00089   QtView ( const QtView & );
00090 };

Generated on Wed Sep 7 14:51:29 2005 for SiHippo by  doxygen 1.4.3