Isis Developer Reference
QnetSetAprioriDialog.h
Go to the documentation of this file.
1#ifndef QnetSetAprioriDialog_h
2#define QnetSetAprioriDialog_h
3
4#include <QDialog>
5
6
7//forward declarations
8class QDialog;
9class QGridLayout;
10class QGroupBox;
11class QLabel;
12class QLineEdit;
13class QListWidget;
14class QListWidgetItem;
15class QPushButton;
16class QStackedWidget;
17class QString;
18class QStringList;
19class QVBoxLayout;
20
21
22namespace Isis {
23 class QnetTool;
24
43 Q_OBJECT
44
45 public:
46 QnetSetAprioriDialog(QnetTool *qnetTool, QWidget *parent = 0);
47 void setPoints(QList<QListWidgetItem *> selectedPoints);
48
49
50 public slots:
51 void setVisiblity();
52 virtual void reject();
53
54 signals:
55 void pointChanged(QString pointId);
56 void netChanged();
58
59 private slots:
60 void fillCurrentAprioriLineEdits();
61 void fillReferenceAprioriLineEdits();
62 void fillAverageAprioriLineEdits();
63// void fillGroundSourceAprioriLineEdits();
64 void fillSigmaLineEdits();
65 void clearLineEdits();
66 void resetInfoLabels();
67 void setApriori();
68 void closeEvent();
69
70
71 private:
72
73 void createSetAprioriDialog(QWidget *parent);
74 void setInfoStack(QList<QListWidgetItem *> selectedPoints);
75 void checkPointInfoDisable(QList<QListWidgetItem *> selectedPoints);
76
77 QDialog *m_aprioriDialog;
78 QGridLayout *m_aprioriGridLayout;
79 QPushButton *m_okButton;
80 QPushButton *m_cancelButton;
81 QPushButton *m_applyButton;
82 QStackedWidget *m_pointInfoStack;
83
84 QGroupBox *m_singlePointInfoGroup;
85 QLabel *m_pointIDLabel;
86 QLabel *m_pointTypeLabel;
87 QLabel *m_pointMeasureNumber;
88 QLabel *m_editLockedBoolLabel;
89 QLabel *m_ignoredBoolLabel;
90
91 QGroupBox *m_multiplePointsInfoGroup;
92 QLabel *m_pointsCount;
93 QLabel *m_pointsMeasuresCount;
94 QLabel *m_constrainedPointsCount;
95 QLabel *m_fixedPointsCount;
96 QLabel *m_freePointsCount;
97 QLabel *m_pointsEditLockedCount;
98 QLabel *m_pointsIgnoredCount;
99
100 QGroupBox *m_pointGroup;
101 QLabel *m_aprioriLatLabel;
102 QLabel *m_aprioriLonLabel;
103 QLabel *m_aprioriRadiusLabel;
104 QLineEdit *m_latLineEdit;
105 QLineEdit *m_lonLineEdit;
106 QLineEdit *m_radiusLineEdit;
107 QPushButton *m_currentAprioriButton;
108 QPushButton *m_referenceAprioriButton;
109 QPushButton *m_averageAprioriButton;
110
111 QGroupBox *m_sigmaGroup;
112 QLabel *m_sigmaWarningLabel;
113 QPushButton *m_currentSigmaButton;
114 QLabel *m_latSigmaLabel;
115 QLabel *m_lonSigmaLabel;
116 QLabel *m_radiusSigmaLabel;
117 QLineEdit *m_latSigmaLineEdit;
118 QLineEdit *m_lonSigmaLineEdit;
119 QLineEdit *m_radiusSigmaLineEdit;
120
121 QList<QListWidgetItem *> m_points;
122 QnetTool *m_qnetTool;
123
124 enum Source {
125 USER,
126 AVERAGE,
127 REFERENCE,
128 };
129
130 Source m_aprioriSource;
131
132 int m_multiPointsMeasureCount;
133 int m_multiPointsConstraintedCount;
134 int m_multiPointsFixedCount;
135 int m_multiPointsFreeCount;
136 int m_multiPointsEditLockedCount;
137 int m_multiPointsIgnoredCount;
138 };
139}
140
141#endif
Definition QnetSetAprioriDialog.h:42
void setPoints(QList< QListWidgetItem * > selectedPoints)
Set control points in the dialog.
Definition QnetSetAprioriDialog.cpp:321
QnetSetAprioriDialog(QnetTool *qnetTool, QWidget *parent=0)
Definition QnetSetAprioriDialog.cpp:33
virtual void reject()
This is called when the user selects the X button on the top right or they hit ESC.
Definition QnetSetAprioriDialog.cpp:267
void pointChanged(QString pointId)
void setVisiblity()
Shows the dialog box.
Definition QnetSetAprioriDialog.cpp:304
Qnet tool operations.
Definition QnetTool.h:259
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16