Skip to content
Snippets Groups Projects
Commit 306c92a3 authored by valerio's avatar valerio
Browse files

Support for EMDB in the remote loader + remote loader is aware of img support

git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/trunk@1848 5a81b35b-ba03-0410-adc8-b2c5c5119f08
parent 35e4f6c6
No related branches found
No related tags found
No related merge requests found
......@@ -3,5 +3,6 @@
<GenericLoaders>
<GenericLoader ExtName="pdbredo" Name="pdbredo" Url="http://www.cmbi.ru.nl/pdb_redo/ak/${ID}/${ID}_besttls.pdb" />
<GenericLoader ExtName="pdborg" Name="pdb.org" Url="http://www.pdb.org/pdb/files/${ID}.pdb" />
<GenericLoader ExtName="emdb" Name="emdb" Url="ftp://ftp.ebi.ac.uk/pub/databases/emdb/structures/EMD-${ID}/map/emd_${ID}.map.gz" FileType=".map.gz" Img="1"/>
</GenericLoaders>
</EMDataInfo>
......@@ -35,6 +35,7 @@ namespace ost { namespace gui {
RemoteLoader::RemoteLoader(QWidget* parent):
Widget(NULL, parent)
{
img_support_=OST_IMG_ENABLED;
line_edit_ = new QLineEdit(this);
button_ = new QPushButton("Load",this);
progress_bar_ = new QProgressBar(this);
......@@ -159,3 +160,4 @@ OST_REGISTER_WIDGET_WITH_DEFAULT_FACTORY(ost::gui, RemoteLoader, "Remote Loader"
}}
......@@ -61,6 +61,7 @@ private:
ActionList action_list_;
QMenu* site_loader_menu_;
QActionGroup* site_actions_;
bool img_support_;
};
}}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment