Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

TxqSosWsTrol.h

Go to the documentation of this file.
00001 //--------------------------------------------------------------------
00002 //
00003 // File:    TxqSosWsTrol.h
00004 //
00005 // Purpose: Interface definition of a window to control the SoS model
00006 //
00007 // Version: $Id: TxqSosWsTrol.h,v 1.2 2001/10/12 22:04:26 kgl Exp $
00008 //
00009 // Copyright (c) 2000 by Tech-X Corporation.  All rights reserved.
00010 //
00011 // Author:  Kelly G. Luetkemeyer
00012 //
00013 //--------------------------------------------------------------------
00014 
00015 #ifndef TXQ_SOS_WS_TROL_H
00016 #define TXQ_SOS_WS_TROL_H
00017 
00018 // Txq includes
00019 #include <TxqNldWsTrol.h>
00020 
00021 
00033 class TxqSosWsTrol : public TxqNldWsTrol
00034 {
00035   Q_OBJECT
00036 
00037 public:
00038 
00050   TxqSosWsTrol(TxAttributeSet *a, QWidget* parent=0, const char *nm=0, WFlags f = WType_TopLevel);
00051 
00055   virtual ~TxqSosWsTrol();
00056 
00057 
00058 public slots:
00059 
00063   virtual void updateAttrib();
00064 
00068   virtual void erasePlots();
00069 
00076   virtual void setMousePoint(double x, double y);
00084   virtual void setMousePoint2(double x, double y);
00092   virtual void setMousePoint3(double x, double y);
00093 
00094 
00098   virtual void restart();
00099 
00100 
00101 signals:
00102 
00103 
00104 protected:
00105 
00106 
00110   virtual void createNldAttributes();
00111 
00115   virtual void createFrames();
00116 
00128   virtual void createAttributes(double xmin, double xmax, double ymin, double ymax,
00129                         string xlabel, string ylabel, string title);
00130 
00134   virtual void bumpColor();
00135 
00136 private:
00137 
00141   vector<TxAttributeSet*> points;
00142 
00146    double *point;
00147 
00151    double *lastPoint;
00152 
00156   int numMousePoints;
00157 
00161   bool mouseLeft;
00162 
00167   bool mouseMiddle;
00168 
00173   bool mouseRight;
00174 
00178   int iteration;
00179 
00180 };
00181 
00182 
00183 #endif
Copyright Tech-X Corporation, all rights reserved.