BALL
1.4.2
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
BALL
VIEW
WIDGETS
dockingController.h
Go to the documentation of this file.
1
// -*- Mode: C++; tab-width: 2; -*-
2
// vi: set ts=2:
3
//
4
// $Id: dockingController.h,v 1.2.12.2 2007/03/26 07:26:29 amoll Exp $
5
//
6
7
#ifndef BALL_WIDGETS_DOCKINGCONTROLLER_H
8
#define BALL_WIDGETS_DOCKINGCONTROLLER_H
9
10
#ifndef BALL_VIEW_KERNEL_MODULARWIDGET_H
11
# include <
BALL/VIEW/KERNEL/modularWidget.h
>
12
#endif
13
14
#ifndef BALL_VIEW_DIALOGS_DOCKDIALOG_H
15
# include <
BALL/VIEW/DIALOGS/dockDialog.h
>
16
#endif
17
18
namespace
BALL
19
{
20
class
ConformationSet;
21
class
DockingAlgorithm;
22
class
EnergeticEvaluation;
23
24
namespace
VIEW
25
{
26
class
DockProgressDialog;
27
class
DockResultDialog;
28
class
DockingThread;
29
37
class
BALL_VIEW_EXPORT
DockingController
38
:
public
QWidget
,
39
public
ModularWidget
40
{
41
Q_OBJECT
42
43
public
:
44
45
BALL_EMBEDDABLE
(
DockingController
,
ModularWidget
)
46
47
48
49
52
53
59
enum
Algorithm
60
{
61
GEOMETRIC_FIT = 1
62
};
63
69
enum
ScoringFunction
70
{
71
DEFAULT = 0,
72
AMBER_FF
,
73
MMFF94_FF
,
74
SELECTED_FF
,
75
RANDOM
76
};
77
79
82
84
DockingController
(
QWidget
* parent = 0,
const
char
* name = 0);
85
87
virtual
~
DockingController
();
88
90
const
DockingController
& operator =(
const
DockingController
& dock_controller);
91
93
96
105
virtual
void
initializeWidget(
MainControl
& main_control);
106
112
virtual
void
fetchPreferences(
INIFile
& file);
113
119
virtual
void
writePreferences(
INIFile
& file);
120
125
virtual
void
checkMenu (
MainControl
& main_control);
126
131
virtual
void
onNotify(
Message
*message);
132
134
139
virtual
void
runDocking(
bool
is_redock);
140
142
DockDialog
& getDockDialog() ;
143
145
virtual
EnergeticEvaluation
* createEvaluationMethod(
Index
method);
146
147
public
slots:
148
152
void
startDocking();
153
154
protected
:
155
165
bool
runScoring_(
ConformationSet
* conformation_set);
166
167
private
:
168
173
DockingController
(
const
DockingController
& dock_controller);
174
177
DockDialog
dock_dialog_
;
178
DockResultDialog
*
dock_result_dialog_
;
179
DockProgressDialog
*
progress_dialog_
;
180
182
DockingAlgorithm
*
dock_alg_
;
183
185
QAction*
action_
;
186
187
DockingThread
*
thread_
;
188
};
189
}
// end of namespace View
190
}
// end of namespace BALL
191
#endif
Generated by
1.8.3.1