4 #ifndef BALL_VIEW_DIALOGS_DOWNLOADELECTRONDENSITY_H
5 #define BALL_VIEW_DIALOGS_DOWNLOADELECTRONDENSITY_H
7 #include <BALL/VIEW/UIC/ui_downloadElectronDensity.h>
9 #ifndef BALL_VIEW_KERNEL_MODULARWIDGET_H
13 #ifndef BALL_DATATYPE_HASHSET_H
17 #include <BALL/VIEW/UIC/ui_downloadElectronDensity.h>
19 #include <QtNetwork/QNetworkReply>
22 class QNetworkAccessManager;
37 public Ui_DownloadElectronDensityData,
46 bool modal = FALSE, Qt::WFlags fl = 0 );
55 virtual void fetchPreferences(
INIFile& inifile);
58 virtual void writePreferences(
INIFile& inifile);
98 void pdbDownloadChecked();
101 virtual void abort();
104 void downloadFinished();
107 void downloadProgress(qint64 received, qint64 total);
112 void downloadStarted_();
115 void downloadEnded_();
117 bool threadedDownload_(
const String& url);
118 void removeFile_(
const String& filename);
void setEMDBPrefix(String s)
void setEDSSuffix(String s)
QProgressBar * progress_bar_
HashMap< String, QImage > image_cache_
QNetworkAccessManager * network_manager_
void setEDSPrefix(String s)
void setEMDBSuffix(String s)
QNetworkReply * current_reply_
#define BALL_EMBEDDABLE(TYPE, BASE)
HashMap class based on the STL map (containing serveral convenience functions)
HashSet< String > unsupported_images_