Isis Developer Reference
ControlHealthMonitorView.h
Go to the documentation of this file.
1#ifndef ControlHealthMonitorView_h
2#define ControlHealthMonitorView_h
3
10/* SPDX-License-Identifier: CC0-1.0 */
11
12#include <QMap>
13#include <QPointer>
14#include <QToolBar>
15#include <QWidgetAction>
16
18
19namespace Isis {
20 class Control;
21 class Directory;
22 class ProjectItem;
23 class ControlHealthMonitorWidget;
24 class ControlNet;
25 class ControlPoint;
26 class ToolPad;
27
44
45 Q_OBJECT
46
47 public:
48 ControlHealthMonitorView(Directory *directory, QWidget *parent = 0);
50
51 virtual QSize sizeHint() const;
52
53 virtual QList<QAction *> permToolBarActions();
54 virtual QList<QAction *> activeToolBarActions();
55 virtual QList<QAction *> toolPadActions();
56
58
59 public slots:
60
61 private slots:
62 void openPointEditor(ControlPoint *point);
63 void openImageEditor(QList<QString> serials);
64
65 private:
66 Directory *m_directory;
67
68 QPointer<ControlHealthMonitorWidget> m_controlHealthMonitorWidget;
69
70 ToolPad *m_toolPad;
71 QToolBar *m_permToolBar;
72 QToolBar *m_activeToolBar;
73
74 QWidgetAction *m_activeToolBarAction;
75 };
76}
77
78#endif // ControlHealthMonitorVIEW_H
AbstractProjectItemView is a base class for views of a ProjectItemModel in Qt's model-view framework.
Definition AbstractProjectItemView.h:79
View for the Control Net Health Monitor.
Definition ControlHealthMonitorView.h:43
ControlHealthMonitorWidget * controlHealthMonitorWidget()
Returns the ControlHealthMonitorWidget.
Definition ControlHealthMonitorView.cpp:154
virtual QList< QAction * > permToolBarActions()
Returns a list of actions for the permanent tool bar.
Definition ControlHealthMonitorView.cpp:164
virtual QSize sizeHint() const
Return a reasonable size.
Definition ControlHealthMonitorView.cpp:83
ControlHealthMonitorView(Directory *directory, QWidget *parent=0)
Constructor.
Definition ControlHealthMonitorView.cpp:39
virtual QList< QAction * > toolPadActions()
Returns a list of actions for the tool pad.
Definition ControlHealthMonitorView.cpp:186
~ControlHealthMonitorView()
Destructor.
Definition ControlHealthMonitorView.cpp:137
virtual QList< QAction * > activeToolBarActions()
Returns a list of actions for the active tool bar.
Definition ControlHealthMonitorView.cpp:174
Interface that allows real-time evaluation of the state of a Control Network.
Definition ControlHealthMonitorWidget.h:29
A single control point.
Definition ControlPoint.h:356
Definition Directory.h:271
Definition ToolPad.h:14
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16