9#include "ControlHealthMonitorView.h" 
   17#include <QWidgetAction> 
   19#include "ControlHealthMonitorWidget.h" 
   20#include "ControlPointEditView.h" 
   21#include "ControlPointEditWidget.h" 
   22#include "CnetEditorView.h" 
   23#include "CubeDnView.h" 
   25#include "ControlNet.h" 
   26#include "ControlPoint.h" 
   28#include "ProjectItem.h" 
   29#include "ProjectItemModel.h" 
   41    m_directory = directory;
 
   42    ControlNet *net = m_directory->project()->activeControl()->controlNet();
 
   53    setCentralWidget(m_controlHealthMonitorWidget);
 
   76    setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
 
 
   85    return QSize(500, 700);
 
 
  101    if (point && point != widget->editPoint()) {
 
 
  116    CubeDnView *cubeView = m_directory->addCubeDnView();
 
  117    foreach (QString serial, serials) {
 
  120        foreach(
Image *image, *list) {
 
  122          if (imageSerial == serial) {
 
 
  138    delete m_controlHealthMonitorWidget;
 
 
  155    return m_controlHealthMonitorWidget;
 
 
AbstractProjectItemView(QWidget *parent=0)
Constructs the AbstractProjectItemView.
 
void openPointEditor(ControlPoint *point)
This SLOT is designed to intercept the openPointEditor() signal that's emitted Whenever a point is do...
 
QToolBar * m_permToolBar
The permanent tool bar.
 
ControlHealthMonitorWidget * controlHealthMonitorWidget()
Returns the ControlHealthMonitorWidget.
 
virtual QList< QAction * > permToolBarActions()
Returns a list of actions for the permanent tool bar.
 
virtual QSize sizeHint() const
Return a reasonable size.
 
ControlHealthMonitorView(Directory *directory, QWidget *parent=0)
Constructor.
 
ToolPad * m_toolPad
The tool pad.
 
QWidgetAction * m_activeToolBarAction
Stores the active tool bar.
 
virtual QList< QAction * > toolPadActions()
Returns a list of actions for the tool pad.
 
void openImageEditor(QList< QString > serials)
This SLOT is designed to intercept the openImageEditor() signal that's emitted Whenever an image is d...
 
~ControlHealthMonitorView()
Destructor.
 
QToolBar * m_activeToolBar
The active tool bar.
 
virtual QList< QAction * > activeToolBarActions()
Returns a list of actions for the active tool bar.
 
View that displays cubes in a QView-like way.
 
void addItem(ProjectItem *item)
Adds an item to the view.
 
This represents a cube in a project-based GUI interface.
 
QString serialNumber()
Returns the serial number of the Cube.
 
Internalizes a list of images and allows for operations on the entire list.
 
Represents an item of a ProjectItemModel in Qt's model-view framework.
 
ProjectItemModel * model() const
Returns the ProjectItemModel associated with this item.
 
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...
 
This is free and unencumbered software released into the public domain.
 
This is free and unencumbered software released into the public domain.