Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes

DGVMain Class Reference

This class represents the DGV Main Window object. More...

#include <DGVMain.h>

List of all members.

Public Member Functions

 DGVMain (QWidget *parent=0)
 The standard constructor.
 ~DGVMain ()
 The standard destructor.
void addWindowToWorkspace (QWidget *win)
 Adds widget into workspace.
void addImage (DGVImage *img)
 Adds an image widget and links its results and tables.
void addTable (DGVTable *tbl)
 Adds a table widget and links its results and tables.
void addPlot (DGVPlot *plot)
 Adds a plot widget and links its results and tables.

Protected Slots

void displayImage (DGVImage *img)
 Handles the displaying of result as they are produced.
void displayTable (DGVTable *newTable)
 Handles the displaying of tables as they are produced.
void displayPlot (DGVPlot *newPlot)
 Handles the displaying of plots as they are produced.
void open ()
 Opens image or other files for analysis and display.
void save ()
 Opens image or other files for analysis and display.
void newTable ()
 Creates table for analysis and display.
void newImage ()
 Creates image for analysis and display.
void cut ()
void copy ()
void paste ()

Protected Member Functions

void createMenu ()
void createConnections ()

Protected Attributes

QWorkspace * workspace
 Pointer to the Workspace environment for the user.
QSignalMapper * windowMapper
 Used to keep events in workspace in order.
QAction * actionOpen
 Actions.
QAction * actionSave
QAction * actionExit
QAction * actionNewTable
QAction * actionNewImage
QAction * actionCascade
QAction * actionTile
QMenuBar * menuBar
 Menus.
QMenu * menuFile
QMenu * menuNew
QMenu * menuWindows

Detailed Description

This class represents the DGV Main Window object.

The class represents the DGV Main Window object using the Qt Library. It contains a Workspace environment for the user and subsequent operations critical for the User Interface (UI) of the Discrete Geometry Viewer (DGV) program.

Definition at line 36 of file DGVMain.h.


Constructor & Destructor Documentation

DGVMain::DGVMain ( QWidget *  parent = 0  ) 

The standard constructor.

Setup the UI according to the details in the Qt Designer generated header

Establish a workspace for user

Setup Connections

Definition at line 26 of file DGVMain.cpp.

DGVMain::~DGVMain (  ) 

The standard destructor.

Definition at line 40 of file DGVMain.cpp.


Member Function Documentation

void DGVMain::addImage ( DGVImage img  ) 

Adds an image widget and links its results and tables.

Definition at line 45 of file DGVMain.cpp.

void DGVMain::addPlot ( DGVPlot plot  ) 

Adds a plot widget and links its results and tables.

Definition at line 57 of file DGVMain.cpp.

void DGVMain::addTable ( DGVTable tbl  ) 

Adds a table widget and links its results and tables.

Definition at line 51 of file DGVMain.cpp.

DGVMain::addWindowToWorkspace ( QWidget *  win  )  [inline]

Adds widget into workspace.

Definition at line 56 of file DGVMain.h.

void DGVMain::copy (  )  [protected, slot]

Definition at line 183 of file DGVMain.cpp.

void DGVMain::createConnections (  )  [protected]

Definition at line 234 of file DGVMain.cpp.

void DGVMain::createMenu (  )  [protected]

Setup Exit Action and File Menu

File

New

Windows

Definition at line 191 of file DGVMain.cpp.

void DGVMain::cut (  )  [protected, slot]

Definition at line 179 of file DGVMain.cpp.

void DGVMain::displayImage ( DGVImage img  )  [protected, slot]

Handles the displaying of result as they are produced.

Set the image into the viewer

Definition at line 64 of file DGVMain.cpp.

void DGVMain::displayPlot ( DGVPlot newPlot  )  [protected, slot]

Handles the displaying of plots as they are produced.

Set the image into the viewer

Definition at line 81 of file DGVMain.cpp.

void DGVMain::displayTable ( DGVTable newTable  )  [protected, slot]

Handles the displaying of tables as they are produced.

Set the image into the viewer

Definition at line 72 of file DGVMain.cpp.

void DGVMain::newImage (  )  [protected, slot]

Creates image for analysis and display.

Definition at line 159 of file DGVMain.cpp.

void DGVMain::newTable (  )  [protected, slot]

Creates table for analysis and display.

Definition at line 137 of file DGVMain.cpp.

void DGVMain::open (  )  [protected, slot]

Opens image or other files for analysis and display.

Set the image into the viewer

Definition at line 89 of file DGVMain.cpp.

void DGVMain::paste (  )  [protected, slot]

Definition at line 187 of file DGVMain.cpp.

void DGVMain::save (  )  [protected, slot]

Opens image or other files for analysis and display.

Definition at line 133 of file DGVMain.cpp.


Member Data Documentation

QAction* DGVMain::actionCascade [protected]

Definition at line 129 of file DGVMain.h.

QAction* DGVMain::actionExit [protected]

Definition at line 124 of file DGVMain.h.

QAction* DGVMain::actionNewImage [protected]

Definition at line 127 of file DGVMain.h.

QAction* DGVMain::actionNewTable [protected]

Definition at line 126 of file DGVMain.h.

QAction* DGVMain::actionOpen [protected]

Actions.

Definition at line 122 of file DGVMain.h.

QAction* DGVMain::actionSave [protected]

Definition at line 123 of file DGVMain.h.

QAction* DGVMain::actionTile [protected]

Definition at line 130 of file DGVMain.h.

QMenuBar* DGVMain::menuBar [protected]

Menus.

Definition at line 133 of file DGVMain.h.

QMenu* DGVMain::menuFile [protected]

Definition at line 134 of file DGVMain.h.

QMenu* DGVMain::menuNew [protected]

Definition at line 135 of file DGVMain.h.

QMenu* DGVMain::menuWindows [protected]

Definition at line 136 of file DGVMain.h.

QSignalMapper* DGVMain::windowMapper [protected]

Used to keep events in workspace in order.

Definition at line 118 of file DGVMain.h.

QWorkspace* DGVMain::workspace [protected]

Pointer to the Workspace environment for the user.

Definition at line 117 of file DGVMain.h.


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