DataSelectorWindow Class Reference

#include <DataSelector.h>

Inheritance diagram for DataSelectorWindow:

QguWindow

List of all members.

Public Slots

void save ()
 Method saves the content of the window to a local file. Last used save file name is used if it exists, or default.
void saveAs ()
 Method saves the content of the working list within a local file using the filename as provided by the user.
void saveSession (QString)
 Method that saves the content of this window when saving the current QSAS session.
void saveAsXML ()
void restoreXML (bool replace=true)
void open_database ()
void close_database ()
void reload ()
void launch_QSAS_Help ()
void launch_DS_Help ()
void create_database ()

Public Member Functions

 DataSelectorWindow (QWidget *parent=0, const char *name=0)
 ~DataSelectorWindow ()
virtual void save (Vostream &)
 Pure virtual fuction to save the contents of this window (session/working list). Overridden in sub-classes.
virtual void restore (Vistream &v_is, bool replace=true)
void read_map_entries (mapList &map_listing, VBistream &b_is)
bool create_db_entries (const char *target_dir, const char *db_dir, vector< string > &db_entry_list)
void getFileMapEntries (string &fileName, variableList &varList)
string update_map_file (const char *existingMapName, const char *dirName, const char *db_dir)
bool write_map_contents (vector< string > &file_list, mapList &map_listing, const char *mapName)
string write_map_file (const char *target_dir, const char *db_dir)
bool file_exists (const char *pathName, const char *fileName)
string altMapName (const char *target_dir)

Public Attributes

DataSelector_data_selector
QMenu * database_menu


Constructor & Destructor Documentation

DataSelectorWindow::DataSelectorWindow ( QWidget *  parent = 0,
const char *  name = 0 
)

DataSelectorWindow::~DataSelectorWindow (  )  [inline]


Member Function Documentation

string DataSelectorWindow::altMapName ( const char *  target_dir  ) 

void DataSelectorWindow::close_database (  )  [slot]

void DataSelectorWindow::create_database (  )  [slot]

bool DataSelectorWindow::create_db_entries ( const char *  target_dir,
const char *  db_dir,
vector< string > &  db_entry_list 
)

bool DataSelectorWindow::file_exists ( const char *  pathName,
const char *  fileName 
)

void DataSelectorWindow::getFileMapEntries ( string &  fileName,
variableList varList 
)

void DataSelectorWindow::launch_DS_Help (  )  [slot]

void DataSelectorWindow::launch_QSAS_Help (  )  [slot]

void DataSelectorWindow::open_database (  )  [slot]

void DataSelectorWindow::read_map_entries ( mapList map_listing,
VBistream b_is 
)

void DataSelectorWindow::reload (  )  [inline, slot]

void DataSelectorWindow::restore ( Vistream v_is,
bool  replace = true 
) [virtual]

Implements QguWindow.

void DataSelectorWindow::restoreXML ( bool  replace = true  )  [slot]

void DataSelectorWindow::save (  )  [virtual, slot]

Method saves the content of the window to a local file. Last used save file name is used if it exists, or default.

Parameters:
None 
Exceptions:
None 
Returns:
None

Reimplemented from QguWindow.

void DataSelectorWindow::save ( Vostream  )  [virtual]

Pure virtual fuction to save the contents of this window (session/working list). Overridden in sub-classes.

Parameters:
Vostream& 
Exceptions:
None 
Returns:
None

Implements QguWindow.

void DataSelectorWindow::saveAs (  )  [virtual, slot]

Method saves the content of the working list within a local file using the filename as provided by the user.

Parameters:
None 
Exceptions:
None 
Returns:
None

Reimplemented from QguWindow.

void DataSelectorWindow::saveAsXML (  )  [slot]

void DataSelectorWindow::saveSession ( QString  folder  )  [virtual, slot]

Method that saves the content of this window when saving the current QSAS session.

Parameters:
folder of type QString
Exceptions:
None 
Returns:
None

Reimplemented from QguWindow.

string DataSelectorWindow::update_map_file ( const char *  existingMapName,
const char *  dirName,
const char *  db_dir 
)

bool DataSelectorWindow::write_map_contents ( vector< string > &  file_list,
mapList map_listing,
const char *  mapName 
)

string DataSelectorWindow::write_map_file ( const char *  target_dir,
const char *  db_dir 
)


Member Data Documentation


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

Generated on Fri Jan 8 12:51:27 2010 for QSAS by  doxygen 1.5.7