BALL
1.4.79
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
DIALOGS
dockResultDialog.h
Go to the documentation of this file.
1
//
2
// -*- Mode: C++; tab-width: 2; -*-
3
// vi: set ts=2:
4
//
5
6
#ifndef BALL_VIEW_DIALOGS_DOCKRESULTDIALOG_H
7
#define BALL_VIEW_DIALOGS_DOCKRESULTDIALOG_H
8
9
#ifndef BALL_COMMON_GLOBAL_H
10
# include <
BALL/COMMON/global.h
>
11
#endif
12
13
#ifndef BALL_WIDGETS_DOCKINGCONTROLLER_H
14
# include <
BALL/VIEW/WIDGETS/dockingController.h
>
15
#endif
16
17
#include <BALL/VIEW/UIC/ui_dockResultDialog.h>
18
19
namespace
BALL
20
{
21
class
DockResult;
22
23
namespace
VIEW
24
{
28
class
BALL_VIEW_EXPORT
DockResultDialog
:
29
public
QDialog
,
30
public
Ui_DockResultDialogData
31
{
32
Q_OBJECT
33
34
public
:
35
39
46
DockResultDialog
(
QWidget
* parent = 0,
const
char
* name =
"DockResultDialog"
);
47
50
virtual
~
DockResultDialog
();
52
56
59
const
DockResultDialog
& operator =(
const
DockResultDialog
& res_dialog);
61
65
69
void
setDockResult(
DockResult
* dock_res);
70
74
void
setDockedSystem(
System
* system);
75
81
void
addScoringFunction(
const
QString& name,
DockingController::ScoringFunction
score_func,
QDialog
* dialog=0);
83
84
public
slots:
85
89
void
show();
90
94
void
showSnapshot();
95
100
void
sortTable(
int
column);
101
105
void
showDockingOptions();
106
110
void
upwardClicked();
111
115
void
downwardClicked();
116
121
void
scoringFuncChosen();
122
126
void
advancedClicked();
127
132
void
scoringClicked();
133
137
void
closeClicked();
138
139
140
protected
slots:
141
142
void
selectionChanged_();
143
147
void
deleteColumn_();
148
153
void
showScoringOptions_();
154
159
void
redock_();
160
161
162
protected
:
163
169
class
Compare_
170
{
171
public
:
172
175
Compare_
();
176
179
Compare_
(
Position
index);
180
183
~
Compare_
();
184
187
bool
operator() (
const
vector<float>& a,
const
vector<float>& b)
const
;
188
191
Position
index_
;
192
};
193
194
private
:
195
200
DockResultDialog
(
const
DockResultDialog
& dock_res_dialog);
201
205
DockResult
* dock_res_;
206
209
System
* docked_system_;
210
213
System
* redock_partner1_, * redock_partner2_;
214
217
HashMap<int, QDialog*>
scoring_dialogs_;
218
};
219
220
} }
// Namespaces
221
#endif
QDialog
QWidget
BALL::VIEW::DockResultDialog::Compare_
Definition:
dockResultDialog.h:169
BALL::VIEW::DockResultDialog::Compare_::index_
Position index_
Definition:
dockResultDialog.h:191
BALL::System
Definition:
KERNEL/system.h:38
BALL::DockResult
Definition:
dockResult.h:29
BALL_VIEW_EXPORT
#define BALL_VIEW_EXPORT
Definition:
COMMON/global.h:52
BALL::VIEW::DockingController::ScoringFunction
ScoringFunction
Definition:
dockingController.h:69
BALL::VIEW::DockResultDialog
Definition:
dockResultDialog.h:28
BALL_SIZE_TYPE
global.h
dockingController.h
BALL::HashMap< int, QDialog * >
Generated by
1.8.7