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
DIALOGS
amberConfigurationDialog.h
Go to the documentation of this file.
1
// -*- Mode: C++; tab-width: 2; -*-
2
// vi: set ts=2:
3
//
4
5
#ifndef BALL_VIEW_DIALOGS_AMBERCONFIGURATIONDIALOG_H
6
#define BALL_VIEW_DIALOGS_AMBERCONFIGURATIONDIALOG_H
7
8
#ifndef BALL_COMMON_GLOBAL_H
9
# include <
BALL/COMMON/global.h
>
10
#endif
11
12
#ifndef BALL_VIEW_KERNEL_PREFERENCESENTRY
13
# include <
BALL/VIEW/KERNEL/preferencesEntry.h
>
14
#endif
15
16
#include <BALL/VIEW/UIC/ui_amberConfigurationDialog.h>
17
18
namespace
BALL
19
{
20
class
AmberFF;
21
22
namespace
VIEW
23
{
24
class
MolecularStructure;
25
29
class
BALL_VIEW_EXPORT
AmberConfigurationDialog
30
:
public
QDialog
,
31
public
Ui_AmberConfigurationDialogData,
32
public
PreferencesEntry
33
{
34
friend
class
MolecularStructure
;
35
36
Q_OBJECT
37
38
public
:
39
41
AmberConfigurationDialog
(
QWidget
* parent = NULL,
const
char
* name =
"AmberConfiguration"
);
42
44
virtual
~
AmberConfigurationDialog
();
45
46
public
slots:
47
49
void
accept();
50
52
void
reject();
53
55
virtual
void
resetOptions();
56
58
void
applyTo(
AmberFF
& amber);
59
60
//_
61
void
periodicBoundaryClicked();
62
63
protected
slots:
64
65
virtual
void
browseParameterFiles();
66
67
protected
:
68
69
void
setAmberFF(
AmberFF
& amber);
70
71
void
chooseSolventFile();
72
73
private
:
74
75
String
getValue_(
const
QCheckBox* box)
const
;
76
77
float
getValue_(
const
QLineEdit
* edit)
const
78
throw
(
Exception::InvalidFormat
);
79
80
AmberFF
*
amber_
;
81
};
82
}
83
}
84
#endif
Generated by
1.8.3.1