Isis 3 Programmer Reference
NewControlPointDialog.h
1 #ifndef NewControlPointDialog_h
2 #define NewControlPointDialog_h
3 
4 #include <QDialog>
5 
6 class QComboBox;
7 class QHBoxLayout;
8 class QLabel;
9 class QLineEdit;
10 class QListWidget;
11 class QPushButton;
12 class QRadioButton;
13 class QString;
14 class QStringList;
15 
16 namespace Isis {
17  class ControlNet;
18  class SerialNumberList;
19 
49  class NewControlPointDialog : public QDialog {
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;
68  QStringList selectedFiles() const;
69  void setFiles(QStringList pointFiles);
70  bool subpixelRegisterPoint();
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
NewControlPointDialog(ControlNet *controlNet, SerialNumberList *serialNumberList, QString defaultPointId, QWidget *parent=0, bool pointType=false, bool groundSource=false, bool subpixelRegisterMeasures=false)
Create dialog for creating a new Control Point
void enableOkButton(const QString &text)
a control network
Definition: ControlNet.h:271
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
void setFiles(QStringList pointFiles)
Serial Number list generator.