Isis 3 Programmer Reference
ViewSubWindow.cpp
1
7/* SPDX-License-Identifier: CC0-1.0 */
8
9#include "ViewSubWindow.h"
10
11namespace Isis {
12
16 ViewSubWindow::ViewSubWindow(QWidget *parent, Qt::WindowFlags flags) : QMainWindow(parent, flags) {
17
18 }
19
20
27
28
29
35 void ViewSubWindow::closeEvent(QCloseEvent *event) {
36 emit closeWindow();
37 QMainWindow::closeEvent(event);
38 }
39}
virtual void closeEvent(QCloseEvent *event)
This emits a signal on close so that we can handle removing the window from the.
ViewSubWindow(QWidget *parent, Qt::WindowFlags flags=0)
Constructs a ViewSubWindow object.
virtual ~ViewSubWindow()
Destructor.
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