USGS

Isis 3.0 Object Programmers' Reference

Home

AdvancedTrackTool.h
Go to the documentation of this file.
1 #ifndef Qisis_AdvancedTrackTool_h
2 #define Qisis_AdvancedTrackTool_h
3 
25 // The only includes allowed in this file are the direct parents of this class!
26 #include "Tool.h"
27 
28 class QAction;
29 
30 namespace Isis {
31  class TableMainWindow;
32  class MdiCubeViewport;
33 
75  class AdvancedTrackTool : public Tool {
76  Q_OBJECT
77 
78  public:
79  AdvancedTrackTool(QWidget *parent);
80  void addTo(QMenu *menu);
81  void addToPermanent(QToolBar *perm);
82  bool eventFilter(QObject *o, QEvent *e);
83 
84  public slots:
85  virtual void mouseMove(QPoint p);
86  virtual void mouseLeave();
87  void record(QPoint p);
88 
89  protected:
96  QString menuName() const {
97  return "&Options";
98  };
99 
100  private slots:
101  void updateRow(QPoint p);
102  void updateRow(MdiCubeViewport *cvp, QPoint p, int row);
103  void record();
104  void updateID();
105  void TrackMosaicOrigin(MdiCubeViewport *cvp, int piLine, int piSample,
106  int &piOrigin, QString &psSrcFileName,
107  QString &psSrcSerialNum);
108  void helpDialog();
109 
110  private:
111  void readSettings();
112  void writeSettings();
113  QString settingsFilePath() const;
114 
118  enum {
119  ID,
154  UTC,
162  };
164  int p_numRows;
165  int p_id;
168 
169  };
170 
171 };
172 
173 #endif