#include <downloadPDBFile.h>
Inheritance diagram for VIEW::DownloadPDBFile:
Public Slots | |
void | slotDownload () |
void | idChanged () |
virtual void | abort () |
Public Member Functions | |
DownloadPDBFile (QWidget *parent=0, const char *name="DownloadPDBFileDialog", bool modal=FALSE, Qt::WFlags fl=0) throw () | |
virtual void | initializeWidget (VIEW::MainControl &main_control) throw () |
virtual void | fetchPreferences (INIFile &inifile) throw () |
Fetch the widgets preferences from the INIFile. | |
virtual void | writePreferences (INIFile &inifile) throw () |
Writes the widgets preferences to the INIFile. | |
void | setPrefix (String s) |
Set the prefix for the PDB.org url Standard: http://www.rcsb.org/pdb/files/. | |
void | setSuffix (String s) |
Set the suffix for the PDB.org url Standard: (.pdb). | |
void | checkMenu (MainControl &mc) throw () |
Menu checking method. | |
Protected Member Functions | |
void | downloadStarted_ () throw () |
void | downloadEnded_ () throw () |
bool | threadedDownload_ (const String &url) |
void | removeFile_ (const String &filename) |
void | setProxyAndTransfer_ (TCPTransfer &tcp) |
Protected Attributes | |
FetchHTMLThread * | thread_ |
bool | aborted_ |
bool | error_ |
HashMap< String, QImage > | image_cache_ |
HashSet< String > | unsupported_images_ |
QAction * | menu_id_ |
String | prefix_ |
String | suffix_ |
|
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).
Reimplemented from VIEW::ModularWidget. |
|
Fetch the widgets preferences from the INIFile. This method is called automatically by MainControl::show() at the start of the application.
Reimplemented from VIEW::ModularWidget. |
|
Writes the widgets preferences to the INIFile. This method is called automatically by MainControl::aboutToExit at the end of the application.
Reimplemented from VIEW::ModularWidget. |