|
Isis Developer Reference
|
Go to the documentation of this file. 1 #ifndef CnetEditorView_h
2 #define CnetEditorView_h
24 class QXmlStreamWriter;
28 class CnetEditorWidget;
33 class XmlStackedHandlerReader;
34 class ProjectItemViewMenu;
81 void createToolBars();
83 void leaveEvent(QEvent *event);
97 virtual bool startElement(
const QString &namespaceURI,
const QString &localName,
98 const QString &qName,
const QXmlAttributes &atts);
99 virtual bool endElement(
const QString &namespaceURI,
const QString &localName,
100 const QString &qName);
103 Q_DISABLE_COPY(XmlHandler);
109 QPointer<CnetEditorWidget> m_cnetEditorWidget;
110 QPointer<Control> m_control;
118 #endif // CNETEDITORVIEW_H
Definition: Directory.h:271
AbstractProjectItemView is a base class for views of a ProjectItemModel in Qt's model-view framework.
Definition: AbstractProjectItemView.h:79
File name manipulation and expansion.
Definition: FileName.h:100
virtual void pushContentHandler(XmlStackedHandler *newHandler)
Push a contentHandler and maybe continue parsing...
Definition: XmlStackedHandlerReader.cpp:55
virtual bool startElement(const QString &namespaceURI, const QString &localName, const QString &qName, const QXmlAttributes &atts)
Definition: XmlStackedHandler.cpp:44
CnetEditorWidget * cnetEditorWidget()
Returns the cnetEditorWidget.
Definition: CnetEditorView.cpp:163
This represents an ISIS control net in a project-based GUI interface.
Definition: Control.h:66
Manage a stack of content handlers for reading XML files.
Definition: XmlStackedHandlerReader.h:30
The main project for ipce.
Definition: Project.h:289
QString expanded() const
Returns a QString of the full file name including the file path, excluding the attributes.
Definition: FileName.cpp:196
void load(XmlStackedHandlerReader *xmlReader)
This method pushes a new XmlHandler into the parser stack.
Definition: CnetEditorView.cpp:183
~CnetEditorView()
Destructor.
Definition: CnetEditorView.cpp:83
virtual bool endElement(const QString &namespaceURI, const QString &localName, const QString &qName)
Definition: XmlStackedHandler.cpp:55
Control * control()
@description Returns the Control displayed in the CnetEditorWidget
Definition: CnetEditorView.cpp:173
Ipce view containing the CnetEditorWidget.
Definition: CnetEditorView.h:65
void save(QXmlStreamWriter &stream, Project *project, FileName newProjectRoot) const
This method saves the Controls object ids to the stream.
Definition: CnetEditorView.cpp:195
XML Handler that parses XMLs in a stack-oriented way.
Definition: XmlStackedHandler.h:118
virtual void disableActions()
Disables toolbars and toolpad actions.
Definition: AbstractProjectItemView.cpp:196
This is free and unencumbered software released into the public domain.
Definition: CubeIoHandler.h:22
CnetEditorView(Directory *directory, Control *control, FileName configFile, QWidget *parent=0)
Constructor.
Definition: CnetEditorView.cpp:40
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16