Isis Developer Reference
ViewSubWindow.h
Go to the documentation of this file.
1#ifndef ViewSubWindow_h
2#define ViewSubWindow_h
3
10/* SPDX-License-Identifier: CC0-1.0 */
11
12#include <QMainWindow>
13
14namespace Isis {
15
29 class ViewSubWindow : public QMainWindow {
30 Q_OBJECT
31
32 signals:
33 void closeWindow();
34
35 public:
36 ViewSubWindow(QWidget *parent, Qt::WindowFlags flags = 0);
37 virtual ~ViewSubWindow();
38
39 protected:
40 virtual void closeEvent(QCloseEvent *event);
41 };
42};
43
44#endif
This class exists to contain detached views from ipce.
Definition ViewSubWindow.h:29
virtual void closeEvent(QCloseEvent *event)
This emits a signal on close so that we can handle removing the window from the.
Definition ViewSubWindow.cpp:35
ViewSubWindow(QWidget *parent, Qt::WindowFlags flags=0)
Constructs a ViewSubWindow object.
Definition ViewSubWindow.cpp:16
virtual ~ViewSubWindow()
Destructor.
Definition ViewSubWindow.cpp:24
void closeWindow()
Signal called when the window receives a close event.
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16