Isis Developer Reference
Isis::ViewportMdiSubWindow Class Reference

This is an actual viewport window in qview/qnet/etc. More...

#include <ViewportMdiSubWindow.h>

Inheritance diagram for Isis::ViewportMdiSubWindow:
Inheritance graph
Collaboration diagram for Isis::ViewportMdiSubWindow:
Collaboration graph

Signals

void closeViewport (CubeViewport *vp)
 This method closes the viewport. More...
 

Public Member Functions

 ViewportMdiSubWindow (Cube *cubeToView, QWidget *parent=NULL)
 Constrctor for the ViewportMdiSubWindow. More...
 
 ~ViewportMdiSubWindow ()
 Deconstructor for ViewportMdiSubWindow. More...
 
MdiCubeViewportviewport ()
 Grabs the viewport. More...
 

Protected Member Functions

virtual void closeEvent (QCloseEvent *e)
 This method is called as the closeEvent. More...
 

Detailed Description

This is an actual viewport window in qview/qnet/etc.

Author
2012-05-29 Steven Lambright

Constructor & Destructor Documentation

◆ ViewportMdiSubWindow()

Isis::ViewportMdiSubWindow::ViewportMdiSubWindow ( Cube cubeToView,
QWidget parent = NULL 
)

Constrctor for the ViewportMdiSubWindow.

Parameters
cubeToViewThe cube to open
parentThe parent container

References closeViewport().

◆ ~ViewportMdiSubWindow()

Isis::ViewportMdiSubWindow::~ViewportMdiSubWindow ( )

Deconstructor for ViewportMdiSubWindow.

Member Function Documentation

◆ closeEvent()

void Isis::ViewportMdiSubWindow::closeEvent ( QCloseEvent *  e)
protectedvirtual

This method is called as the closeEvent.

Parameters
eThe closeEvent

References closeViewport().

◆ closeViewport

void Isis::ViewportMdiSubWindow::closeViewport ( CubeViewport vp)
signal

This method closes the viewport.

Parameters
vpThe viewport to close.

Referenced by closeEvent(), and ViewportMdiSubWindow().

◆ viewport()

MdiCubeViewport * Isis::ViewportMdiSubWindow::viewport ( )

Grabs the viewport.

Returns
the viewport to return

Referenced by Isis::Workspace::addCubeViewport().


The documentation for this class was generated from the following files: