14#include <QWidgetAction>
16#include "AbstractProjectItemView.h"
23class QXmlStreamWriter;
105 void save(QXmlStreamWriter &stream,
Project *project,
FileName newProjectRoot)
const;
108 void modifyControlPoint(
ControlPoint *controlPoint, QString serialNumber);
110 void createControlPoint(
double latitude,
double longitude,
Cube *cube,
111 bool isGroundSource =
false);
113 void controlPointAdded(QString newPointId);
114 void redrawMeasures();
121 void createActions(
Directory *directory);
AbstractProjectItemView(QWidget *parent=0)
Constructs the AbstractProjectItemView.
void onCubeViewportActivated(MdiCubeViewport *)
Slot to connect to the cubeViewportActivated signal from the Workspace.
void disableActions()
Disables toolbars and toolpad actions/widgets.
ProjectItemViewMenu * m_windowMenu
Window menu for storing actions.
ProjectItemViewMenu * m_viewMenu
View menu for storing actions.
void leaveEvent(QEvent *event)
Disables actions when the cursor leaves the view.
QMap< Cube *, ProjectItem * > m_cubeItemMap
Maps cubes to their items.
void onCurrentChanged(const QModelIndex ¤t)
Slot to connect to the currentChanged() signal from a selection model.
QToolBar * m_permToolBar
A tool bar for storing actions.
ProjectItemViewMenu * m_optionsMenu
Options menu for storing actions.
void addItem(ProjectItem *item)
Adds an item to the view.
Directory * m_directory
The directory.
Cube * workspaceActiveCube()
Returns the cube of the active viewport in the Workspace, or a null pointer if no viewports are activ...
ToolPad * m_toolPad
A tool bar for storing actions.
void enableActions()
Enables toolbars and toolpad actions/widgets.
void onItemAdded(ProjectItem *item)
Slot to connect to the itemAdded signal from a ProjectItemModel.
Workspace * m_workspace
The workspace.
QList< QWidget * > m_childWidgets
Child widgets of the active toolbar.
CubeDnView(Directory *directory, QWidget *parent=0)
Constructs the view, initializing the tools.
QToolBar * m_activeToolBar
A tool bar for storing actions.
void onCubeViewportDeleted(QObject *obj)
Slot to connect to the destroyed signal from a viewport.
void onCubeViewportAdded(MdiCubeViewport *viewport)
Slot to connect to the viewportAdded signal from a Workspace.
void setWorkspaceActiveCube(Image *image)
Raises the subwindow corresponding with an image to the top.
QAction * m_separatorAction
A separator action that is reused.
void enableControlNetTool(bool value)
A slot function that is called when directory emits a signal that an active control network is set.
IO Handler for Isis Cubes.
File name manipulation and expansion.
This represents a cube in a project-based GUI interface.
Internalizes a list of images and allows for operations on the entire list.
Cube display widget for certain Isis MDI applications.
The main project for ipce.
Represents an item of a ProjectItemModel in Qt's model-view framework.
This is free and unencumbered software released into the public domain.
This is free and unencumbered software released into the public domain.
This is free and unencumbered software released into the public domain.