#include <DataSelector.h>
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 |
DataSelectorWindow::DataSelectorWindow | ( | QWidget * | parent = 0 , |
|
const char * | name = 0 | |||
) |
DataSelectorWindow::~DataSelectorWindow | ( | ) | [inline] |
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::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.
None |
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.
Vostream& |
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.
None |
None |
Reimplemented from QguWindow.
void DataSelectorWindow::saveAsXML | ( | ) | [slot] |
void DataSelectorWindow::saveSession | ( | QString | folder | ) | [virtual, slot] |
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 | |||
) |