Isis 3 Programmer Reference
ViewSubWindow.cpp
1
7
/* SPDX-License-Identifier: CC0-1.0 */
8
9
#include "ViewSubWindow.h"
10
11
namespace
Isis
{
12
16
ViewSubWindow::ViewSubWindow
(
QWidget
*parent, Qt::WindowFlags flags) :
QMainWindow
(parent, flags) {
17
18
}
19
20
24
ViewSubWindow::~ViewSubWindow
() {
25
26
}
27
28
29
35
void
ViewSubWindow::closeEvent
(QCloseEvent *event) {
36
emit
closeWindow
();
37
QMainWindow::closeEvent(event);
38
}
39
}
QWidget
Isis::ViewSubWindow::closeWindow
void closeWindow()
Signal called when the window receives a close event.
Isis::ViewSubWindow::ViewSubWindow
ViewSubWindow(QWidget *parent, Qt::WindowFlags flags=0)
Constructs a ViewSubWindow object.
Definition:
ViewSubWindow.cpp:16
QMainWindow
Isis::ViewSubWindow::~ViewSubWindow
virtual ~ViewSubWindow()
Destructor.
Definition:
ViewSubWindow.cpp:24
Isis::ViewSubWindow::closeEvent
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
Isis
This is free and unencumbered software released into the public domain.
Definition:
Apollo.h:16
src
qisis
objs
ViewSubWindow
ViewSubWindow.cpp