|
Isis 3 Programmer Reference
|
11 #include "ControlHealthMonitorView.h"
16 #include <QSizePolicy>
18 #include <QVBoxLayout>
19 #include <QWidgetAction>
21 #include "ControlHealthMonitorWidget.h"
22 #include "ControlPointEditView.h"
23 #include "ControlPointEditWidget.h"
24 #include "CnetEditorView.h"
25 #include "CubeDnView.h"
27 #include "ControlNet.h"
28 #include "ControlPoint.h"
29 #include "Directory.h"
30 #include "ProjectItem.h"
31 #include "ProjectItemModel.h"
43 m_directory = directory;
55 setCentralWidget(m_controlHealthMonitorWidget);
78 setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
87 return QSize(500, 700);
103 if (point && point != widget->editPoint()) {
119 foreach (QString serial, serials) {
122 foreach(
Image *image, *list) {
124 if (imageSerial == serial) {
140 delete m_controlHealthMonitorWidget;
157 return m_controlHealthMonitorWidget;
virtual QList< QAction * > permToolBarActions()
Returns a list of actions for the permanent tool bar.
View that displays cubes in a QView-like way.
void openImageEditor(QList< QString > serials)
This SLOT is designed to intercept the openImageEditor() signal that's emitted Whenever an image is d...
AbstractProjectItemView is a base class for views of a ProjectItemModel in Qt's model-view framework.
QString serialNumber()
Returns the serial number of the Cube.
ProjectItemModel * model()
Gets the ProjectItemModel for this directory.
ToolPad * m_toolPad
The tool pad.
QToolBar * m_permToolBar
The permanent tool bar.
CubeDnView * addCubeDnView(QString objectName="")
Add the qview workspace to the window.
ControlPointEditWidget * controlPointEditWidget()
Returns the ControlPointEditWidget.
~ControlHealthMonitorView()
Destructor.
virtual QList< QAction * > toolPadActions()
Returns a list of actions for the tool pad.
Control * activeControl()
Return the Active Control (control network)
Project * project() const
Gets the Project for this directory.
virtual QList< QAction * > activeToolBarActions()
Returns a list of actions for the active tool bar.
QWidgetAction * m_activeToolBarAction
Stores the active tool bar.
Internalizes a list of images and allows for operations on the entire list.
static QStringList images(QStringList)
Verify that the input fileNames are image files.
ControlNet * controlNet()
Open and return a pointer to the ControlNet for this Control.
virtual QSize sizeHint() const
Return a reasonable size.
This represents a cube in a project-based GUI interface.
ProjectItem * findItemData(const QVariant &data, int role=Qt::UserRole+1)
Returns the first item found that contains the given data in the given role or a null pointer if no i...
void openPointEditor(ControlPoint *point)
This SLOT is designed to intercept the openPointEditor() signal that's emitted Whenever a point is do...
ControlHealthMonitorView(Directory *directory, QWidget *parent=0)
Constructor.
QToolBar * m_activeToolBar
The active tool bar.
ControlHealthMonitorWidget * controlHealthMonitorWidget()
Returns the ControlHealthMonitorWidget.
This is free and unencumbered software released into the public domain.
Represents an item of a ProjectItemModel in Qt's model-view framework.
void addItem(ProjectItem *item)
Adds an item to the view.