28 #include <QWidgetAction> 32 #include "XmlStackedHandler.h" 38 class QXmlStreamWriter;
48 class MdiCubeViewport;
52 class XmlStackedHandlerReader;
53 class ProjectItemViewMenu;
122 void save(QXmlStreamWriter &stream,
Project *project,
FileName newProjectRoot)
const;
125 void modifyControlPoint(
ControlPoint *controlPoint, QString serialNumber);
127 void createControlPoint(
double latitude,
double longitude,
Cube *cube,
128 bool isGroundSource =
false);
130 void controlPointAdded(QString newPointId);
131 void redrawMeasures();
138 void createActions(
Directory *directory);
165 virtual bool startElement(
const QString &namespaceURI,
const QString &localName,
166 const QString &qName,
const QXmlAttributes &atts);
167 virtual bool endElement(
const QString &namespaceURI,
const QString &localName,
168 const QString &qName);
Cube display widget for certain Isis MDI applications.
void setWorkspaceActiveCube(Image *image)
Raises the subwindow corresponding with an image to the top.
CubeDnView * m_cubeDnView
The view we are working with.
void onItemAdded(ProjectItem *item)
Slot to connect to the itemAdded signal from a ProjectItemModel.
The main project for ipce.
Workspace * m_workspace
The workspace.
ProjectItemViewMenu * m_viewMenu
View menu for storing actions.
File name manipulation and expansion.
void onCubeViewportActivated(MdiCubeViewport *)
Slot to connect to the cubeViewportActivated signal from the Workspace.
QToolBar * m_activeToolBar
A tool bar for storing actions.
void onCubeViewportDeleted(QObject *obj)
Slot to connect to the destroyed signal from a viewport.
QAction * m_separatorAction
A separator action that is reused.
QMap< Cube *, ProjectItem * > m_cubeItemMap
Maps cubes to their items.
QList< QWidget * > m_childWidgets
Child widgets of the active toolbar.
ProjectItemViewMenu * m_optionsMenu
Options menu for storing actions.
void disableActions()
Disables toolbars and toolpad actions/widgets.
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...
AbstractProjectItemView is a base class for views of a ProjectItemModel in Qt's model-view framework...
CubeDnView(Directory *directory, QWidget *parent=0)
Constructs the view, initializing the tools.
void enableControlNetTool(bool value)
A slot function that is called when directory emits a signal that an active control network is set...
Project * m_project
The current project.
XML Handler that parses XMLs in a stack-oriented way.
This represents a cube in a project-based GUI interface.
ToolPad * m_toolPad
A tool bar for storing actions.
void onCubeViewportAdded(MdiCubeViewport *viewport)
Slot to connect to the viewportAdded signal from a Workspace.
void addItem(ProjectItem *item)
Adds an item to the view.
void leaveEvent(QEvent *event)
Disables actions when the cursor leaves the view.
View that displays cubes in a QView-like way.
QToolBar * m_permToolBar
A tool bar for storing actions.
Represents an item of a ProjectItemModel in Qt's model-view framework.
Namespace for ISIS/Bullet specific routines.
void onCurrentChanged(const QModelIndex ¤t)
Slot to connect to the currentChanged() signal from a selection model.
void enableActions()
Enables toolbars and toolpad actions/widgets.
Manage a stack of content handlers for reading XML files.
ProjectItemViewMenu * m_windowMenu
Window menu for storing actions.
IO Handler for Isis Cubes.