Isis 3 Programmer Reference
ControlHealthMonitorWidget.h
Go to the documentation of this file.
1 #ifndef ControlHealthMonitorWidget_h
2 #define ControlHealthMonitorWidget_h
3 
26 #include <QLabel>
27 #include <QTableWidget>
28 #include <QProgressBar>
29 #include <QPointer>
30 #include <ControlNetVitals.h>
31 
32 
33 
34 namespace Isis {
44 
45 
46  Q_OBJECT
47 
48  public:
51  void createGui();
52  QWidget* createImagesTab();
53  QWidget* createPointsTab();
54  QWidget* createOverviewTab();
55  QWidget* createGraphTab();
56  void setVitals(ControlNetVitals *vitals);
57  void initializeEverything();
58 
59  public slots:
60  void emitOpenImageEditor();
61  void emitOpenPointEditor();
62 
63  void historyEntry(QString, QString, QVariant, QVariant, QString);
64 
65  void viewPointAll();
66  void viewPointFree();
67 
68  void viewPointFixed();
69  void viewPointConstrained();
70 
71  void viewPointIgnored();
72  void viewPointEditLocked();
73  void viewPointFewMeasures();
74 
75  void viewImageAll();
76  void viewImageFewMeasures();
77  void viewImageHullTolerance();
78 
79  void update();
80 
81  signals:
82  void openPointEditor(ControlPoint *point);
83  void openImageEditor(QList<QString> serials);
84 
85  private:
86  void updateStatus(int code);
87  void updateImageTable(QList<QString> serials);
88  void updatePointTable(QList<ControlPoint*> points);
89 
90  // QChartView *m_pointChartView;
91  ControlNetVitals *m_vitals;
92  QProgressBar *m_statusBar;
93  QProgressBar *m_pointsFreeProgressbar;
94  QProgressBar *m_pointsConstrainedProgressbar;
95  QProgressBar *m_pointsFixedProgressbar;
96 
97 
98  QTableWidget *m_historyTable;
99  QTableWidget *m_imagesTable;
100  QTableWidget *m_pointsTable;
101 
102  QLabel *m_imagesHullValue;
103  QLabel *m_imagesMeasuresValue;
104  QLabel *m_imagesShowingLabel;
105  QLabel *m_lastModLabel;
106  QLabel *m_netLabel;
107  QLabel *m_numImagesLabel;
108  QLabel *m_numMeasuresLabel;
109  QLabel *m_numPointsLabel;
110  QLabel *m_pointsConstrainedLabel;
111  QLabel *m_pointsEditLockedLabel;
112  QLabel *m_pointsFewMeasuresLabel;
113  QLabel *m_pointsFixedLabel;
114  QLabel *m_pointsFreeLabel;
115  QLabel *m_pointsIgnoredLabel;
116  QLabel *m_pointsShowingLabel;
117  QLabel *m_statusDetails;
118  QLabel *m_statusLabel;
119 
120  };
121 }
122 
123 #endif
void historyEntry(QString, QString, QVariant, QVariant, QString)
This SLOT is designed to intercept the historyEntry() signal emitted from the ControlNetVitals class ...
void emitOpenImageEditor()
This method is designed to be called whenever a user double-clicks on an image in the image table of ...
ControlNetVitals.
void update()
This SLOT is called whenever the is a change made to the network embedded in the Global m_vitals obje...
Interface that allows real-time evaluation of the state of a Control Network.
ControlHealthMonitorWidget(ControlNetVitals *vitals, QWidget *parent=0)
This class is the front end representation of a ControlNetVitals object.
A single control point.
Definition: ControlPoint.h:369
void createGui()
This method is responsible for creating all of the components that comprise the GUI.
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
void emitOpenPointEditor()
This method is designed to be called whenever a user double-clicks on a point in the point table of t...
void initializeEverything()
Initializes all member variables to NULL.