Loading...
Searching...
No Matches
FDPBDialog.h
Go to the documentation of this file.
// -*- Mode: C++; tab-width: 2; -*-
// vi: set ts=2:
//
#ifndef BALL_VIEW_DIALOGS_FDPBDIALOG_H
#define BALL_VIEW_DIALOGS_FDPBDIALOG_H
#ifndef BALL_COMMON_GLOBAL_H
# include <BALL/COMMON/global.h>
#endif
#ifndef BALL_VIEW_KERNEL_MODULARWIDGET_H
# include <BALL/VIEW/KERNEL/modularWidget.h>
#endif
#ifndef BALL_VIEW_KERNEL_PREFERENCESENTRY
# include <BALL/VIEW/KERNEL/preferencesEntry.h>
#endif
#ifndef BALL_SOLVATION_POISSONBOLTZMANN_H
# include <BALL/SOLVATION/poissonBoltzmann.h>
#endif
#ifndef BALL_MOLMEC_COMMON_RADIUSRULEPROCESSOR_H
# include <BALL/MOLMEC/COMMON/radiusRuleProcessor.h>
#endif
#ifndef BALL_MOLMEC_COMMON_CHARGERULEPROCESSOR_H
# include <BALL/MOLMEC/COMMON/chargeRuleProcessor.h>
#endif
#ifndef BALL_STRUCTURE_DEFAULTPROCESSORS_H
# include <BALL/STRUCTURE/defaultProcessors.h>
#endif
#include <BALL/VIEW/UIC/ui_FDPBDialog.h>
class QLineEdit;
namespace BALL
{
namespace VIEW
{
class CalculateFDPBThread;
class BALL_VIEW_EXPORT FDPBDialog
: public QDialog,
public Ui_FDPBDialogData,
public ModularWidget,
public PreferencesEntry
{
friend class CalculateFDPBThread;
Q_OBJECT
public:
BALL_EMBEDDABLE(FDPBDialog,ModularWidget)
FDPBDialog(QWidget* parent = 0, const char* name = "FDPBDialog",
bool modal = false, Qt::WindowFlags fl = 0);
virtual ~FDPBDialog();
bool calculate();
FDPB& getFDPBSolver()
{return fdpb_;}
void setSystem(System* system)
{system_ = system;}
System* getSystem()
{ return system_;}
public Q_SLOTS:
virtual void browseChargesData();
virtual void browseChargesRules();
virtual void browseRadiiData();
virtual void browseRadiiRules();
virtual void accept();
virtual void resetPressed();
protected Q_SLOTS:
virtual void clicked(QAbstractButton* button);
protected:
void calculate_();
void selectFile_(QLineEdit& lineedit);
void applyValues_();
bool applyProcessors_();
FDPB fdpb_;
Options options_;
System* system_;
RadiusRuleProcessor radius_rule_processor_;
ChargeRuleProcessor charge_rule_processor_;
AssignRadiusProcessor radius_processor_;
AssignChargeProcessor charge_processor_;
CalculateFDPBThread* thread_;
};
} } // Namespaces
#endif
global.h
BALL_VIEW_EXPORT
#define BALL_VIEW_EXPORT
Definition COMMON/global.h:52
chargeRuleProcessor.h
BALL::AssignChargeProcessor
Definition defaultProcessors.h:146
BALL::AssignRadiusProcessor
Definition defaultProcessors.h:64
BALL::ChargeRuleProcessor
Definition chargeRuleProcessor.h:24
BALL::FDPB
Definition poissonBoltzmann.h:37
BALL::Options
Definition options.h:48
BALL::RadiusRuleProcessor
Definition radiusRuleProcessor.h:24
BALL::System
Definition KERNEL/system.h:40
BALL::VIEW::CalculateFDPBThread
Definition threads.h:122
BALL::VIEW::FDPBDialog::browseChargesData
virtual void browseChargesData()
BALL::VIEW::FDPBDialog::CalculateFDPBThread
friend class CalculateFDPBThread
Definition FDPBDialog.h:55
BALL::VIEW::FDPBDialog::applyProcessors_
bool applyProcessors_()
BALL::VIEW::FDPBDialog::system_
System * system_
Definition FDPBDialog.h:118
BALL::VIEW::FDPBDialog::calculate_
void calculate_()
BALL::VIEW::FDPBDialog::getSystem
System * getSystem()
Get the system.
Definition FDPBDialog.h:82
BALL::VIEW::FDPBDialog::getFDPBSolver
FDPB & getFDPBSolver()
Get the instance of the FDPB solver.
Definition FDPBDialog.h:74
BALL::VIEW::FDPBDialog::browseRadiiRules
virtual void browseRadiiRules()
BALL::VIEW::FDPBDialog::radius_rule_processor_
RadiusRuleProcessor radius_rule_processor_
Definition FDPBDialog.h:120
BALL::VIEW::FDPBDialog::setSystem
void setSystem(System *system)
Set the system, the FDPB will be calculated for.
Definition FDPBDialog.h:78
BALL::VIEW::FDPBDialog::selectFile_
void selectFile_(QLineEdit &lineedit)
BALL::VIEW::FDPBDialog::resetPressed
virtual void resetPressed()
BALL::VIEW::FDPBDialog::charge_processor_
AssignChargeProcessor charge_processor_
Definition FDPBDialog.h:123
BALL::VIEW::FDPBDialog::fdpb_
FDPB fdpb_
Definition FDPBDialog.h:116
BALL::VIEW::FDPBDialog::charge_rule_processor_
ChargeRuleProcessor charge_rule_processor_
Definition FDPBDialog.h:121
BALL::VIEW::FDPBDialog::applyValues_
void applyValues_()
BALL::VIEW::FDPBDialog::thread_
CalculateFDPBThread * thread_
Definition FDPBDialog.h:124
BALL::VIEW::FDPBDialog::radius_processor_
AssignRadiusProcessor radius_processor_
Definition FDPBDialog.h:122
BALL::VIEW::FDPBDialog::FDPBDialog
FDPBDialog(QWidget *parent=0, const char *name="FDPBDialog", bool modal=false, Qt::WindowFlags fl=0)
Constructor.
BALL::VIEW::FDPBDialog::clicked
virtual void clicked(QAbstractButton *button)
BALL::VIEW::FDPBDialog::accept
virtual void accept()
BALL::VIEW::FDPBDialog::browseChargesRules
virtual void browseChargesRules()
BALL::VIEW::FDPBDialog::browseRadiiData
virtual void browseRadiiData()
BALL::VIEW::FDPBDialog::calculate
bool calculate()
Calculate the FDPB grid.
BALL::VIEW::FDPBDialog::options_
Options options_
Definition FDPBDialog.h:117
BALL::VIEW::ModularWidget::ModularWidget
ModularWidget(const char *name="<ModularWidget>")
BALL::VIEW::PreferencesEntry::PreferencesEntry
PreferencesEntry()
QDialog
QLineEdit
QWidget
defaultProcessors.h
BALL_EMBEDDABLE
#define BALL_EMBEDDABLE(TYPE, BASE)
Definition embeddable.h:31
modularWidget.h
BALL::VIEW
Definition constraints.h:35
BALL
Definition constants.h:13
poissonBoltzmann.h
preferencesEntry.h
radiusRuleProcessor.h