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 | Private Member Functions | Friends | List of all members
BALL::VIEW::AssignBondOrderConfigurationDialog Class Reference

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

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

Public Slots

virtual void resetOptions ()
 
void accept ()
 
void reject ()
 

Public Member Functions

 AssignBondOrderConfigurationDialog (QWidget *parent=NULL, const char *name="AssignBondOrderConfigurationDialog")
 Constructor. More...
 
virtual ~AssignBondOrderConfigurationDialog ()
 Destructor. More...
 
virtual void initializeWidget (MainControl &main_control)
 
- Public Member Functions inherited from BALL::VIEW::ModularWidget
void setWorkingDirFromFilename_ (String filename)
 
virtual void showHelp (const String &url)
 
 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 String &name, const QObject *receiver=0, const char *slot=0, const String &description="", QKeySequence accel=QKeySequence())
 
void setMenuHint (const String &hint)
 
void setMenuHelp (const String &url)
 
virtual void registerForHelpSystem (const QObject *object, const String &url)
 
virtual void addToolBarEntries (QToolBar *main_tb)
 
void setIcon (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)
  More...
 
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
 
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
 

Protected Slots

virtual void browseParameterFiles_ ()
 
virtual void balanceParameterChanged_ ()
 
virtual void validateBOBoxes_ ()
 
virtual void validateStrategies_ ()
 
virtual void dialogButtonClicked_ (QAbstractButton *button)
 

Private Member Functions

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

Friends

class MolecularStructure
 

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) throw (Exception::NullPointer)
 
- Protected Types inherited from BALL::VIEW::PreferencesEntry
typedef HashMap< const QObject
*, String
ValueMap
 
- Protected Member Functions inherited from BALL::VIEW::ConnectionObject
void onNotify_ (Message *message)
 
void notify_ (Message *message)
 
void notify_ (Message &message)
 
- 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)
 
- 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)
 
- Protected Attributes inherited from BALL::VIEW::ModularWidget
QAction * window_menu_entry_
 
bool show_window_enty_
 
bool default_visible_
 
QAction * last_action_
 
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_
 

Detailed Description

Dialog for changing the options of the assignBondOrderProcessor

Definition at line 35 of file assignBondOrderConfigurationDialog.h.

Constructor & Destructor Documentation

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

Constructor.

virtual BALL::VIEW::AssignBondOrderConfigurationDialog::~AssignBondOrderConfigurationDialog ( )
virtual

Destructor.

Member Function Documentation

void BALL::VIEW::AssignBondOrderConfigurationDialog::accept ( )
slot
virtual void BALL::VIEW::AssignBondOrderConfigurationDialog::balanceParameterChanged_ ( )
protectedvirtualslot
virtual void BALL::VIEW::AssignBondOrderConfigurationDialog::browseParameterFiles_ ( )
protectedvirtualslot
virtual void BALL::VIEW::AssignBondOrderConfigurationDialog::dialogButtonClicked_ ( QAbstractButton *  button)
protectedvirtualslot
String BALL::VIEW::AssignBondOrderConfigurationDialog::getValue_ ( const QCheckBox *  box) const
private
float BALL::VIEW::AssignBondOrderConfigurationDialog::getValue_ ( const QLineEdit edit) const throw (Exception::InvalidFormat)
private
virtual void BALL::VIEW::AssignBondOrderConfigurationDialog::initializeWidget ( MainControl main_control)
virtual

Initialize the widget. This method is called automatically immediately before the main application is started. It should add the widget's menu entries and connections (if required). This method will be called by MainControl::show.

Parameters
main_controlthe MainControl object to be initialized with this ModularWidget
See Also
finalizeWidget()

Reimplemented from BALL::VIEW::ModularWidget.

void BALL::VIEW::AssignBondOrderConfigurationDialog::reject ( )
slot
virtual void BALL::VIEW::AssignBondOrderConfigurationDialog::resetOptions ( )
virtualslot
virtual void BALL::VIEW::AssignBondOrderConfigurationDialog::validateBOBoxes_ ( )
protectedvirtualslot
virtual void BALL::VIEW::AssignBondOrderConfigurationDialog::validateStrategies_ ( )
protectedvirtualslot

Friends And Related Function Documentation

friend class MolecularStructure
friend

Definition at line 41 of file assignBondOrderConfigurationDialog.h.