Isis 3 Developer Reference
QnetFileTool.h
Go to the documentation of this file.
1 #ifndef QnetFileTool_h
2 #define QnetFileTool_h
3 
26 #include "FileTool.h"
27 #include <QCloseEvent>
28 
29 class QString;
30 class QWidget;
31 
32 namespace Isis {
33  class ControlNet;
34  class ControlPoint;
35  class QnetTool;
36  class SerialNumberList;
37 
93  class QnetFileTool : public FileTool {
94  Q_OBJECT
95 
96  public:
97  QnetFileTool(QnetTool *qnetTool, QWidget *parent);
98  ~QnetFileTool();
99 
100  virtual void addTo(QMenu *menu);
101 
104 
105  signals:
107  void controlNetworkUpdated(QString cNetName);
109  void newGroundFile();
110  void newDemFile();
111 
112  public slots:
113  virtual void open();
114  virtual void exit(QCloseEvent *event = NULL);
115  virtual void save();
116  virtual void saveAs();
117  void loadPointImages(ControlPoint *point);
118  void loadImage(const QString &serialNumber);
119  void setDirty();
120 
121  private:
122  QString m_cnetFileName;
123  bool m_isDirty;
124  QAction *m_openGround;
125  QAction *m_openDem;
126  QnetTool *m_qnetTool;
127  };
128 };
129 
130 #endif
void serialNumberListUpdated()
virtual void addTo(QMenu *menu)
Adds the file tool&#39;s actions to the menu.
Definition: QnetFileTool.cpp:78
ControlNet * controlNet()
Definition: QnetFileTool.cpp:86
SerialNumberList * serialNumberList()
Definition: QnetFileTool.cpp:91
void newControlNetwork(ControlNet *)
void loadImage(const QString &serialNumber)
Load given cube in Workspace.
Definition: QnetFileTool.cpp:329
~QnetFileTool()
Definition: QnetFileTool.cpp:74
QnetFileTool(QnetTool *qnetTool, QWidget *parent)
Constructor.
Definition: QnetFileTool.cpp:33
a control network
Definition: ControlNet.h:271
Definition: FileTool.h:59
void setDirty()
Sets save net flag to true.
Definition: QnetFileTool.cpp:369
A single control point.
Definition: ControlPoint.h:369
virtual void exit()
Exit the program, this slot called when the exit is chosen from the File menu.
Definition: FileTool.cpp:973
void loadPointImages(ControlPoint *point)
Load images for the given point.
Definition: QnetFileTool.cpp:359
virtual void saveAs()
Save control network with given file.
Definition: QnetFileTool.cpp:281
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
virtual void save()
Save control network with given file.
Definition: QnetFileTool.cpp:265
Qnet tool operations.
Definition: QnetTool.h:256
void controlNetworkUpdated(QString cNetName)
Serial Number list generator.
Definition: SerialNumberList.h:80
virtual void open()
Open a list of cubes.
Definition: QnetFileTool.cpp:118
Qnet File operations.
Definition: QnetFileTool.h:93