GLIMSView Source Code Documentation

SpreadsheetDialog Class Reference

#include <SpreadsheetDialog.h>

Inheritance diagram for SpreadsheetDialog:

Inheritance graph
[legend]

List of all members.


Detailed Description

SpreadSheetDialog is the GUI for the GLIMS to Spreadsheet converter.

This class handles user input and sends it off to the GtoSConverter for processing.

Author:
Erica Liszewski 2006-04-10
What's New:
2006-07-28 New Spreadsheet Exporter tool outputs image data as delimited text for import to spreadsheet or other data analysis application.

Definition at line 27 of file SpreadsheetDialog.h.


Public Member Functions

 SpreadsheetDialog (GLIMSProject *proj)
 GLIMSProject *proj - the project to associate with creates a new SpreadSheetDialog with the associated project.
 ~SpreadsheetDialog ()
 destructor

Protected Slots

void setSavePath ()
 opens a file browser, and sets the save path.
void doConvert ()
 starts the conversion, and closes the dialog when complete.

Protected Member Functions

void buildDialog ()
 builds the dialog box, connect all buttons to actions

Protected Attributes

QLabel * label
 says File
QPushButtongo
 button to do conversion
QPushButtonbrowse
 button for browsing where to save
QPushButtoncancel
 button to cancel
QComboBox * delim
 selection of Delimiter
GLIMSProjectmProj
 the project
GtoSConvertergtos
 the Converter
QLineEdit * filePath
 holds the path

Constructor & Destructor Documentation

SpreadsheetDialog::SpreadsheetDialog ( GLIMSProject proj  ) 

GLIMSProject *proj - the project to associate with creates a new SpreadSheetDialog with the associated project.

Definition at line 6 of file SpreadsheetDialog.cpp.

References buildDialog(), gtos, and mProj.

Here is the call graph for this function:

SpreadsheetDialog::~SpreadsheetDialog (  ) 

destructor

Definition at line 13 of file SpreadsheetDialog.cpp.

References gtos.


Member Function Documentation

void SpreadsheetDialog::buildDialog (  )  [protected]

builds the dialog box, connect all buttons to actions

Definition at line 17 of file SpreadsheetDialog.cpp.

References browse, cancel, delim, doConvert(), filePath, go, and setSavePath().

Referenced by SpreadsheetDialog().

void SpreadsheetDialog::setSavePath (  )  [protected, slot]

opens a file browser, and sets the save path.

connected to the browse button.

Definition at line 71 of file SpreadsheetDialog.cpp.

References filePath.

Referenced by buildDialog().

void SpreadsheetDialog::doConvert (  )  [protected, slot]

starts the conversion, and closes the dialog when complete.

connected to the go button

Definition at line 79 of file SpreadsheetDialog.cpp.

References GtoSConverter::convert(), delim, filePath, and gtos.

Referenced by buildDialog().


Member Data Documentation

QLabel* SpreadsheetDialog::label [protected]

says File

Definition at line 32 of file SpreadsheetDialog.h.

button to do conversion

Definition at line 33 of file SpreadsheetDialog.h.

Referenced by buildDialog().

button for browsing where to save

Definition at line 34 of file SpreadsheetDialog.h.

Referenced by buildDialog().

button to cancel

Definition at line 35 of file SpreadsheetDialog.h.

Referenced by buildDialog().

QComboBox* SpreadsheetDialog::delim [protected]

selection of Delimiter

Definition at line 36 of file SpreadsheetDialog.h.

Referenced by buildDialog(), and doConvert().

the project

Definition at line 37 of file SpreadsheetDialog.h.

Referenced by SpreadsheetDialog().

the Converter

Definition at line 38 of file SpreadsheetDialog.h.

Referenced by doConvert(), SpreadsheetDialog(), and ~SpreadsheetDialog().

QLineEdit* SpreadsheetDialog::filePath [protected]

holds the path

Definition at line 40 of file SpreadsheetDialog.h.

Referenced by buildDialog(), doConvert(), and setSavePath().


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

Home | Search | Disclaimers & Privacy | Contact Us
GLIMSView Maintainer: dsoltesz@usgs.gov