BALL 1.5.0
FDPBDialog.h
Go to the documentation of this file.
1// -*- Mode: C++; tab-width: 2; -*-
2// vi: set ts=2:
3//
4#ifndef BALL_VIEW_DIALOGS_FDPBDIALOG_H
5#define BALL_VIEW_DIALOGS_FDPBDIALOG_H
6
7#ifndef BALL_COMMON_GLOBAL_H
8# include <BALL/COMMON/global.h>
9#endif
10
11#ifndef BALL_VIEW_KERNEL_MODULARWIDGET_H
13#endif
14
15#ifndef BALL_VIEW_KERNEL_PREFERENCESENTRY
17#endif
18
19#ifndef BALL_SOLVATION_POISSONBOLTZMANN_H
21#endif
22
23#ifndef BALL_MOLMEC_COMMON_RADIUSRULEPROCESSOR_H
25#endif
26
27#ifndef BALL_MOLMEC_COMMON_CHARGERULEPROCESSOR_H
29#endif
30
31#ifndef BALL_STRUCTURE_DEFAULTPROCESSORS_H
33#endif
34
35#include <BALL/VIEW/UIC/ui_FDPBDialog.h>
36
37class QLineEdit;
38
39namespace BALL
40{
41 namespace VIEW
42 {
43
44 class CalculateFDPBThread;
45
50 : public QDialog,
51 public Ui_FDPBDialogData,
52 public ModularWidget,
53 public PreferencesEntry
54 {
55 friend class CalculateFDPBThread;
56
57 Q_OBJECT
58
59 public:
60
62
63
64 FDPBDialog(QWidget* parent = 0, const char* name = "FDPBDialog",
65 bool modal = false, Qt::WindowFlags fl = 0);
66
68 virtual ~FDPBDialog();
69
71 bool calculate();
72
74 FDPB& getFDPBSolver()
75 {return fdpb_;}
76
78 void setSystem(System* system)
79 {system_ = system;}
80
83 { return system_;}
84
85
86 public Q_SLOTS:
87
89 virtual void browseChargesData();
90
92 virtual void browseChargesRules();
93
95 virtual void browseRadiiData();
96
98 virtual void browseRadiiRules();
99
101 virtual void accept();
102
104 virtual void resetPressed();
105
106 protected Q_SLOTS:
107 virtual void clicked(QAbstractButton* button);
108
109 protected:
110
112 void selectFile_(QLineEdit& lineedit);
115
119
125 };
126
127} } // Namespaces
128#endif
#define BALL_EMBEDDABLE(TYPE, BASE)
Definition: embeddable.h:31
Definition: constants.h:13
virtual void browseChargesData()
System * getSystem()
Get the system.
Definition: FDPBDialog.h:82
virtual void browseRadiiRules()
RadiusRuleProcessor radius_rule_processor_
Definition: FDPBDialog.h:120
void setSystem(System *system)
Set the system, the FDPB will be calculated for.
Definition: FDPBDialog.h:78
void selectFile_(QLineEdit &lineedit)
virtual void resetPressed()
AssignChargeProcessor charge_processor_
Definition: FDPBDialog.h:123
ChargeRuleProcessor charge_rule_processor_
Definition: FDPBDialog.h:121
CalculateFDPBThread * thread_
Definition: FDPBDialog.h:124
AssignRadiusProcessor radius_processor_
Definition: FDPBDialog.h:122
virtual void clicked(QAbstractButton *button)
virtual void accept()
virtual void browseChargesRules()
virtual void browseRadiiData()
#define BALL_VIEW_EXPORT
Definition: COMMON/global.h:52