File failed to load: https://isis.astrogeology.usgs.gov/6.0.0/Object/assets/jax/output/NativeMML/config.js
 |
Isis 3 Programmer Reference
|
1 #ifndef CnetEditorView_h
2 #define CnetEditorView_h
17 #include "AbstractProjectItemView.h"
19 #include "XmlStackedHandler.h"
24 class QXmlStreamWriter;
28 class CnetEditorWidget;
33 class XmlStackedHandlerReader;
34 class ProjectItemViewMenu;
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);
109 QPointer<CnetEditorWidget> m_cnetEditorWidget;
110 QPointer<Control> m_control;
118 #endif // CNETEDITORVIEW_H
void createMenus()
Uses the actions created by CnetEditorWidget, creates the tables menu, and puts the actions into the ...
void createToolBars()
Uses and adds the actions created by CnetEditorWidget to the view's toolbars Right now,...
AbstractProjectItemView is a base class for views of a ProjectItemModel in Qt's model-view framework.
CnetEditorView * m_cnetEditorView
The view we are working with.
virtual bool startElement(const QString &namespaceURI, const QString &localName, const QString &qName, const QXmlAttributes &atts)
Placeholder for later serialization of CnetEditorViews.
File name manipulation and expansion.
CnetEditorWidget * cnetEditorWidget()
Returns the cnetEditorWidget.
This represents an ISIS control net in a project-based GUI interface.
Manage a stack of content handlers for reading XML files.
The main project for ipce.
QToolBar * m_permToolBar
The permanent tool bar.
void load(XmlStackedHandlerReader *xmlReader)
This method pushes a new XmlHandler into the parser stack.
ProjectItemViewMenu * m_tablesMenu
View menu for storing actions.
~CnetEditorView()
Destructor.
Control * control()
@description Returns the Control displayed in the CnetEditorWidget
Ipce view containing the CnetEditorWidget.
void save(QXmlStreamWriter &stream, Project *project, FileName newProjectRoot) const
This method saves the Controls object ids to the stream.
void leaveEvent(QEvent *event)
Disables actions when cursor leaves the view.
XML Handler that parses XMLs in a stack-oriented way.
virtual bool endElement(const QString &namespaceURI, const QString &localName, const QString &qName)
This method calls XmlStackedHandler's endElement() and dereferences pointers according to the value o...
CnetEditorView(Directory *directory, Control *control, FileName configFile, QWidget *parent=0)
Constructor.
This is free and unencumbered software released into the public domain.
XmlHandler(CnetEditorView *cnetEditorView)
Creates an XmlHandler for cnetEditor.