#include <BALL/VIEW/DIALOGS/dockProgressDialog.h>
Dialog for showing the progress during a docking calculation.
Definition at line 33 of file dockProgressDialog.h.
BALL::VIEW::DockProgressDialog::DockProgressDialog |
( |
QWidget * |
parent = 0 , |
|
|
const char * |
name = "DockProgressDialog" |
|
) |
| |
virtual BALL::VIEW::DockProgressDialog::~DockProgressDialog |
( |
| ) |
|
|
virtual |
void BALL::VIEW::DockProgressDialog::abortClicked |
( |
| ) |
|
|
slot |
Is called when abort button is pressed. Aborts docking calculations. Closes and deletes the dialog.
void BALL::VIEW::DockProgressDialog::fillDialog |
( |
const QString & |
p1, |
|
|
const QString & |
p2, |
|
|
const QString & |
alg, |
|
|
const QString & |
sf, |
|
|
const Options & |
alg_opt, |
|
|
const Options & |
sf_opt |
|
) |
| |
Fills ProgressDialog with information about the chosen docking partners, algorithm, scoring function and options.
- Parameters
-
p1 | first docking partner |
p2 | second docking partner |
alg | docking algorithm |
sf | scoring function |
alg_opt | algorithm options |
sf_opt | scoring function options |
const DockingAlgorithm* BALL::VIEW::DockProgressDialog::getDockingAlgorithm |
( |
| ) |
const |
void BALL::VIEW::DockProgressDialog::pauseClicked |
( |
| ) |
|
|
slot |
Is called when pause button / continue button is pressed. Pauses / continues docking calculations.
void BALL::VIEW::DockProgressDialog::setDockingAlgorithm |
( |
DockingAlgorithm * |
alg | ) |
|
Sets docking algorithm.
- Parameters
-
void BALL::VIEW::DockProgressDialog::show |
( |
| ) |
|
|
slot |
Starts timer and shows dialog to user.
void BALL::VIEW::DockProgressDialog::updateProgress_ |
( |
| ) |
|
|
protectedslot |
Is called when timer elapses. Gets current progress of docking algorithm. Sets progress bar to current progress and calculates remaining time. Closes and deletes the dialog when calculations have finished.