GLIMSView Source Code Documentation

ValidationReportDlg Class Reference

#include <ValidationReportDlg.h>

Inheritance diagram for ValidationReportDlg:

Inheritance graph
[legend]

List of all members.


Detailed Description

ValidationReportDlg is a dialog box that displays the project validation report (ValidationReport class).

Author:
Deborah Lee Soltesz
History:
2007-06-05 dls New class
What's New:
2007-06-14 ValidationReportDlg displays validation report generated by the ValidationReport class. ValidationReport collects validity information from metadata collection classes and generates an HTML formatted report.

Definition at line 30 of file ValidationReportDlg.h.


Public Slots

void show ()
 Show the report window.
void hide ()
 Hide the report window.

Public Member Functions

 ValidationReportDlg ()
 Default constructor.
 ValidationReportDlg (ValidationReport *newReport)
 Constructor.
 ~ValidationReportDlg ()
 Deconstructor.
void setReport (ValidationReport *newReport)
 Set report object.
void setReportFilename (QString newFilename)
 Set filename of report file to read from.

Protected Attributes

ValidationReportreport
 Stucture containing validation report messages.
QString filename
 Filename of validation report on disk.
QTextBrowser * reportWindow
 Window for displaying validation report.

Constructor & Destructor Documentation

ValidationReportDlg::ValidationReportDlg (  )  [inline]

Default constructor.

Definition at line 43 of file ValidationReportDlg.h.

References report, and reportWindow.

ValidationReportDlg::ValidationReportDlg ( ValidationReport newReport  ) 

Constructor.

Parameters:
ValidationReport Sets the source of the text report from validation functions

Definition at line 4 of file ValidationReportDlg.cpp.

References report, and reportWindow.

ValidationReportDlg::~ValidationReportDlg (  )  [inline]

Deconstructor.

Definition at line 59 of file ValidationReportDlg.h.


Member Function Documentation

void ValidationReportDlg::setReport ( ValidationReport newReport  )  [inline]

Set report object.

Definition at line 64 of file ValidationReportDlg.h.

References ValidationReport::getReport(), report, and reportWindow.

Here is the call graph for this function:

void ValidationReportDlg::setReportFilename ( QString  newFilename  )  [inline]

Set filename of report file to read from.

Definition at line 74 of file ValidationReportDlg.h.

References filename, and reportWindow.

void ValidationReportDlg::show (  )  [inline, slot]

Show the report window.

Definition at line 84 of file ValidationReportDlg.h.

References ValidationReport::getReport(), report, and reportWindow.

Referenced by GLIMSProject::validate().

void ValidationReportDlg::hide (  )  [inline, slot]

Hide the report window.

Definition at line 92 of file ValidationReportDlg.h.

References reportWindow.

Referenced by GLIMSProject::exportGLIMSIngest().


Member Data Documentation

Stucture containing validation report messages.

Definition at line 34 of file ValidationReportDlg.h.

Referenced by setReport(), show(), and ValidationReportDlg().

QString ValidationReportDlg::filename [protected]

Filename of validation report on disk.

Definition at line 35 of file ValidationReportDlg.h.

Referenced by setReportFilename().

QTextBrowser* ValidationReportDlg::reportWindow [protected]

Window for displaying validation report.

Definition at line 36 of file ValidationReportDlg.h.

Referenced by hide(), setReport(), setReportFilename(), show(), and ValidationReportDlg().


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

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