BALL  1.4.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Slots | Public Member Functions | Protected Slots | Protected Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
BALL::VIEW::AmberConfigurationDialog Class Reference

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

Inheritance diagram for BALL::VIEW::AmberConfigurationDialog:
QDialog BALL::VIEW::PreferencesEntry

Public Slots

void accept ()
 
void reject ()
 
virtual void resetOptions ()
 
void applyTo (AmberFF &amber)
 apply the settings to a given AMBER force field More...
 
void periodicBoundaryClicked ()
 

Public Member Functions

 AmberConfigurationDialog (QWidget *parent=NULL, const char *name="AmberConfiguration")
 Constructor. More...
 
virtual ~AmberConfigurationDialog ()
 Destructor. More...
 
- 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
 

Protected Slots

virtual void browseParameterFiles ()
 

Protected Member Functions

void setAmberFF (AmberFF &amber)
 
void chooseSolventFile ()
 
- Protected Member Functions inherited from BALL::VIEW::PreferencesEntry
void registerWidgets_ ()
 
void registerObject_ (QObject *widget)
 
void unregisterObject_ (QObject *widget)
 
void registerWidgetForHelpSystem_ (const QWidget *widget, const String &url)
 
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)
 

Private Member Functions

String getValue_ (const QCheckBox *box) const
 
float getValue_ (const QLineEdit *edit) const throw (Exception::InvalidFormat)
 

Private Attributes

AmberFFamber_
 

Friends

class MolecularStructure
 

Additional Inherited Members

- Public Types inherited from BALL::VIEW::PreferencesEntry
typedef std::list< std::pair
< QWidget *, String > > 
StackPages
 
- Protected Types inherited from BALL::VIEW::PreferencesEntry
typedef HashMap< const QObject
*, String
ValueMap
 
- 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_
 

Detailed Description

Dialog for changing the options of the AMBER forcefield

Definition at line 29 of file amberConfigurationDialog.h.

Constructor & Destructor Documentation

BALL::VIEW::AmberConfigurationDialog::AmberConfigurationDialog ( QWidget parent = NULL,
const char *  name = "AmberConfiguration" 
)

Constructor.

virtual BALL::VIEW::AmberConfigurationDialog::~AmberConfigurationDialog ( )
virtual

Destructor.

Member Function Documentation

void BALL::VIEW::AmberConfigurationDialog::accept ( )
slot
void BALL::VIEW::AmberConfigurationDialog::applyTo ( AmberFF amber)
slot

apply the settings to a given AMBER force field

virtual void BALL::VIEW::AmberConfigurationDialog::browseParameterFiles ( )
protectedvirtualslot
void BALL::VIEW::AmberConfigurationDialog::chooseSolventFile ( )
protected
String BALL::VIEW::AmberConfigurationDialog::getValue_ ( const QCheckBox *  box) const
private
float BALL::VIEW::AmberConfigurationDialog::getValue_ ( const QLineEdit edit) const throw (Exception::InvalidFormat)
private
void BALL::VIEW::AmberConfigurationDialog::periodicBoundaryClicked ( )
slot
void BALL::VIEW::AmberConfigurationDialog::reject ( )
slot
virtual void BALL::VIEW::AmberConfigurationDialog::resetOptions ( )
virtualslot
void BALL::VIEW::AmberConfigurationDialog::setAmberFF ( AmberFF amber)
protected

Friends And Related Function Documentation

friend class MolecularStructure
friend

Definition at line 34 of file amberConfigurationDialog.h.

Member Data Documentation

AmberFF* BALL::VIEW::AmberConfigurationDialog::amber_
private

Definition at line 80 of file amberConfigurationDialog.h.