BALL  1.5.0
Public Slots | Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes | Friends | List of all members
BALL::VIEW::FDPBDialog Class Reference

#include <BALL/VIEW/DIALOGS/FDPBDialog.h>

Inheritance diagram for BALL::VIEW::FDPBDialog:
QDialog BALL::VIEW::ModularWidget BALL::VIEW::PreferencesEntry BALL::Embeddable BALL::VIEW::ConnectionObject

Public Slots

virtual void browseChargesData ()
 
virtual void browseChargesRules ()
 
virtual void browseRadiiData ()
 
virtual void browseRadiiRules ()
 
virtual void accept ()
 
virtual void resetPressed ()
 

Public Member Functions

 FDPBDialog (QWidget *parent=0, const char *name="FDPBDialog", bool modal=false, Qt::WindowFlags fl=0)
 Constructor. More...
 
virtual ~FDPBDialog ()
 Destructor. More...
 
bool calculate ()
 Calculate the FDPB grid. More...
 
FDPBgetFDPBSolver ()
 Get the instance of the FDPB solver. More...
 
void setSystem (System *system)
 Set the system, the FDPB will be calculated for. More...
 
SystemgetSystem ()
 Get the system. More...
 
- Public Member Functions inherited from BALL::VIEW::ModularWidget
 ModularWidget (const char *name="<ModularWidget>")
 
 ModularWidget (const ModularWidget &widget)
 
virtual ~ModularWidget ()
 
virtual void destroy ()
 
virtual void clear ()
 
virtual void checkMenu (MainControl &main_control)
 
QAction * insertMenuEntry (Position parent_id, const QString &name, const QObject *receiver=0, const char *slot=0, const String &description="", QKeySequence accel=QKeySequence(), const QString &menu_hint=QString(""), UIOperationMode::OperationMode minimal_mode=UIOperationMode::MODE_ALL)
 
BALL_DEPRECATED void setMenuHelp (QAction *, const String &)
 
virtual BALL_DEPRECATED void registerForHelpSystem (const QObject *, const String &)
 
virtual void addToolBarEntries (QToolBar *main_tb)
 
void setIcon (QAction *action, const String &filename, bool add_to_main_toolbar=true)
 
virtual void initializePreferencesTab (Preferences &preferences)
 
virtual void finalizePreferencesTab (Preferences &preferences)
 
virtual void applyPreferences ()
 
virtual void fetchPreferences (INIFile &inifile)
 
virtual void writePreferences (INIFile &inifile)
 
bool lockComposites ()
 
bool unlockComposites ()
 Unlock the Composites. More...
 
MainControlgetMainControl () const
 
virtual void setStatusbarText (const String &text, bool important=false)
 
virtual void setStatusbarText (const QString &text, bool important=false)
 
String getWorkingDir ()
 Implemented for convenience. More...
 
void setWorkingDir (const String &dir)
 Implemented for convenience. More...
 
FragmentDBgetFragmentDB () const
 
virtual void dump (std::ostream &s=std::cout, Size depth=0) const
 
void setWorkingDirFromFilename_ (String filename)
 
virtual BALL_DEPRECATED void showHelp (const String &)
 
virtual void initializeWidget (MainControl &main_control)
 
virtual void finalizeWidget (MainControl &main_control)
 
virtual bool canHandle (const String &) const
 
virtual bool openFile (const String &)
 
- Public Member Functions inherited from BALL::Embeddable
 Embeddable (const String &identifier="<Embeddable>")
 
 Embeddable (const Embeddable &embeddable)
 
virtual ~Embeddable ()
 
void setIdentifier (const String &identifier)
 
const StringgetIdentifier () const
 
void unregisterThis ()
 
virtual void registerThis ()
 
- Public Member Functions inherited from BALL::VIEW::ConnectionObject
 ConnectionObject ()
 
virtual ~ConnectionObject ()
 
void registerConnectionObject (ConnectionObject &object)
 
void unregisterConnectionObject (ConnectionObject &object)
 
bool isConnectionObjectRegistered (const ConnectionObject &object)
 
ConnectionObjectgetParent () const
 
ConnectionObjectgetRoot ()
 
virtual void onNotify (Message *message)
 
virtual bool isValid () const
 
- Public Member Functions inherited from BALL::VIEW::PreferencesEntry
 PreferencesEntry ()
 
virtual ~PreferencesEntry ()
 
virtual void writePreferenceEntries (INIFile &inifile)
 Store the settings of all registered objects. More...
 
virtual void readPreferenceEntries (const INIFile &inifile)
 Restore the settings of all registered objects. More...
 
void setINIFileSectionName (const String &name)
 Set the name for the section in the INIFile. More...
 
const StringgetINIFileSectionName () const
 Get the name for the section in the INIFile. More...
 
void setWidgetStackName (const String &name)
 
StackPagesgetStackPages ()
 Return all pages, that are to be shown in a parent QStackedWidget. More...
 
void setWidgetStack (QStackedWidget *stack)
 
virtual void showStackPage (Position nr)
 Show the specified page in the QStackedWidget. More...
 
virtual void showStackPage (QWidget *widget)
 Show the specified page in the QStackedWidget. More...
 
virtual Position currentStackPage () const
 Get the currently shown page in the QStackedWidget. More...
 
virtual void restoreDefaultValues (bool all=false)
 Set all registered objects to their default values. More...
 
virtual void storeValues ()
 
virtual void restoreValues (bool all=false)
 
virtual void dump (std::ostream &s=std::cout, Size depth=0) const
 
virtual bool setValueAllowed (QObject *)
 Allows to prevent restoring of widgets. More...
 

Protected Slots

virtual void clicked (QAbstractButton *button)
 

Protected Member Functions

void calculate_ ()
 
void selectFile_ (QLineEdit &lineedit)
 
void applyValues_ ()
 
bool applyProcessors_ ()
 
- Protected Member Functions inherited from BALL::VIEW::ConnectionObject
void notify_ (Message *message)
 
void notify_ (Message &message)
 
void onNotify_ (Message *message)
 
- Protected Member Functions inherited from BALL::VIEW::PreferencesEntry
void registerWidgets_ ()
 
void registerObject_ (QObject *widget)
 
void unregisterObject_ (QObject *widget)
 
BALL_DEPRECATED void registerWidgetForHelpSystem_ (const QWidget *, const String &)
 
void restoreValues_ (bool all, const ValueMap &map)
 
void insertStackEntry_ (QWidget *, const String &name)
 
bool isSupported_ (QObject &widget)
 
bool getValue_ (const QObject *widget, String &value)
 
bool setValue_ (QObject *widget, const String &value)
 

Protected Attributes

FDPB fdpb_
 
Options options_
 
Systemsystem_
 
RadiusRuleProcessor radius_rule_processor_
 
ChargeRuleProcessor charge_rule_processor_
 
AssignRadiusProcessor radius_processor_
 
AssignChargeProcessor charge_processor_
 
CalculateFDPBThreadthread_
 
- Protected Attributes inherited from BALL::VIEW::ModularWidget
QAction * window_menu_entry_
 
bool show_window_enty_
 
bool default_visible_
 
QList< QAction * > main_toolbar_actions_
 
- Protected Attributes inherited from BALL::VIEW::PreferencesEntry
String inifile_section_name_
 
HashSet< QObject * > registered_objects_
 
ValueMap default_values_
 
ValueMap last_values_
 
QStackedWidget * widget_stack_
 
StackPages stack_pages_
 

Friends

class CalculateFDPBThread
 

Additional Inherited Members

- Public Types inherited from BALL::Embeddable
typedef std::vector< Embeddable * > EmbeddableVector
 
- Public Types inherited from BALL::VIEW::PreferencesEntry
typedef std::list< std::pair< QWidget *, String > > StackPages
 
- Static Public Member Functions inherited from BALL::VIEW::ModularWidget
static void registerWidget (ModularWidget *mwidget)
 
- Protected Types inherited from BALL::VIEW::PreferencesEntry
typedef HashMap< const QObject *, StringValueMap
 
- Static Protected Member Functions inherited from BALL::Embeddable
static void registerInstance_ (const std::type_info &type, const Embeddable *instance)
 
static void unregisterInstance_ (const Embeddable *instance)
 
static Size countInstances_ (const std::type_info &type)
 
static EmbeddablegetInstance_ (const std::type_info &type, Position index)
 
static EmbeddablegetInstance_ (const std::type_info &type, const String &identifier)
 

Detailed Description

Dialog for performing Finite Distance Poisson Bolzmann calculations

Definition at line 49 of file FDPBDialog.h.

Constructor & Destructor Documentation

◆ FDPBDialog()

BALL::VIEW::FDPBDialog::FDPBDialog ( QWidget parent = 0,
const char *  name = "FDPBDialog",
bool  modal = false,
Qt::WindowFlags  fl = 0 
)

Constructor.

◆ ~FDPBDialog()

virtual BALL::VIEW::FDPBDialog::~FDPBDialog ( )
virtual

Destructor.

Member Function Documentation

◆ accept

virtual void BALL::VIEW::FDPBDialog::accept ( )
virtualslot

◆ applyProcessors_()

bool BALL::VIEW::FDPBDialog::applyProcessors_ ( )
protected

◆ applyValues_()

void BALL::VIEW::FDPBDialog::applyValues_ ( )
protected

◆ browseChargesData

virtual void BALL::VIEW::FDPBDialog::browseChargesData ( )
virtualslot

◆ browseChargesRules

virtual void BALL::VIEW::FDPBDialog::browseChargesRules ( )
virtualslot

◆ browseRadiiData

virtual void BALL::VIEW::FDPBDialog::browseRadiiData ( )
virtualslot

◆ browseRadiiRules

virtual void BALL::VIEW::FDPBDialog::browseRadiiRules ( )
virtualslot

◆ calculate()

bool BALL::VIEW::FDPBDialog::calculate ( )

Calculate the FDPB grid.

◆ calculate_()

void BALL::VIEW::FDPBDialog::calculate_ ( )
protected

◆ clicked

virtual void BALL::VIEW::FDPBDialog::clicked ( QAbstractButton *  button)
protectedvirtualslot

◆ getFDPBSolver()

FDPB& BALL::VIEW::FDPBDialog::getFDPBSolver ( )
inline

Get the instance of the FDPB solver.

Definition at line 74 of file FDPBDialog.h.

◆ getSystem()

System* BALL::VIEW::FDPBDialog::getSystem ( )
inline

Get the system.

Definition at line 82 of file FDPBDialog.h.

◆ resetPressed

virtual void BALL::VIEW::FDPBDialog::resetPressed ( )
virtualslot

◆ selectFile_()

void BALL::VIEW::FDPBDialog::selectFile_ ( QLineEdit lineedit)
protected

◆ setSystem()

void BALL::VIEW::FDPBDialog::setSystem ( System system)
inline

Set the system, the FDPB will be calculated for.

Definition at line 78 of file FDPBDialog.h.

Friends And Related Function Documentation

◆ CalculateFDPBThread

friend class CalculateFDPBThread
friend

Definition at line 55 of file FDPBDialog.h.

Member Data Documentation

◆ charge_processor_

AssignChargeProcessor BALL::VIEW::FDPBDialog::charge_processor_
protected

Definition at line 123 of file FDPBDialog.h.

◆ charge_rule_processor_

ChargeRuleProcessor BALL::VIEW::FDPBDialog::charge_rule_processor_
protected

Definition at line 121 of file FDPBDialog.h.

◆ fdpb_

FDPB BALL::VIEW::FDPBDialog::fdpb_
protected

Definition at line 116 of file FDPBDialog.h.

◆ options_

Options BALL::VIEW::FDPBDialog::options_
protected

Definition at line 117 of file FDPBDialog.h.

◆ radius_processor_

AssignRadiusProcessor BALL::VIEW::FDPBDialog::radius_processor_
protected

Definition at line 122 of file FDPBDialog.h.

◆ radius_rule_processor_

RadiusRuleProcessor BALL::VIEW::FDPBDialog::radius_rule_processor_
protected

Definition at line 120 of file FDPBDialog.h.

◆ system_

System* BALL::VIEW::FDPBDialog::system_
protected

Definition at line 118 of file FDPBDialog.h.

◆ thread_

CalculateFDPBThread* BALL::VIEW::FDPBDialog::thread_
protected

Definition at line 124 of file FDPBDialog.h.