Isis Developer Reference
QnetFileTool.h
Go to the documentation of this file.
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
90
91 signals:
93 void controlNetworkUpdated(QString cNetName);
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.
Definition ControlPoint.h:356
Definition FileTool.h:59
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.
Definition QnetFileTool.h:79
virtual void save()
Save control network with given file.
Definition QnetFileTool.cpp:265
void loadImage(const QString &serialNumber)
Load given cube in Workspace.
Definition QnetFileTool.cpp:329
void loadPointImages(ControlPoint *point)
Load images for the given point.
Definition QnetFileTool.cpp:359
QnetFileTool(QnetTool *qnetTool, QWidget *parent)
Constructor.
Definition QnetFileTool.cpp:33
SerialNumberList * serialNumberList()
Definition QnetFileTool.cpp:91
virtual void open()
Open a list of cubes.
Definition QnetFileTool.cpp:118
~QnetFileTool()
Definition QnetFileTool.cpp:74
void newControlNetwork(ControlNet *)
virtual void addTo(QMenu *menu)
Adds the file tool's actions to the menu.
Definition QnetFileTool.cpp:78
void controlNetworkUpdated(QString cNetName)
void setDirty()
Sets save net flag to true.
Definition QnetFileTool.cpp:369
void serialNumberListUpdated()
virtual void saveAs()
Save control network with given file.
Definition QnetFileTool.cpp:281
ControlNet * controlNet()
Definition QnetFileTool.cpp:86
Qnet tool operations.
Definition QnetTool.h:259
Serial Number list generator.
Definition SerialNumberList.h:64
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16