19class QXmlStreamWriter;
87 void save(QXmlStreamWriter &stream,
const Project *project, FileName newProjectRoot)
const;
Q_DECLARE_METATYPE(Isis::Control *)
This is the GUI communication mechanism for cubes.
Definition ControlDisplayProperties.h:57
This represents an ISIS control net in a project-based GUI interface.
Definition Control.h:65
QString id() const
Access the unique ID associated with this Control.
Definition Control.cpp:263
ControlNet * controlNet()
Open and return a pointer to the ControlNet for this Control.
Definition Control.cpp:131
ControlDisplayProperties * displayProperties()
Access a pointer to the display properties for the control network.
Definition Control.cpp:233
void deleteFromDisk()
Delete the control net from disk.
Definition Control.cpp:315
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:172
void copyToNewProjectRoot(const Project *project, FileName newProjectRoot)
Copies the files of the given Project to the given location.
Definition Control.cpp:275
void setModified(bool modified=true)
@description Sets the modification state of this control.
Definition Control.cpp:222
ControlNet * m_controlNet
A pointer to the ControlNet object associated with this Control object.
Definition Control.h:68
bool isModified()
@description Has this control been modified?
Definition Control.cpp:210
~Control()
Destroys Control object.
Definition Control.cpp:107
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:336
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:354
void openControlNet()
Sets the ControlNet from the control net file name provided in the constructor.
Definition Control.cpp:146
QString fileName() const
Access the name of the control network file associated with this Control.
Definition Control.cpp:253
void closeControlNet()
Cleans up the ControlNet pointer.
Definition Control.cpp:195
a control network
Definition ControlNet.h:257
The main project for ipce.
Definition Project.h:287
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16