Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

Isis Developer Reference
Workspace.h
Go to the documentation of this file.
1#ifndef Workspace_h
2#define Workspace_h
3
9
10/* SPDX-License-Identifier: CC0-1.0 */
11
12
13
14#include <QMdiArea>
15#include <QPointer>
16
17namespace Isis {
18 class Cube;
19 class Image;
20 class ImageList;
21 class MdiCubeViewport;
22 class ToolList;
23
76 class Workspace : public QWidget {
77 Q_OBJECT
78
79 public:
87 Workspace(bool selfContained, QWidget *parent = 0);
88
94 Workspace(const Workspace &other);
95
100 virtual ~Workspace();
101
108
116
122 void addImages(ImageList *images);
123
129 bool confirmClose();
130
138
144 QMdiArea *mdiArea();
145
146 signals:
151
157
158 public slots:
159
165 void addCubeViewport(QString cubename);
166
172 void addCubeViewportFromList(QString cubelist);
173
174
181
187 void addBrowseView(QString cube);
188
189 protected slots:
190
197
198 private:
200 QPointer<QMdiArea> m_mdi;
202 QVector< MdiCubeViewport * > * m_cubeViewportList;
204 ToolList *m_tools;
205 };
206};
207
208#endif
IO Handler for Isis Cubes.
Definition Cube.h:168
This represents a cube in a project-based GUI interface.
Definition Image.h:105
Internalizes a list of images and allows for operations on the entire list.
Definition ImageList.h:52
Cube display widget for certain Isis MDI applications.
Definition MdiCubeViewport.h:39
Allows tools to share data between each other.
Definition ToolList.h:32
Workspace & operator=(Workspace other)
Is equal to comparsion.
Definition Workspace.cpp:250
virtual ~Workspace()
Deconstructor.
Definition Workspace.cpp:208
QMdiArea * mdiArea()
This method returns the QMdiArea.
Definition Workspace.cpp:295
void cubeViewportActivated(MdiCubeViewport *)
Signal triggered when a Cube is activated in the Workspace.
void addCubeViewport(QString cubename)
Method adds the name of a cube into Workspace as a CubeViewport.
Definition Workspace.cpp:339
QWidget * cubeToMdiWidget(Cube *cube)
Converts a cube to an MdiWidget.
Definition Workspace.cpp:280
bool confirmClose()
Confirms that the user wishes toc lose the Workspace.
Definition Workspace.cpp:267
void cubeViewportAdded(MdiCubeViewport *)
Signal triggered when a Cube is added to the Workspace.
void addCubeViewportFromList(QString cubelist)
Method adds cubes into Workspace as a CubeViewport from a list of cubes.
Definition Workspace.cpp:391
void addBrowseView(QString cube)
Method is called to add a Cube from BrowseView.
Definition Workspace.cpp:490
Workspace(bool selfContained, QWidget *parent=0)
Constructor for Workspace.
Definition Workspace.cpp:58
void addImages(ImageList *images)
Adds a list of Images to a viewport.
Definition Workspace.cpp:260
QVector< MdiCubeViewport * > * cubeViewportList()
This method returns a Vector of MdiCubeViewports.
Definition Workspace.cpp:238
void activateViewport(QMdiSubWindow *w)
This method activates the Viewport.
Definition Workspace.cpp:222
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16