GLIMSView Source Code Documentation

SessionDlg Class Reference

#include <sessiondlg.h>

Inheritance diagram for SessionDlg:

Inheritance graph
[legend]

List of all members.


Detailed Description

A user interface dialog that allows a user to modify the Session information that is stored by GLIMSDataset.

History:
2005-08-04 deborah lee soltesz added RC ID and Analysis Time to dialog
History:
2005-08-20 deborah lee soltesz Added "ID" to RC ID label, limited RC ID to 3 chars, and changed description fields to be multi-line, wrapping, scrolling boxes with plenty of room to add content
What's New:
2005-08-20 Session information is correctly saved. Description fields now multi-line boxes, making it easier to write long descriptions. Description fields also now unlimited length (used to be restricted to 200 characters).
History:
2005-08-22 deborah lee soltesz Changed QMultiLineEdit to connect signal textChanged (w/o parameter) because there is no param passed along with that signal (fails in Linux, but not Windows?). Fixed filling RC ID field in GUI.

Definition at line 50 of file sessiondlg.h.


Public Slots

void loadData ()
 Fill dialog box with info from Session.
void dschanged (const QString &)
 data source changed
void fnchanged (const QString &)
 first name changed
void lnchanged (const QString &)
 last name changed
void pdchanged (const QString &)
 Processing description changed.
void d3changed (const QString &)
 3D description changed
void pdchanged ()
 Processing description changed.
void d3changed ()
 3D description changed
void atchanged (const QString &)
 Change Analysis Time.
void rcchanged (const QString &)
 Change RC ID.

Public Member Functions

 SessionDlg (Session &)
 ~SessionDlg ()

Protected Attributes

QLineEdit * mtxtDataSource
QLineEdit * mtxtFName
QLineEdit * mtxtLName
QMultiLineEdit * mtxtProcDesc
QMultiLineEdit * mtxt3dDesc
QLineEdit * mtxtRCID
QLineEdit * mtxtAnalysisTime
SessionmSession

Constructor & Destructor Documentation

SessionDlg::SessionDlg ( Session ses  ) 

SessionDlg::~SessionDlg (  ) 

Definition at line 109 of file sessiondlg.cpp.


Member Function Documentation

void SessionDlg::loadData (  )  [slot]

Fill dialog box with info from Session.

History:
2005-08-22 dls added filling in RC ID
History:
2006-01-21 dls added filling in analysis time

Definition at line 113 of file sessiondlg.cpp.

References Session::m3d_desc, Session::manaly_time, Session::manlst_givn, Session::manlst_surn, Session::mDataSrc, Session::mProcDesc, Session::mRC_ID, mSession, mtxt3dDesc, mtxtAnalysisTime, mtxtDataSource, mtxtFName, mtxtLName, mtxtProcDesc, and mtxtRCID.

Referenced by ConfigDlg::resetAll(), and SessionDlg().

void SessionDlg::dschanged ( const QString &  newtxt  )  [slot]

data source changed

Definition at line 127 of file sessiondlg.cpp.

References Session::mDataSrc, and mSession.

Referenced by SessionDlg().

void SessionDlg::fnchanged ( const QString &  newtxt  )  [slot]

first name changed

Definition at line 131 of file sessiondlg.cpp.

References Session::manlst_givn, and mSession.

Referenced by SessionDlg().

void SessionDlg::lnchanged ( const QString &  newtxt  )  [slot]

last name changed

Definition at line 135 of file sessiondlg.cpp.

References Session::manlst_surn, and mSession.

Referenced by SessionDlg().

void SessionDlg::pdchanged ( const QString &  newtxt  )  [slot]

Processing description changed.

Definition at line 151 of file sessiondlg.cpp.

References Session::mProcDesc, and mSession.

void SessionDlg::d3changed ( const QString &  newtxt  )  [slot]

3D description changed

Definition at line 155 of file sessiondlg.cpp.

References Session::m3d_desc, and mSession.

void SessionDlg::pdchanged (  )  [slot]

Processing description changed.

Author:
2005-08-22 Deborah Lee Soltesz - added to handle textChanged() signal, which does not pass a parameter

Definition at line 141 of file sessiondlg.cpp.

References Session::mProcDesc, mSession, and mtxtProcDesc.

Referenced by SessionDlg().

void SessionDlg::d3changed (  )  [slot]

3D description changed

Author:
2005-08-22 Deborah Lee Soltesz - added to handle textChanged() signal, which does not pass a parameter

Definition at line 145 of file sessiondlg.cpp.

References Session::m3d_desc, mSession, and mtxt3dDesc.

Referenced by SessionDlg().

void SessionDlg::atchanged ( const QString &  newtxt  )  [slot]

Change Analysis Time.

History:
2005-08-04 deborah lee soltesz added Analysis Time to dialog
Todo:
2005-08-04 deborah lee soltesz Analysis Time not quite legal - needs to be read-only because it's the timestamp of the last export

Definition at line 161 of file sessiondlg.cpp.

References Session::manaly_time, and mSession.

Referenced by SessionDlg().

void SessionDlg::rcchanged ( const QString &  newtxt  )  [slot]

Change RC ID.

History:
2005-08-04 deborah lee soltesz added RC ID to dialog
Todo:
2005-08-04 deborah lee soltesz RC ID not quite right - needs to be a drop-down box read from a "valids" file

Definition at line 165 of file sessiondlg.cpp.

References Session::mRC_ID, and mSession.

Referenced by SessionDlg().


Member Data Documentation

QLineEdit* SessionDlg::mtxtDataSource [protected]

Definition at line 53 of file sessiondlg.h.

Referenced by loadData(), and SessionDlg().

QLineEdit* SessionDlg::mtxtFName [protected]

Definition at line 54 of file sessiondlg.h.

Referenced by loadData(), and SessionDlg().

QLineEdit* SessionDlg::mtxtLName [protected]

Definition at line 55 of file sessiondlg.h.

Referenced by loadData(), and SessionDlg().

QMultiLineEdit* SessionDlg::mtxtProcDesc [protected]

Definition at line 57 of file sessiondlg.h.

Referenced by loadData(), pdchanged(), and SessionDlg().

QMultiLineEdit* SessionDlg::mtxt3dDesc [protected]

Definition at line 58 of file sessiondlg.h.

Referenced by d3changed(), loadData(), and SessionDlg().

QLineEdit* SessionDlg::mtxtRCID [protected]

Definition at line 60 of file sessiondlg.h.

Referenced by loadData(), and SessionDlg().

QLineEdit* SessionDlg::mtxtAnalysisTime [protected]

Definition at line 61 of file sessiondlg.h.

Referenced by loadData(), and SessionDlg().


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

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