Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

Isis 3 Programmer Reference
QnetSetAprioriDialog.h
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 QVBoxLayout;
19
20
21namespace Isis {
22 class QnetTool;
23
41 class QnetSetAprioriDialog : public QDialog {
42 Q_OBJECT
43
44 public:
45 QnetSetAprioriDialog(QnetTool *qnetTool, QWidget *parent = 0);
46 void setPoints(QList<QListWidgetItem *> selectedPoints);
47
48
49 public slots:
50 void setVisiblity();
51 virtual void reject();
52
53 signals:
54 void pointChanged(QString pointId);
55 void netChanged();
56 void aprioriDialogClosed();
57
58 private slots:
62// void fillGroundSourceAprioriLineEdits();
63 void fillSigmaLineEdits();
64 void clearLineEdits();
65 void resetInfoLabels();
66 void setApriori();
67 void closeEvent();
68
69
70 private:
71
72 void createSetAprioriDialog(QWidget *parent);
73 void setInfoStack(QList<QListWidgetItem *> selectedPoints);
75
76 QDialog *m_aprioriDialog;
77 QGridLayout *m_aprioriGridLayout;
78 QPushButton *m_okButton;
79 QPushButton *m_cancelButton;
80 QPushButton *m_applyButton;
81 QStackedWidget *m_pointInfoStack;
82
83 QGroupBox *m_singlePointInfoGroup;
84 QLabel *m_pointIDLabel;
85 QLabel *m_pointTypeLabel;
86 QLabel *m_pointMeasureNumber;
87 QLabel *m_editLockedBoolLabel;
88 QLabel *m_ignoredBoolLabel;
89
90 QGroupBox *m_multiplePointsInfoGroup;
91 QLabel *m_pointsCount;
92 QLabel *m_pointsMeasuresCount;
93 QLabel *m_constrainedPointsCount;
94 QLabel *m_fixedPointsCount;
95 QLabel *m_freePointsCount;
96 QLabel *m_pointsEditLockedCount;
97 QLabel *m_pointsIgnoredCount;
98
99 QGroupBox *m_pointGroup;
100 QLabel *m_aprioriLatLabel;
101 QLabel *m_aprioriLonLabel;
102 QLabel *m_aprioriRadiusLabel;
103 QLineEdit *m_latLineEdit;
104 QLineEdit *m_lonLineEdit;
105 QLineEdit *m_radiusLineEdit;
106 QPushButton *m_currentAprioriButton;
107 QPushButton *m_referenceAprioriButton;
108 QPushButton *m_averageAprioriButton;
109
110 QGroupBox *m_sigmaGroup;
111 QLabel *m_sigmaWarningLabel;
112 QPushButton *m_currentSigmaButton;
113 QLabel *m_latSigmaLabel;
114 QLabel *m_lonSigmaLabel;
115 QLabel *m_radiusSigmaLabel;
116 QLineEdit *m_latSigmaLineEdit;
117 QLineEdit *m_lonSigmaLineEdit;
118 QLineEdit *m_radiusSigmaLineEdit;
119
121 QnetTool *m_qnetTool;
122
123 enum Source {
124 USER,
125 AVERAGE,
126 REFERENCE,
127 };
128
129 Source m_aprioriSource;
130
131 int m_multiPointsMeasureCount;
132 int m_multiPointsConstraintedCount;
133 int m_multiPointsFixedCount;
134 int m_multiPointsFreeCount;
135 int m_multiPointsEditLockedCount;
136 int m_multiPointsIgnoredCount;
137 };
138}
139
140#endif
void fillCurrentAprioriLineEdits()
Populates the apriori lat/lon/radius line edits with the current values.
void checkPointInfoDisable(QList< QListWidgetItem * > selectedPoints)
Enables/Disables features based on if there are multiple points selected or not.
void setPoints(QList< QListWidgetItem * > selectedPoints)
Set control points in the dialog.
void clearLineEdits()
Clears the line edits.
void fillSigmaLineEdits()
This is the base for a new ticket that allows for a ground source button.
void resetInfoLabels()
Resets and populates the information stack labels.
void closeEvent()
Disconnect all of the slots on a close event.
void fillAverageAprioriLineEdits()
Populates the apriori lat/lon/radius line edits with the average measure values.
virtual void reject()
This is called when the user selects the X button on the top right or they hit ESC.
void createSetAprioriDialog(QWidget *parent)
Creates the dialog box for the set apriori tool.
void fillReferenceAprioriLineEdits()
Populates the apriori lat/lon/radius line edits with the reference measure values.
void setApriori()
Slot to set apriori on selected Points from Navigator list box.
void setVisiblity()
Shows the dialog box.
void setInfoStack(QList< QListWidgetItem * > selectedPoints)
Switches what information is visible based on how many points are selected.
Qnet tool operations.
Definition QnetTool.h:259
This is free and unencumbered software released into the public domain.
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16