Isis Developer Reference
CnetEditorView.h
Go to the documentation of this file.
1#ifndef CnetEditorView_h
2#define CnetEditorView_h
3
10/* SPDX-License-Identifier: CC0-1.0 */
11
12#include <QList>
13#include <QMap>
14#include <QPointer>
15#include <QSize>
16
18#include "FileName.h"
19
20class QAction;
21class QToolBar;
22class QWidgetAction;
23class QXmlStreamWriter;
24
25namespace Isis {
26 class Control;
27 class CnetEditorWidget;
28 class Directory;
29 class FileName;
30 class Project;
31 class ToolPad;
32 class ProjectItemViewMenu;
33
64
65 Q_OBJECT
66
67 public:
68 CnetEditorView(Directory *directory, Control *control, FileName configFile,
69 QWidget *parent = 0);
71
74
75 void save(QXmlStreamWriter &stream, Project *project, FileName newProjectRoot) const;
76
77 private:
78 void createToolBars();
79 void createMenus();
80 void leaveEvent(QEvent *event);
81
82 private:
83 QPointer<CnetEditorWidget> m_cnetEditorWidget;
84 QPointer<Control> m_control;
85
86 QToolBar *m_permToolBar;
87 ProjectItemViewMenu *m_tablesMenu;
88
89 };
90}
91
92#endif // CNETEDITORVIEW_H
AbstractProjectItemView is a base class for views of a ProjectItemModel in Qt's model-view framework.
Definition AbstractProjectItemView.h:79
Ipce view containing the CnetEditorWidget.
Definition CnetEditorView.h:63
CnetEditorWidget * cnetEditorWidget()
Returns the cnetEditorWidget.
Definition CnetEditorView.cpp:160
CnetEditorView(Directory *directory, Control *control, FileName configFile, QWidget *parent=0)
Constructor.
Definition CnetEditorView.cpp:37
~CnetEditorView()
Destructor.
Definition CnetEditorView.cpp:80
void save(QXmlStreamWriter &stream, Project *project, FileName newProjectRoot) const
This method saves the Controls object ids to the stream.
Definition CnetEditorView.cpp:182
Control * control()
@description Returns the Control displayed in the CnetEditorWidget
Definition CnetEditorView.cpp:170
This widget provides full editing, filtering and viewing capabilities for the raw data in a control n...
Definition CnetEditorWidget.h:116
This represents an ISIS control net in a project-based GUI interface.
Definition Control.h:65
Definition Directory.h:271
File name manipulation and expansion.
Definition FileName.h:100
The main project for ipce.
Definition Project.h:287
QMenu subclass that overrides the closeEvent.
Definition ProjectItemViewMenu.h:26
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16