#include <BALL/VIEW/DIALOGS/downloadElectronDensity.h>
Dialog to search for and download electron density maps from either the Uppsala Electron-Density Server or the Electron Microscopy Data Bank.
Definition at line 35 of file downloadElectronDensity.h.
BALL::VIEW::DownloadElectronDensity::DownloadElectronDensity | ( | QWidget * | parent = 0 , |
|
const char * | name = "DownloadElectronDensityDialog" , |
|||
bool | modal = FALSE , |
|||
Qt::WFlags | fl = 0 | |||
) |
BALL::VIEW::DownloadElectronDensity::~DownloadElectronDensity | ( | ) |
virtual void BALL::VIEW::DownloadElectronDensity::abort | ( | ) | [virtual, slot] |
void BALL::VIEW::DownloadElectronDensity::checkMenu | ( | MainControl & | main_control | ) | [virtual] |
Menu checking method. This method is called MainControl::checkMenus before a popup menu is shown. It should be used to update the state of menu entries (e.g. disable or enable entries).
main_control | the MainControl object whose menus should be checked |
Reimplemented from BALL::VIEW::ModularWidget.
void BALL::VIEW::DownloadElectronDensity::downloadEnded_ | ( | ) | [protected] |
void BALL::VIEW::DownloadElectronDensity::downloadFinished | ( | ) | [slot] |
void BALL::VIEW::DownloadElectronDensity::downloadProgress | ( | qint64 | received, | |
qint64 | total | |||
) | [slot] |
void BALL::VIEW::DownloadElectronDensity::downloadStarted_ | ( | ) | [protected] |
virtual void BALL::VIEW::DownloadElectronDensity::fetchPreferences | ( | INIFile & | inifile | ) | [virtual] |
Fetch the widgets preferences from the INIFile. This method is called automatically by MainControl::show() at the start of the application.
inifile | the INIFile that contains the needed values |
Reimplemented from BALL::VIEW::ModularWidget.
void BALL::VIEW::DownloadElectronDensity::idChanged | ( | ) | [slot] |
virtual void BALL::VIEW::DownloadElectronDensity::initializeWidget | ( | VIEW::MainControl & | main_control | ) | [virtual] |
Initialize the widget. This method is called automatically immediately before the main application is started. It should add the widget's menu entries and connections (if required). This method will be called by MainControl::show.
main_control | the MainControl object to be initialized with this ModularWidget |
Reimplemented from BALL::VIEW::ModularWidget.
void BALL::VIEW::DownloadElectronDensity::pdbDownloadChecked | ( | ) | [slot] |
void BALL::VIEW::DownloadElectronDensity::removeFile_ | ( | const String & | filename | ) | [protected] |
void BALL::VIEW::DownloadElectronDensity::serverChanged | ( | ) | [slot] |
void BALL::VIEW::DownloadElectronDensity::setEDSPrefix | ( | String | s | ) | [inline] |
Set the prefix for the Uppsala Electron Density Server url
Standard: http://www.eds.bmc.uu.se/eds/sfd/
Definition at line 63 of file downloadElectronDensity.h.
void BALL::VIEW::DownloadElectronDensity::setEDSSuffix | ( | String | s | ) | [inline] |
Set the suffix for the Uppsala Electron Density Server url
Standard: (.omap)
Definition at line 68 of file downloadElectronDensity.h.
void BALL::VIEW::DownloadElectronDensity::setEMDBPrefix | ( | String | s | ) | [inline] |
Set the prefix for the Electron Microscopy Data Bank url
Standard: http://www.eds.bmc.uu.se/eds/sfd/
Definition at line 73 of file downloadElectronDensity.h.
void BALL::VIEW::DownloadElectronDensity::setEMDBSuffix | ( | String | s | ) | [inline] |
Set the suffix for the Electron Microscopy Data Bank url
Standard: (.omap)
Definition at line 78 of file downloadElectronDensity.h.
void BALL::VIEW::DownloadElectronDensity::slotDownload | ( | ) | [slot] |
void BALL::VIEW::DownloadElectronDensity::typeChanged | ( | ) | [slot] |
virtual void BALL::VIEW::DownloadElectronDensity::writePreferences | ( | INIFile & | inifile | ) | [virtual] |
Writes the widgets preferences to the INIFile. This method is called automatically by MainControl::aboutToExit at the end of the application.
inifile | the INIFile to contain the values |
Reimplemented from BALL::VIEW::ModularWidget.
bool BALL::VIEW::DownloadElectronDensity::aborted_ [protected] |
Definition at line 121 of file downloadElectronDensity.h.
QNetworkReply* BALL::VIEW::DownloadElectronDensity::current_reply_ [protected] |
Definition at line 134 of file downloadElectronDensity.h.
Definition at line 130 of file downloadElectronDensity.h.
Definition at line 130 of file downloadElectronDensity.h.
Definition at line 130 of file downloadElectronDensity.h.
Definition at line 131 of file downloadElectronDensity.h.
Definition at line 131 of file downloadElectronDensity.h.
Definition at line 131 of file downloadElectronDensity.h.
bool BALL::VIEW::DownloadElectronDensity::error_ [protected] |
Definition at line 122 of file downloadElectronDensity.h.
HashMap<String, QImage> BALL::VIEW::DownloadElectronDensity::image_cache_ [protected] |
Definition at line 124 of file downloadElectronDensity.h.
QAction* BALL::VIEW::DownloadElectronDensity::menu_id_ [protected] |
Definition at line 129 of file downloadElectronDensity.h.
QNetworkAccessManager* BALL::VIEW::DownloadElectronDensity::network_manager_ [protected] |
Definition at line 138 of file downloadElectronDensity.h.
QProgressBar* BALL::VIEW::DownloadElectronDensity::progress_bar_ [protected] |
Definition at line 137 of file downloadElectronDensity.h.
Definition at line 127 of file downloadElectronDensity.h.