Isis 3 Programmer Reference
ControlHealthMonitorWidget.h
1#ifndef ControlHealthMonitorWidget_h
2#define ControlHealthMonitorWidget_h
3
10/* SPDX-License-Identifier: CC0-1.0 */
11
12#include <QLabel>
13#include <QTableWidget>
14#include <QProgressBar>
15#include <QPointer>
16#include <ControlNetVitals.h>
17
18
19
20namespace Isis {
30
31
32 Q_OBJECT
33
34 public:
37 void createGui();
38 QWidget* createImagesTab();
39 QWidget* createPointsTab();
40 QWidget* createOverviewTab();
41 QWidget* createGraphTab();
42 void setVitals(ControlNetVitals *vitals);
44
45 public slots:
48
49 void historyEntry(QString, QString, QVariant, QVariant, QString);
50
51 void viewPointAll();
52 void viewPointFree();
53
54 void viewPointFixed();
55 void viewPointConstrained();
56
57 void viewPointIgnored();
58 void viewPointEditLocked();
59 void viewPointFewMeasures();
60
61 void viewImageAll();
62 void viewImageFewMeasures();
63 void viewImageHullTolerance();
64
65 void update();
66
67 signals:
68 void openPointEditor(ControlPoint *point);
69 void openImageEditor(QList<QString> serials);
70
71 private:
72 void updateStatus(int code);
73 void updateImageTable(QList<QString> serials);
74 void updatePointTable(QList<ControlPoint*> points);
75
76 // QChartView *m_pointChartView;
77 ControlNetVitals *m_vitals;
78 QProgressBar *m_statusBar;
79 QProgressBar *m_pointsFreeProgressbar;
80 QProgressBar *m_pointsConstrainedProgressbar;
81 QProgressBar *m_pointsFixedProgressbar;
82
83
84 QTableWidget *m_historyTable;
85 QTableWidget *m_imagesTable;
86 QTableWidget *m_pointsTable;
87
88 QLabel *m_imagesHullValue;
89 QLabel *m_imagesMeasuresValue;
90 QLabel *m_imagesShowingLabel;
91 QLabel *m_lastModLabel;
92 QLabel *m_netLabel;
93 QLabel *m_numImagesLabel;
94 QLabel *m_numMeasuresLabel;
95 QLabel *m_numPointsLabel;
96 QLabel *m_pointsConstrainedLabel;
97 QLabel *m_pointsEditLockedLabel;
98 QLabel *m_pointsFewMeasuresLabel;
99 QLabel *m_pointsFixedLabel;
100 QLabel *m_pointsFreeLabel;
101 QLabel *m_pointsIgnoredLabel;
102 QLabel *m_pointsShowingLabel;
103 QLabel *m_statusDetails;
104 QLabel *m_statusLabel;
105
106 };
107}
108
109#endif
Interface that allows real-time evaluation of the state of a Control Network.
void createGui()
This method is responsible for creating all of the components that comprise the GUI.
void emitOpenPointEditor()
This method is designed to be called whenever a user double-clicks on a point in the point table of t...
void historyEntry(QString, QString, QVariant, QVariant, QString)
This SLOT is designed to intercept the historyEntry() signal emitted from the ControlNetVitals class ...
void update()
This SLOT is called whenever the is a change made to the network embedded in the Global m_vitals obje...
void emitOpenImageEditor()
This method is designed to be called whenever a user double-clicks on an image in the image table of ...
void initializeEverything()
Initializes all member variables to NULL.
ControlHealthMonitorWidget(ControlNetVitals *vitals, QWidget *parent=0)
This class is the front end representation of a ControlNetVitals object.
A single control point.
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16