20class QXmlStreamWriter;
23 class ControlDisplayProperties;
110 virtual bool startElement(
const QString &namespaceURI,
const QString &localName,
111 const QString &qName,
const QXmlAttributes &atts);
114 Q_DISABLE_COPY(XmlHandler);
118 FileName m_xmlHandlerCnetFolderName;
Q_DECLARE_METATYPE(Isis::Control *)
This is the GUI communication mechanism for cubes.
Definition ControlDisplayProperties.h:59
This represents an ISIS control net in a project-based GUI interface.
Definition Control.h:66
QString id() const
Access the unique ID associated with this Control.
Definition Control.cpp:282
ControlNet * controlNet()
Open and return a pointer to the ControlNet for this Control.
Definition Control.cpp:150
ControlDisplayProperties * displayProperties()
Access a pointer to the display properties for the control network.
Definition Control.cpp:252
void deleteFromDisk()
Delete the control net from disk.
Definition Control.cpp:334
Control(QString cnetFileName, QObject *parent=0)
Create a Control from control net located on disk.
Definition Control.cpp:35
bool write()
@description Write control net to disk.
Definition Control.cpp:191
void copyToNewProjectRoot(const Project *project, FileName newProjectRoot)
Copies the files of the given Project to the given location.
Definition Control.cpp:294
void setModified(bool modified=true)
@description Sets the modification state of this control.
Definition Control.cpp:241
ControlNet * m_controlNet
A pointer to the ControlNet object associated with this Control object.
Definition Control.h:69
bool isModified()
@description Has this control been modified?
Definition Control.cpp:229
~Control()
Destroys Control object.
Definition Control.cpp:126
void updateFileName(Project *)
Change the on-disk file name for this control to be where the control ought to be in the given projec...
Definition Control.cpp:355
void save(QXmlStreamWriter &stream, const Project *project, FileName newProjectRoot) const
Method to write this Control object's member data to an XML stream.
Definition Control.cpp:373
void openControlNet()
Sets the ControlNet from the control net file name provided in the constructor.
Definition Control.cpp:165
QString fileName() const
Access the name of the control network file associated with this Control.
Definition Control.cpp:272
void closeControlNet()
Cleans up the ControlNet pointer.
Definition Control.cpp:214
a control network
Definition ControlNet.h:258
File name manipulation and expansion.
Definition FileName.h:100
The main project for ipce.
Definition Project.h:289
XML Handler that parses XMLs in a stack-oriented way.
Definition XmlStackedHandler.h:118
Manage a stack of content handlers for reading XML files.
Definition XmlStackedHandlerReader.h:30
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16