28 #include <QWidgetAction> 
   32 #include "XmlStackedHandler.h" 
   39 class QXmlStreamWriter;
 
   48   class MdiCubeViewport;
 
   52   class XmlStackedHandlerReader;
 
   98       void save(QXmlStreamWriter &stream, 
Project *project, 
FileName newProjectRoot) 
const;
 
  103       void createControlPoint(
double latitude, 
double longitude, 
Cube *cube,
 
  104                               bool isGroundSource = 
false);
 
  106       void controlPointAdded(QString newPointId);
 
  134           virtual bool startElement(
const QString &namespaceURI, 
const QString &localName,
 
  135                                     const QString &qName, 
const QXmlAttributes &atts);
 
  136           virtual bool endElement(
const QString &namespaceURI, 
const QString &localName,
 
  137                                   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. 
 
virtual QList< QAction * > activeToolBarActions()
Returns a list of actions for the active tool bar. 
 
void onItemAdded(ProjectItem *item)
Slot to connect to the itemAdded signal from a ProjectItemModel. 
 
The main project for cnetsuite. 
 
Workspace * m_workspace
The workspace. 
 
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. 
 
QList< QAction * > m_toolPadActions
The tool pad actions. 
 
void onCubeViewportDeleted(QObject *obj)
Slot to connect to the destroyed signal from a viewport. 
 
QAction * m_separatorAction
A separator action that is reused. 
 
virtual QList< QAction * > viewMenuActions()
Returns a list of actions appropriate for a view menu. 
 
QMap< Cube *, ProjectItem * > m_cubeItemMap
Maps cubes to their items. 
 
Cube * workspaceActiveCube()
Returns the cube of the active viewport in the Workspace, or a null pointer if no viewports are activ...
 
QMenu * m_optionsMenu
Options menu for storing actions. 
 
AbstractProjectItemView is a base class for views of a ProjectItemModel in Qt's model-view framework...
 
virtual QList< QAction * > permToolBarActions()
Returns a list of actions for the permanent tool bar. 
 
QMenu * m_windowMenu
Window menu for storing actions. 
 
QMenu * m_viewMenu
View menu for storing actions. 
 
CubeDnView(Directory *directory, QWidget *parent=0)
Constructs the view, initializing the tools. 
 
QWidgetAction * m_activeToolBarAction
Widget of the active tool. 
 
virtual QList< QAction * > projectMenuActions()
Returns a list of actions appropriate for a project menu. 
 
Project * m_project
The current project. 
 
QMenu * m_helpMenu
Help menu for storing actions. 
 
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. 
 
QSize sizeHint() const 
Returns the suggested size. 
 
virtual QList< QAction * > toolPadActions()
Returns a list of actions for the tool pad. 
 
virtual QList< QAction * > settingsMenuActions()
Returns a list of actions appropriate for a settings menu. 
 
void onCubeViewportAdded(MdiCubeViewport *viewport)
Slot to connect to the viewportAdded signal from a Workspace. 
 
QMenu * m_fileMenu
File menu for storing actions. 
 
void addItem(ProjectItem *item)
Adds an item to 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. 
 
virtual QList< QAction * > fileMenuActions()
Returns a list of actions appropriate for a file menu. 
 
virtual QList< QAction * > editMenuActions()
Returns a list of actions appropriate for an edit menu. 
 
void onCurrentChanged(const QModelIndex ¤t)
Slot to connect to the currentChanged() signal from a selection model. 
 
QList< QAction * > m_permToolBarActions
The permanent tool bar actions. 
 
virtual QList< QAction * > helpMenuActions()
Returns a list of actions appropriate for a help menu. 
 
his enables stack-based XML parsing of XML files. 
 
IO Handler for Isis Cubes.