1 #ifndef CnetEditorView_h 2 #define CnetEditorView_h 32 #include "XmlStackedHandler.h" 37 class QXmlStreamWriter;
41 class CnetEditorWidget;
46 class XmlStackedHandlerReader;
47 class ProjectItemViewMenu;
110 virtual bool startElement(
const QString &namespaceURI,
const QString &localName,
111 const QString &qName,
const QXmlAttributes &atts);
112 virtual bool endElement(
const QString &namespaceURI,
const QString &localName,
113 const QString &qName);
122 QPointer<CnetEditorWidget> m_cnetEditorWidget;
123 QPointer<Control> m_control;
131 #endif // CNETEDITORVIEW_H This represents an ISIS control net in a project-based GUI interface.
Ipce view containing the CnetEditorWidget.
The main project for ipce.
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...
File name manipulation and expansion.
QToolBar * m_permToolBar
The permanent tool bar.
AbstractProjectItemView is a base class for views of a ProjectItemModel in Qt's model-view framework...
CnetEditorWidget * cnetEditorWidget()
Returns the cnetEditorWidget.
XML Handler that parses XMLs in a stack-oriented way.
void load(XmlStackedHandlerReader *xmlReader)
This method pushes a new XmlHandler into the parser stack.
~CnetEditorView()
Destructor.
virtual bool startElement(const QString &namespaceURI, const QString &localName, const QString &qName, const QXmlAttributes &atts)
Placeholder for later serialization of CnetEditorViews.
void leaveEvent(QEvent *event)
Disables actions when cursor leaves the view.
CnetEditorView * m_cnetEditorView
The view we are working with.
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...
ProjectItemViewMenu * m_tablesMenu
View menu for storing actions.
XmlHandler(CnetEditorView *cnetEditorView)
Creates an XmlHandler for cnetEditor.
void save(QXmlStreamWriter &stream, Project *project, FileName newProjectRoot) const
This method saves the Controls object ids to the stream.
Control * control()
Returns the Control displayed in the CnetEditorWidget
Namespace for ISIS/Bullet specific routines.
CnetEditorView(Directory *directory, Control *control, FileName configFile, QWidget *parent=0)
Constructor.
Manage a stack of content handlers for reading XML files.