Isis 3 Programmer Reference
QnetFileTool.h
1#ifndef QnetFileTool_h
2#define QnetFileTool_h
3
10/* SPDX-License-Identifier: CC0-1.0 */
11
12#include "FileTool.h"
13#include <QCloseEvent>
14
15class QString;
16class QWidget;
17
18namespace Isis {
19 class ControlNet;
20 class ControlPoint;
21 class QnetTool;
22 class SerialNumberList;
23
79 class QnetFileTool : public FileTool {
80 Q_OBJECT
81
82 public:
83 QnetFileTool(QnetTool *qnetTool, QWidget *parent);
85
86 virtual void addTo(QMenu *menu);
87
88 ControlNet *controlNet();
89 SerialNumberList *serialNumberList();
90
91 signals:
92 void serialNumberListUpdated();
93 void controlNetworkUpdated(QString cNetName);
94 void newControlNetwork(ControlNet *);
95 void newGroundFile();
96 void newDemFile();
97
98 public slots:
99 virtual void open();
100 virtual void exit(QCloseEvent *event = NULL);
101 virtual void save();
102 virtual void saveAs();
103 void loadPointImages(ControlPoint *point);
104 void loadImage(const QString &serialNumber);
105 void setDirty();
106
107 private:
108 QString m_cnetFileName;
109 bool m_isDirty;
110 QAction *m_openGround;
111 QAction *m_openDem;
112 QnetTool *m_qnetTool;
113 };
114};
115
116#endif
a control network
Definition ControlNet.h:258
A single control point.
virtual void exit()
Exit the program, this slot called when the exit is chosen from the File menu.
Definition FileTool.cpp:972
Qnet File operations.
virtual void save()
Save control network with given file.
void loadImage(const QString &serialNumber)
Load given cube in Workspace.
void loadPointImages(ControlPoint *point)
Load images for the given point.
QnetFileTool(QnetTool *qnetTool, QWidget *parent)
Constructor.
virtual void open()
Open a list of cubes.
virtual void addTo(QMenu *menu)
Adds the file tool's actions to the menu.
void setDirty()
Sets save net flag to true.
virtual void saveAs()
Save control network with given file.
Qnet tool operations.
Definition QnetTool.h:259
Serial Number list generator.
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16