This class represents the DGV Main Window object. More...
#include <DGVMain.h>
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 |
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.
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.
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] |
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] |
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.
QAction* DGVMain::actionCascade [protected] |
QAction* DGVMain::actionExit [protected] |
QAction* DGVMain::actionNewImage [protected] |
QAction* DGVMain::actionNewTable [protected] |
QAction* DGVMain::actionOpen [protected] |
QAction* DGVMain::actionSave [protected] |
QAction* DGVMain::actionTile [protected] |
QMenuBar* DGVMain::menuBar [protected] |
QMenu* DGVMain::menuFile [protected] |
QMenu* DGVMain::menuNew [protected] |
QMenu* DGVMain::menuWindows [protected] |
QSignalMapper* DGVMain::windowMapper [protected] |
QWorkspace* DGVMain::workspace [protected] |