|
Isis Developer Reference
|
Go to the documentation of this file.
14 #include <QWidgetAction>
24 class QXmlStreamWriter;
34 class MdiCubeViewport;
38 class XmlStackedHandlerReader;
39 class ProjectItemViewMenu;
114 bool isGroundSource =
false);
124 void createActions(
Directory *directory);
126 void onCurrentChanged(
const QModelIndex ¤t);
130 void onCubeViewportDeleted(
QObject *obj);
131 void disableActions();
134 Cube *workspaceActiveCube();
135 void setWorkspaceActiveCube(
Image *image);
136 void leaveEvent(QEvent *event);
137 void enableActions();
151 virtual bool startElement(
const QString &namespaceURI,
const QString &localName,
152 const QString &qName,
const QXmlAttributes &atts);
153 virtual bool endElement(
const QString &namespaceURI,
const QString &localName,
154 const QString &qName);
157 Q_DISABLE_COPY(XmlHandler);
Provides access to data stored in a Project through Qt's model-view framework.
Definition: ProjectItemModel.h:132
void deleteControlPoint(ControlPoint *controlPoint)
Cube display widget for certain Isis MDI applications.
Definition: MdiCubeViewport.h:39
View that displays cubes in a QView-like way.
Definition: CubeDnView.h:97
Definition: Directory.h:271
void load(XmlStackedHandlerReader *xmlReader, Project *project)
Definition: CubeDnView.cpp:533
AbstractProjectItemView is a base class for views of a ProjectItemModel in Qt's model-view framework.
Definition: AbstractProjectItemView.h:79
Image * image() const
Returns the Image stored in the data of the item.
Definition: ProjectItem.cpp:476
bool viewportContainsShape(MdiCubeViewport *viewport)
Definition: CubeDnView.cpp:365
File name manipulation and expansion.
Definition: FileName.h:100
void controlPointAdded(QString newPointId)
virtual void pushContentHandler(XmlStackedHandler *newHandler)
Push a contentHandler and maybe continue parsing...
Definition: XmlStackedHandlerReader.cpp:55
Allows access to items in a ProjectItemModel through a proxy model.
Definition: ProjectItemProxyModel.h:70
Shape * shape() const
Returns the Shape stored in the data of the item.
Definition: ProjectItem.cpp:496
ProjectItemModel * sourceModel()
Returns the source model.
Definition: ProjectItemProxyModel.cpp:266
CubeDnView(Directory *directory, QWidget *parent=0)
Constructs the view, initializing the tools.
Definition: CubeDnView.cpp:81
QItemSelectionModel * selectionModel()
Returns the internal selection model.
Definition: ProjectItemModel.cpp:93
void addCubeViewport(QString cubename)
Method adds the name of a cube into Workspace as a CubeViewport.
Definition: Workspace.cpp:339
void save(QXmlStreamWriter &stream, Project *project, FileName newProjectRoot) const
Definition: CubeDnView.cpp:538
virtual bool startElement(const QString &namespaceURI, const QString &localName, const QString &qName, const QXmlAttributes &atts)
Definition: XmlStackedHandler.cpp:44
Control * activeControl()
Return the Active Control (control network)
Definition: Project.cpp:1903
Project * project() const
Gets the Project for this directory.
Definition: Directory.cpp:1311
Cube * cube()
Get the Cube * associated with this display property.
Definition: Shape.cpp:324
ProjectItem * itemFromIndex(const QModelIndex &index)
Returns the ProjectItem corresponding to a given QModelIndex.
Definition: ProjectItemModel.cpp:401
bool isShape() const
Returns true if an Shape is stored in the data of the item.
Definition: ProjectItem.cpp:668
Manage a stack of content handlers for reading XML files.
Definition: XmlStackedHandlerReader.h:30
QWidget * cubeToMdiWidget(Cube *cube)
Converts a cube to an MdiWidget.
Definition: Workspace.cpp:280
virtual void addItem(ProjectItem *item)
Adds an item to the view.
Definition: AbstractProjectItemView.cpp:250
The main project for ipce.
Definition: Project.h:289
bool isImageList() const
Returns true if an ImageList is stored in the data of the item.
Definition: ProjectItem.cpp:657
A single control point.
Definition: ControlPoint.h:354
QString id() const
Get a unique, identifying string associated with this shape.
Definition: Shape.cpp:459
ControlNet * controlNet()
Open and return a pointer to the ControlNet for this Control.
Definition: Control.cpp:150
QMdiArea * mdiArea()
This method returns the QMdiArea.
Definition: Workspace.cpp:295
bool isShapeList() const
Returns true if an ShapeList is stored in the data of the item.
Definition: ProjectItem.cpp:679
bool isImage() const
Returns true if an Image is stored in the data of the item.
Definition: ProjectItem.cpp:646
virtual ProjectItemModel * internalModel()
Returns the internal model of the view.
Definition: AbstractProjectItemView.cpp:108
This is an actual viewport window in qview/qnet/etc.
Definition: ViewportMdiSubWindow.h:25
Cube * cube()
Get the Cube pointer associated with this display property.
Definition: Image.cpp:287
This represents a shape in a project-based GUI interface.
Definition: Shape.h:68
void createControlPoint(double latitude, double longitude, Cube *cube, bool isGroundSource=false)
IO Handler for Isis Cubes.
Definition: Cube.h:167
virtual bool endElement(const QString &namespaceURI, const QString &localName, const QString &qName)
Definition: XmlStackedHandler.cpp:55
This represents a cube in a project-based GUI interface.
Definition: Image.h:107
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...
Definition: ProjectItemModel.cpp:290
MdiCubeViewport * viewport()
Grabs the viewport.
Definition: ViewportMdiSubWindow.cpp:45
ProjectItem * addItem(ProjectItem *sourceItem)
Adds an item and its children to the proxy model.
Definition: ProjectItemProxyModel.cpp:167
QString id() const
Get a unique, identifying string associated with this image.
Definition: Image.cpp:445
XML Handler that parses XMLs in a stack-oriented way.
Definition: XmlStackedHandler.h:118
QVector< MdiCubeViewport * > * cubeViewportList()
This method returns a Vector of MdiCubeViewports.
Definition: Workspace.cpp:238
This is free and unencumbered software released into the public domain.
Definition: CubeIoHandler.h:22
void modifyControlPoint(ControlPoint *controlPoint, QString serialNumber)
void enableControlNetTool(bool value)
A slot function that is called when directory emits a signal that an active control network is set.
Definition: CubeDnView.cpp:317
Definition: Workspace.h:78
Cube * cube() const
Definition: CubeViewport.h:338
~CubeDnView()
Destructor.
Definition: CubeDnView.cpp:332
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
Represents an item of a ProjectItemModel in Qt's model-view framework.
Definition: ProjectItem.h:134
void addItem(ProjectItem *item)
Adds an item to the view.
Definition: CubeDnView.cpp:356