Isis Developer Reference
NewControlPointDialog.h
Go to the documentation of this file.
1#ifndef NewControlPointDialog_h
2#define NewControlPointDialog_h
3
4#include <QDialog>
5
6class QComboBox;
7class QHBoxLayout;
8class QLabel;
9class QLineEdit;
10class QListWidget;
11class QPushButton;
12class QRadioButton;
13class QString;
14class QStringList;
15
16namespace Isis {
17 class ControlNet;
18 class SerialNumberList;
19
50
51 Q_OBJECT
52
53 public:
55 SerialNumberList *serialNumberList,
56 QString defaultPointId,
57 QWidget *parent = 0,
58 bool pointType = false,
59 bool groundSource = false,
60 bool subpixelRegisterMeasures = false);
61
62 QString pointId() const;
63 int pointType() const;
64 void setGroundSource(QStringList groundFiles, int numberShapesWithPoint);
65 void setRadiusSource(QStringList radiusFiles);
66 QString groundSource() const;
67 QString radiusSource() const;
69 void setFiles(QStringList pointFiles);
71
72 private slots:
73 void pointTypeChanged(QString pointType);
74 void enableOkButton(const QString &text);
75
76 private:
77 ControlNet *m_controlNet;
78 SerialNumberList *m_serialNumberList;
79
80 QLabel *m_ptIdLabel;
81 QComboBox *m_pointTypeCombo;
82 QComboBox *m_groundSourceCombo;
83 QComboBox *m_radiusSourceCombo;
84 QRadioButton *m_subpixelRegisterButton;
85 QPushButton *m_okButton;
86 QLineEdit *m_ptIdEdit;
87 QListWidget *m_fileList;
88 QStringList *m_pointFiles;
89
90 };
91};
92
93#endif
a control network
Definition ControlNet.h:258
Definition NewControlPointDialog.h:49
void setFiles(QStringList pointFiles)
Definition NewControlPointDialog.cpp:252
QString pointId() const
Definition NewControlPointDialog.cpp:161
int pointType() const
Definition NewControlPointDialog.cpp:166
QString radiusSource() const
Definition NewControlPointDialog.cpp:199
bool subpixelRegisterPoint()
Definition NewControlPointDialog.cpp:189
NewControlPointDialog(ControlNet *controlNet, SerialNumberList *serialNumberList, QString defaultPointId, QWidget *parent=0, bool pointType=false, bool groundSource=false, bool subpixelRegisterMeasures=false)
@description Create dialog for creating a new Control Point
Definition NewControlPointDialog.cpp:44
void setRadiusSource(QStringList radiusFiles)
Definition NewControlPointDialog.cpp:235
void setGroundSource(QStringList groundFiles, int numberShapesWithPoint)
Definition NewControlPointDialog.cpp:212
QStringList selectedFiles() const
Definition NewControlPointDialog.cpp:178
QString groundSource() const
Definition NewControlPointDialog.cpp:194
Serial Number list generator.
Definition SerialNumberList.h:64
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16