Isis 3.0 Programmer Reference
Back | Home
QnetFileTool.h
Go to the documentation of this file.
1 #ifndef QnetFileTool_h
2 #define QnetFileTool_h
3 
26 #include "FileTool.h"
27 
28 class QString;
29 class QWidget;
30 
31 namespace Isis {
32  class ControlNet;
33  class ControlPoint;
34  class QnetTool;
35  class SerialNumberList;
36 
85  class QnetFileTool : public FileTool {
86  Q_OBJECT
87 
88  public:
89  QnetFileTool(QnetTool *qnetTool, QWidget *parent);
90  ~QnetFileTool();
91 
92  virtual void addTo(QMenu *menu);
93 
94  ControlNet *controlNet();
95  SerialNumberList *serialNumberList();
96 
97  signals:
98  void serialNumberListUpdated();
99  void controlNetworkUpdated(QString cNetName);
100  void newControlNetwork(ControlNet *);
101  void newGroundFile();
102  void newDemFile();
103 
104  public slots:
105  virtual void open();
106  virtual void exit();
107  virtual void save();
108  virtual void saveAs();
109  void loadPointImages(ControlPoint *point);
110  void loadImage(const QString &serialNumber);
111  void setDirty();
112 
113  private:
114  QString m_cnetFileName;
115  bool m_isDirty;
116  QAction *m_openGround;
117  QAction *m_openDem;
118  QnetTool *m_qnetTool;
119  };
120 };
121 
122 #endif
virtual void addTo(QMenu *menu)
Adds the file tool's actions to the menu.
void loadImage(const QString &serialNumber)
Load given cube in Workspace.
QnetFileTool(QnetTool *qnetTool, QWidget *parent)
Constructor.
a control network
Definition: ControlNet.h:207
void setDirty()
Sets save net flag to true.
A single control point.
Definition: ControlPoint.h:339
virtual void exit()
Exit the program.
void loadPointImages(ControlPoint *point)
Load images for the given point.
virtual void saveAs()
Save control network with given file.
virtual void save()
Save control network with given file.
Qnet tool operations.
Definition: QnetTool.h:251
Serial Number list generator.
virtual void open()
Open a list of cubes.
Qnet File operations.
Definition: QnetFileTool.h:85

U.S. Department of the Interior | U.S. Geological Survey
ISIS | Privacy & Disclaimers | Astrogeology Research Program
To contact us, please post comments and questions on the ISIS Support Center
File Modified: 07/12/2023 23:27:35